Greetings,

I attempted 'fink install msttcorefonts' today. To fulfill dependencies i chose to install freetype-hinting-shlibs. During compilation of free-type-hinting-shlibs-1.3.1-8 i came across the following errors:

gcc3 -c -I. -I/sw/src/freetype-hinting-1.3.1-8/freetype-1.3.1/test/arch/unix/../.. -I.. -I/sw/src/freetype-hinting-1.3.1-8/freetype-1.3.1/test/arch/unix/../../ ./lib -I/sw/src/freetype-hinting-1.3.1-8/freetype-1.3.1/test/arch/unix/../../ ./lib/extend -no-cpp-precomp -I/sw/include -I/usr/X11R6/include -no-cpp-precomp -I/sw/include -DX11 -DLOCALEDIR='"/sw/share/locale"' ftdump.c
ftdump.c:172:29: pasting "." and "glyph_object" does not give a valid preprocessing token
ftdump.c:182:31: pasting "." and "first_instance" does not give a valid preprocessing token
ftdump.c:191:32: pasting "." and "second_instance" does not give a valid preprocessing token
ftdump.c:201:62: pasting "." and "face_object" does not give a valid preprocessing token
ftdump.c:202:62: pasting "." and "glyph_object" does not give a valid preprocessing token
ftdump.c:203:62: pasting "." and "second_instance" does not give a valid preprocessing token
ftdump.c:863:33: pasting "." and "initial_overhead" does not give a valid preprocessing token
ftdump.c:882:28: pasting "." and "face_object" does not give a valid preprocessing token
make[1]: *** [ftdump.o] Error 1
make: *** [tttest] Error 2
### execution of make failed, exit code 2
Failed: compiling freetype-hinting-1.3.1-8 failed


Firstly, I find it odd that a package in stable/main does not build.

Looking at test/ftdump.c shows the fix is quite elementary. The FOOTPRINT and PRINT_MEM macros do some unnecessary macro pasting. I have attached a patch. But since I have no idea how to apply this patch to the freetype-hinting package provided by fink, I am still unable to build it using fink.

After reading the fink developer documentation I tried adding "Patch: %n.patch" and "Patch: %f.patch" one line above "PatchScript: ..." (#18) in /sw/fink/dists/stable/main/finkinfo/graphics/freetype-hinting-1.3.1 -6.info, but it does not appear to be changing ftdump.c at all. I really have no idea what I'm doing here, so any pointers are well apperciated.



--Matthew Peltzer




------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to