Ken Bloom wrote:
[]
>     So in fact (after writing earlier) I did try going in by hand to 
> modify what I thought was the offending line of code in the 
> FTTextureGlyph.h file, which I found deep in the fink.build area.  But 
> then I tried "fink install" after that, and I believe that my change got 
> overwritten and I was back to the original, which of course didn't 
> build.  Is there a straightforward way for me to get around that?  

You are right that your change got overwritten. What you have to do is 
to modify the Fink package description, that is the file
/sw/fink/dists/unstable/main/finkinfo/libs/libftgl1.info,
so that fink executes the change that you did by hand. If you manage to 
do this, then the problem will be fixed for everybody, not just for you.

To test the modification, you would copy that file, plus the 
corresponding *.patch file, into /sw/fink/dists/local/main/finkinfo/ and 
then edit the *.info file by adding a PatchScript or by modifying the 
*.patch file. This is not difficult, but if you have never done it, it 
is probably better to leave it to the package maintainer. You can help 
him by describing the change you made, for example by sending him a 
patch such as the following:

$ diff -U1 FTGL/include/FTTextureGlyph.h{~,}
--- FTGL/include/FTTextureGlyph.h~      2004-10-17 02:40:13.000000000 +0200
+++ FTGL/include/FTTextureGlyph.h       2009-09-03 19:20:52.000000000 +0200
@@ -54,3 +54,3 @@
           */
-        static void FTTextureGlyph::ResetActiveTexture(){ 
activeTextureID = 0;}
+        static void ResetActiveTexture(){ activeTextureID = 0;}

-- 
Martin




------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to