OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Peter Smej Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 14-Jan-2003 15:05:37 Branch: HEAD Handle: 2003011414053700 Modified files: openpkg-src/gd1 gd1.spec Log: Appending correction for FreeBSD 5.0I malloc.h is replaced by stdlib.h Summary: Revision Changes Path 1.12 +6 -4 openpkg-src/gd1/gd1.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/gd1/gd1.spec ============================================================================ $ cvs diff -u -r1.11 -r1.12 gd1.spec --- openpkg-src/gd1/gd1.spec 14 Jan 2003 13:39:39 -0000 1.11 +++ openpkg-src/gd1/gd1.spec 14 Jan 2003 14:05:37 -0000 1.12 @@ -66,11 +66,13 @@ %{l_shtool} subst \ -e 's;^\(#define DEFAULT_FONTPATH\).*$;\1 "%{l_prefix}/share/fonts/truetype";' \ gd.h - %{l_shtool} subst \ - -e "s;<malloc.h>;<stdlib.h>;" \ - *.[ch] - + case "%{l_target}" in + *-freebsd5*) %{l_shtool} subst \ + -e 's;^#include <malloc.h>*$;#include <stdlib.h>;' \ + gdcache.h;; + esac %build + %{l_make} %{l_mflags} \ COMPILER="%{l_cc}" \ CFLAGS="%{l_cflags -O} -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE" \ @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]