[140264] trunk/dports/math/gnuplot
mojca at macports.org
mojca at macports.org
Tue Sep 15 10:02:13 PDT 2015
Revision: 140264
https://trac.macports.org/changeset/140264
Author: mojca at macports.org
Date: 2015-09-15 10:02:13 -0700 (Tue, 15 Sep 2015)
Log Message:
-----------
gnuplot: fixes to make it compatible with lua 5.3 (#48826)
Modified Paths:
--------------
trunk/dports/math/gnuplot/Portfile
Added Paths:
-----------
trunk/dports/math/gnuplot/files/patch-term-lua.trm.diff
Modified: trunk/dports/math/gnuplot/Portfile
===================================================================
--- trunk/dports/math/gnuplot/Portfile 2015-09-15 16:58:39 UTC (rev 140263)
+++ trunk/dports/math/gnuplot/Portfile 2015-09-15 17:02:13 UTC (rev 140264)
@@ -8,7 +8,7 @@
name gnuplot
version 5.0.1
-revision 1
+revision 2
categories math science
# the license has some inconvenient requirements that we're not meeting
# to be allowed to distribute binaries
@@ -51,7 +51,8 @@
minimum_xcodeversions \
{9 3.1}
-patchfiles patch-configure.diff
+patchfiles patch-configure.diff \
+ patch-term-lua.trm.diff
configure.args --with-caca=${prefix} \
--with-gd=${prefix} \
Added: trunk/dports/math/gnuplot/files/patch-term-lua.trm.diff
===================================================================
--- trunk/dports/math/gnuplot/files/patch-term-lua.trm.diff (rev 0)
+++ trunk/dports/math/gnuplot/files/patch-term-lua.trm.diff 2015-09-15 17:02:13 UTC (rev 140264)
@@ -0,0 +1,20 @@
+--- term/lua.trm.orig
++++ term/lua.trm
+@@ -251,7 +251,7 @@ LUA_GP_int_error(lua_State *L) {
+ msg = luaL_checkstring(L, 1);
+ break;
+ case 2:
+- t_num = luaL_checkint(L, 1);
++ t_num = luaL_checkinteger(L, 1);
+ msg = luaL_checkstring(L, 2);
+ break;
+ default:
+@@ -285,7 +285,7 @@ LUA_GP_int_warn(lua_State *L) {
+ msg = luaL_checkstring(L, 1);
+ break;
+ case 2:
+- t_num = luaL_checkint(L, 1);
++ t_num = luaL_checkinteger(L, 1);
+ msg = luaL_checkstring(L, 2);
+ break;
+ default:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150915/4a20b2f6/attachment.html>
More information about the macports-changes
mailing list