diff options
author | perky <perky@FreeBSD.org> | 2006-02-01 15:54:19 +0800 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2006-02-01 15:54:19 +0800 |
commit | 27590a463f858aaf88f1f05aabc87235defc48da (patch) | |
tree | 837026aa38c638878d6f72abea403cf0bfbe3fbb /lang | |
parent | ed851d97449d4fa53a04e3ef8f6c5b91f5e5150c (diff) | |
download | freebsd-ports-gnome-27590a463f858aaf88f1f05aabc87235defc48da.tar.gz freebsd-ports-gnome-27590a463f858aaf88f1f05aabc87235defc48da.tar.zst freebsd-ports-gnome-27590a463f858aaf88f1f05aabc87235defc48da.zip |
Fix build on 7-current. This adds a hack to avoid malloc problems but
the hack has no effect to the final binaries.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/spl/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/spl/Makefile b/lang/spl/Makefile index 5f532df2002a..ca0d60b4be9e 100644 --- a/lang/spl/Makefile +++ b/lang/spl/Makefile @@ -26,6 +26,8 @@ post-patch: ${REINPLACE_CMD} -e 's,= gcc,?= gcc,' -e 's,^CCFLAGS.*,CFLAGS += -Wall,' \ -e 's,CCFLAGS,CFLAGS,g' ${WRKSRC}/${f}/Makefile .endfor + ${REINPLACE_CMD} -e 's,\(#define STRING_LENGTH\).*,\1 25600,g' \ + -e 's,free(,//free(,g' ${WRKSRC}/makescanner.c do-install: ${TAR} -C ${WRKSRC}/spl -cf - . | ${TAR} -C ${PREFIX} -xf - |