Sat, 18 Jul 2009 14:08:34 +0200
Adjust buildconf until Nokia corrects flawed GNU iconv integration.
The problem corrected by this adjustment involves font glyphs appearing
as normal font sized empty squares. All text is illegible.
michael@13 | 1 | Index: glob/glob.c |
michael@13 | 2 | --- glob/glob.c.orig 2006-03-10 03:20:45 +0100 |
michael@13 | 3 | +++ glob/glob.c 2006-04-01 19:09:18 +0200 |
michael@13 | 4 | @@ -216,13 +216,13 @@ |
michael@13 | 5 | # ifdef HAVE_ALLOCA_H |
michael@13 | 6 | # include <alloca.h> |
michael@13 | 7 | # else /* Not HAVE_ALLOCA_H. */ |
michael@13 | 8 | -# ifndef _AIX |
michael@13 | 9 | +# if !defined (_AIX) && !defined (__FreeBSD__) |
michael@13 | 10 | # ifdef WINDOWS32 |
michael@13 | 11 | # include <malloc.h> |
michael@13 | 12 | # else |
michael@13 | 13 | extern char *alloca (); |
michael@13 | 14 | # endif /* WINDOWS32 */ |
michael@13 | 15 | -# endif /* Not _AIX. */ |
michael@13 | 16 | +# endif /* Not _AIX && not __FreeBSD__. */ |
michael@13 | 17 | # endif /* sparc or HAVE_ALLOCA_H. */ |
michael@13 | 18 | # endif /* GCC. */ |
michael@13 | 19 | |
michael@13 | 20 | Index: make.h |
michael@13 | 21 | --- make.h.orig 2006-02-16 00:54:43 +0100 |
michael@13 | 22 | +++ make.h 2006-04-01 19:09:18 +0200 |
michael@13 | 23 | @@ -31,7 +31,7 @@ |
michael@13 | 24 | # ifdef _AIX |
michael@13 | 25 | #pragma alloca |
michael@13 | 26 | # else |
michael@13 | 27 | -# ifndef alloca /* predefined by HP cc +Olibcalls */ |
michael@13 | 28 | +# if !defined (alloca) && !defined (__FreeBSD__) /* predefined by HP cc +Olibcalls, part of stdlib.h on FreeBSD */ |
michael@13 | 29 | char *alloca (); |
michael@13 | 30 | # endif |
michael@13 | 31 | # endif |