summaryrefslogtreecommitdiff
path: root/gnuplot-5.0.0-lua_checkint.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-08-06 12:21:54 +0000
committerCoprDistGit <infra@openeuler.org>2025-08-06 12:21:54 +0000
commit7ce9374948d79011224a28523a428ad4e6874c91 (patch)
tree5a017e3558108b1a78b3803fc6afa333978bd7d7 /gnuplot-5.0.0-lua_checkint.patch
parent495c6a9d7a708b98fe40a23f4c39d1abe6904c99 (diff)
automatic import of gnuplotopeneuler25.03
Diffstat (limited to 'gnuplot-5.0.0-lua_checkint.patch')
-rw-r--r--gnuplot-5.0.0-lua_checkint.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnuplot-5.0.0-lua_checkint.patch b/gnuplot-5.0.0-lua_checkint.patch
new file mode 100644
index 0000000..d5d69a9
--- /dev/null
+++ b/gnuplot-5.0.0-lua_checkint.patch
@@ -0,0 +1,13 @@
+diff -up wrk/term/lua.trm.wrk wrk/term/lua.trm
+--- wrk/term/lua.trm.wrk 2015-01-26 18:36:53.242174908 +0100
++++ wrk/term/lua.trm 2015-01-26 18:38:44.674258427 +0100
+@@ -114,6 +114,9 @@ TERM_PUBLIC void LUA_boxed_text __PROTO(
+ #include <lualib.h>
+ #include <lauxlib.h>
+
++//luaL_checkint macro disappeared
++#define luaL_checkint(L,n) ((int)luaL_checkinteger(L, (n)))
++
+ static lua_State *L = NULL;
+
+ static char *LUA_script = NULL;