aboutsummaryrefslogtreecommitdiffstats
path: root/lang/spl
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2006-02-01 15:54:19 +0800
committerperky <perky@FreeBSD.org>2006-02-01 15:54:19 +0800
commit27590a463f858aaf88f1f05aabc87235defc48da (patch)
tree837026aa38c638878d6f72abea403cf0bfbe3fbb /lang/spl
parented851d97449d4fa53a04e3ef8f6c5b91f5e5150c (diff)
downloadfreebsd-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/spl')
-rw-r--r--lang/spl/Makefile2
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 -