On Mar 4, 2004, at 1:13 AM, Martin Costabel wrote:


GoochRules! wrote:

yup, I did, mine (which I just got from CVS) says:
Version: 1.3.1
Revision: 7

Well, you must live in a parallel universe.

alright... I can live with that.


In mine (and the one your fink is living in, as it appears), there was never ever a file "freetype-hinting.info" with a Version-Revision of 1.3.1-7.

I installed the dev tools freshly from the 20-some-part 600 MB XCode 1.1 download. I believe at the time there was an option to include/exclude gcc3.1/2.x. Its certainly not home grown.

While there is an option to exclude gcc2 which is in its own gcc2.95.2.pkg, the /usr/bin/gcc3 executable is installed together with gcc-3.3 from DeveloperTools.pkg. There is just no way that you can have a "gcc3" executable that runs gcc-3.3 - which you have, according to what you were reporting here - with the standard Panther developer tools installation. Hence "homegrown". It would be interesting to see your output of "where gcc3", or "type -a gcc3" if you are running bash, and of "ls -l /usr/bin/*cc*".

>where gcc3 -bash: where: command not found

>which gcc3
/usr/bin/gcc3

>type -a gcc3
gcc3 is /usr/bin/gcc3

> ls -l /usr/bin/*cc
lrwxr-xr-x  1 root  wheel      7 24 Jan 15:09 /usr/bin/cc -> gcc-3.3
-rwxr-xr-x  1 root  wheel  69992  9 Dec 21:55 /usr/bin/distcc
lrwxr-xr-x  1 root  wheel      7 24 Jan 15:09 /usr/bin/gcc -> gcc-3.3
-rwxr-xr-x  1 root  wheel  17851 12 Sep 21:06 /usr/bin/perlcc
-r-xr-xr-x  1 root  wheel  84764 24 Sep 00:42 /usr/bin/yacc

I've since coppied my patch to /sw/fink/dists/stable/main/finkinfo/graphics/freetype-hinting.patch. In freetype-hinting.info I've added 'Patch: %n.patch' Now, 'fink install-hinting-shlibs' complains with:
patch -p1 </sw/fink/dists/unstable/main/finkinfo/graphics/freetype- hinting.patch
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?

This is indeed the case. In agreement with the "-p1" flag to patch, you need to have *one* removable directory level in front of your file names,


not

--- /sw/src/freetype-hinting-1.3.1-8/freetype-1.3.1/test/ftdump.c Sat Sep 4 01:11:29 1999
+++ ftdump.c Wed Mar 3 11:49:30 2004


but

--- freetype-1.3.1.old/test/ftdump.c       Sat Sep  4 01:11:29 1999
+++ freetype-1.3.1/test/ftdump.c    Wed Mar  3 11:49:30 2004

have a look at other package descriptions and patch files how they are doing this.

ok.





------------------------------------------------------- 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