aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--math/gnuplot/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/gnuplot/Makefile b/math/gnuplot/Makefile
index 073b9a373c7d..e78c67fd3716 100644
--- a/math/gnuplot/Makefile
+++ b/math/gnuplot/Makefile
@@ -78,6 +78,8 @@ post-patch:
'/^install:/s/install-am//' ${WRKSRC}/share/LaTeX/Makefile.in
@${REINPLACE_CMD} -e \
's|)/@PACKAGE@/@PKG_MAJOR@|)|g' ${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e \
+ 's|luaL_checkint(|(int)luaL_checkinteger(|' ${WRKSRC}/term/lua.trm
.if ${PORT_OPTIONS:MDOCS}
post-build: