summaryrefslogtreecommitdiff
path: root/www/elinks/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'www/elinks/patches/patch-aa')
-rw-r--r--www/elinks/patches/patch-aa28
1 files changed, 28 insertions, 0 deletions
diff --git a/www/elinks/patches/patch-aa b/www/elinks/patches/patch-aa
new file mode 100644
index 00000000000..9fa299d9681
--- /dev/null
+++ b/www/elinks/patches/patch-aa
@@ -0,0 +1,28 @@
+$NetBSD: patch-aa,v 1.4 2006/08/14 22:38:24 wiz Exp $
+
+--- configure.orig 2006-01-29 13:10:47.000000000 +0000
++++ configure
+@@ -17103,7 +17103,7 @@ if test -z "$disable_lua"; then
+ for luadir in "$withval" "" /usr /usr/local; do
+ for suffix in "" 50 51; do
+ if test "$cf_result" = no; then
+- LUA_LIBS="-llua$suffix -llualib$suffix -lm"
++ LUA_LIBS="-llua$suffix -lm"
+
+ if test ! -z "$luadir"; then
+ LUA_LIBS="-L$luadir/lib $LUA_LIBS"
+@@ -17127,10 +17127,10 @@ int
+ main ()
+ {
+ lua_State *L = lua_open();
+- lua_baselibopen(L);
+- lua_mathlibopen(L);
+- lua_strlibopen(L);
+- lua_tablibopen(L);
++ luaopen_base(L);
++ luaopen_math(L);
++ luaopen_string(L);
++ luaopen_table(L);
+ lua_pushboolean(L, 1);
+ lua_close(L);
+ ;