Update to 0.11.4; many bugfixes and a few enhancements.
Mostly from Frank Denis on ports@, thanks!
This commit is contained in:
parent
9d3685b5ba
commit
cd54a310f2
@ -1,8 +1,7 @@
|
||||
# $OpenBSD: Makefile,v 1.9 2007/09/15 20:38:21 merdely Exp $
|
||||
# $OpenBSD: Makefile,v 1.10 2008/08/21 01:12:35 sthen Exp $
|
||||
|
||||
COMMENT= full-featured text WWW browser
|
||||
DISTNAME= elinks-0.11.2
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
DISTNAME= elinks-0.11.4
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://elinks.cz/download/
|
||||
|
||||
@ -17,13 +16,15 @@ PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ENV+= CFLAGS=-I${LOCALBASE}/include \
|
||||
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
||||
LDFLAGS=-L${LOCALBASE}/lib
|
||||
CONFIGURE_ARGS+= --with-bzlib \
|
||||
--without-spidermonkey \
|
||||
--disable-xbel \
|
||||
--enable-gopher \
|
||||
--with-libiconv=${LOCALBASE}
|
||||
# don't hide compiler command lines
|
||||
MAKE_ENV= V=true
|
||||
LIB_DEPENDS+= bz2::archivers/bzip2 \
|
||||
idn::devel/libidn
|
||||
USE_GMAKE= Yes
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (elinks-0.11.2.tar.bz2) = Wo+Dr7Unz0Q/WLNyE2qB/A==
|
||||
RMD160 (elinks-0.11.2.tar.bz2) = qdk4z9+nG+KCt1luH+1Xl/Lv1qU=
|
||||
SHA1 (elinks-0.11.2.tar.bz2) = R2acOOHl67NQFampqPnImIIb1Ag=
|
||||
SHA256 (elinks-0.11.2.tar.bz2) = kayJRxXvzeeFSN/kcDrnAvCPtKlBhyiOuborMCWNVYU=
|
||||
SIZE (elinks-0.11.2.tar.bz2) = 2497270
|
||||
MD5 (elinks-0.11.4.tar.gz) = vElctcu1B3yhZxO+4G2vfw==
|
||||
RMD160 (elinks-0.11.4.tar.gz) = n874h4k+s2xnHEQQGg/N2RKJ8EA=
|
||||
SHA1 (elinks-0.11.4.tar.gz) = /EyZPRaFkD3mXpqnbm0ITrHUUi8=
|
||||
SHA256 (elinks-0.11.4.tar.gz) = rp5U0x8y8R60kIHd7PbiTaLWvJyoDyfId+4bLoGHa7A=
|
||||
SIZE (elinks-0.11.4.tar.gz) = 3763054
|
||||
|
@ -1,31 +1,16 @@
|
||||
$OpenBSD: patch-configure,v 1.2 2006/10/21 17:56:48 jasper Exp $
|
||||
--- configure.orig Sun Jan 29 08:10:47 2006
|
||||
+++ configure Thu Oct 19 12:52:57 2006
|
||||
@@ -17103,7 +17103,7 @@ if test -z "$disable_lua"; then
|
||||
$OpenBSD: patch-configure,v 1.3 2008/08/21 01:12:35 sthen Exp $
|
||||
--- configure.orig Fri Jun 20 21:20:03 2008
|
||||
+++ configure Sat Aug 2 21:57:51 2008
|
||||
@@ -17623,7 +17623,7 @@ if test -z "$disable_lua"; then
|
||||
for luadir in "$withval" "" /usr /usr/local; do
|
||||
for suffix in "" 50 51; do
|
||||
for suffix in "" 50; 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);
|
||||
;
|
||||
@@ -22892,10 +22892,6 @@ ALL_CFLAGS="$CFLAGS $CPPFLAGS"
|
||||
@@ -23672,10 +23672,6 @@ ALL_CFLAGS="$CFLAGS $CPPFLAGS"
|
||||
|
||||
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-src_scripting_lua_core_c,v 1.1 2006/10/21 17:56:48 jasper Exp $
|
||||
--- src/scripting/lua/core.c.orig Sun Jan 29 08:10:39 2006
|
||||
+++ src/scripting/lua/core.c Thu Oct 19 14:10:34 2006
|
||||
@@ -633,7 +633,7 @@ do_hooks_file(LS, unsigned char *prefix,
|
||||
$OpenBSD: patch-src_scripting_lua_core_c,v 1.2 2008/08/21 01:12:35 sthen Exp $
|
||||
--- src/scripting/lua/core.c.orig Fri Jun 20 21:19:55 2008
|
||||
+++ src/scripting/lua/core.c Sat Aug 2 21:57:51 2008
|
||||
@@ -641,7 +641,7 @@ do_hooks_file(LS, unsigned char *prefix, unsigned char
|
||||
if (file_can_read(file)) {
|
||||
int oldtop = lua_gettop(S);
|
||||
|
||||
@ -10,7 +10,7 @@ $OpenBSD: patch-src_scripting_lua_core_c,v 1.1 2006/10/21 17:56:48 jasper Exp $
|
||||
sleep(3); /* Let some time to see error messages. */
|
||||
lua_settop(S, oldtop);
|
||||
}
|
||||
@@ -644,13 +644,24 @@ do_hooks_file(LS, unsigned char *prefix,
|
||||
@@ -652,13 +652,24 @@ do_hooks_file(LS, unsigned char *prefix, unsigned char
|
||||
void
|
||||
init_lua(struct module *module)
|
||||
{
|
||||
@ -40,7 +40,7 @@ $OpenBSD: patch-src_scripting_lua_core_c,v 1.1 2006/10/21 17:56:48 jasper Exp $
|
||||
|
||||
lua_register(L, LUA_ALERT, l_alert);
|
||||
lua_register(L, "current_url", l_current_url);
|
||||
@@ -755,7 +766,7 @@ handle_ret_eval(struct session *ses)
|
||||
@@ -763,7 +774,7 @@ handle_ret_eval(struct session *ses)
|
||||
int oldtop = lua_gettop(L);
|
||||
|
||||
if (prepare_lua(ses) == 0) {
|
||||
|
@ -1,5 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.2 2006/01/29 15:41:00 sturm Exp $
|
||||
bin/elinks
|
||||
@comment $OpenBSD: PLIST,v 1.3 2008/08/21 01:12:35 sthen Exp $
|
||||
@bin bin/elinks
|
||||
@comment lib/charset.alias
|
||||
@man man/man1/elinks.1
|
||||
@man man/man5/elinks.conf.5
|
||||
|
Loading…
Reference in New Issue
Block a user