summaryrefslogtreecommitdiff
path: root/www/elinks/patches/patch-aa
blob: 235515da156b28e0adaa6c8de3e525215dc1c398 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
$NetBSD: patch-aa,v 1.5 2006/10/05 10:57:37 rillig Exp $

--- configure.orig	2006-01-29 14:10:47.000000000 +0100
+++ configure	2006-10-05 12:51:00.000000000 +0200
@@ -2959,7 +2959,7 @@ _ACEOF
 
 
 		echo > config.asciidoc-unsafe.txt
-		if "$ASCIIDOC" --unsafe config.asciidoc-unsafe.txt >&/dev/null; then
+		if "$ASCIIDOC" --unsafe config.asciidoc-unsafe.txt 1>/dev/null 2>&1; then
 			ASCIIDOC_FLAGS=--unsafe
 		fi
 		rm config.asciidoc-unsafe.*
@@ -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);
   ;