
No prob, it's common to have regressions like this when porting, no big deal. This is why we commit such patches right *after* a major release instead of right before it. ;-)
Actually the _correct_ solution to this problem is to use autoconf. One day we will know how, and can take care of it then.
Bryce
On Wed, 12 Nov 2003, T Ingham wrote:
A fresh checkout shows that your change works just as well under OSX / Fink libs. I do want to note however the unistd.h include was a referral from RangerRick at #fink. He said that was the "standard"
feh.
-thomas
On Nov 12, 2003, at 2:36 AM, Bryce Harrington wrote:
I got this error when trying to build the code this evening. I fixed it by putting an include for stdlib.h in arikkei-token.c.
arikkei-token.c: In function `gchar* arikkei_token_strdup(const ArikkeiToken*)': arikkei-token.c:83: `malloc' undeclared (first use this function) arikkei-token.c:83: (Each undeclared identifier is reported only once for each function it appears in.) make[3]: *** [arikkei-token.o] Error 1 make[3]: Leaving directory `/home/bryce/src/Inkscape/inkscape-integration/src/libarikkei' make[2]: *** [all-recursive] Error 1
$ cvs log src/libarikkei/arikkei-token.c
RCS file: /cvsroot/inkscape/inkscape/src/libarikkei/arikkei-token.c,v Working file: src/libarikkei/arikkei-token.c
revision 1.3 date: 2003/11/11 20:03:20; author: magnethead; state: Exp; lines: +1 -2 Patches to make compile on OSX/Darwin. malloc.h replace with unistd.h and Wl in src/Makefile.am removed at --export-dynamic
Looks like this was introduced due to the OSX/Darwin patch. Hopefully my fix doesn't break that.
Bryce