aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 -