summaryrefslogtreecommitdiff
path: root/www/elinks/patches
diff options
context:
space:
mode:
Diffstat (limited to 'www/elinks/patches')
-rw-r--r--www/elinks/patches/patch-aa10
-rw-r--r--www/elinks/patches/patch-ab10
-rw-r--r--www/elinks/patches/patch-af23
-rw-r--r--www/elinks/patches/patch-ag15
4 files changed, 48 insertions, 10 deletions
diff --git a/www/elinks/patches/patch-aa b/www/elinks/patches/patch-aa
index 25d41040311..62967b8f038 100644
--- a/www/elinks/patches/patch-aa
+++ b/www/elinks/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.7 2007/08/09 13:03:21 joerg Exp $
+$NetBSD: patch-aa,v 1.8 2008/01/09 03:48:07 bjs Exp $
---- configure.orig 2007-04-15 16:51:12.000000000 -0400
+--- configure.orig 2008-01-08 18:35:23.000000000 -0500
+++ configure
@@ -907,7 +907,7 @@ Optional Packages:
--without-openssl disable OpenSSL support
@@ -20,7 +20,7 @@ $NetBSD: patch-aa,v 1.7 2007/08/09 13:03:21 joerg Exp $
ASCIIDOC_FLAGS=--unsafe
fi
rm config.asciidoc-unsafe.*
-@@ -17564,7 +17564,7 @@ if test -z "$disable_lua"; then
+@@ -17624,7 +17624,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
@@ -29,7 +29,7 @@ $NetBSD: patch-aa,v 1.7 2007/08/09 13:03:21 joerg Exp $
if test ! -z "$luadir"; then
LUA_LIBS="-L$luadir/lib $LUA_LIBS"
-@@ -20479,9 +20479,9 @@ done
+@@ -20603,9 +20603,9 @@ done
@@ -41,7 +41,7 @@ $NetBSD: patch-aa,v 1.7 2007/08/09 13:03:21 joerg Exp $
for dir in `echo "$withval" | tr : ' '`; do
if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
-@@ -23231,7 +23231,7 @@ _ACEOF
+@@ -23355,7 +23355,7 @@ _ACEOF
# Create LIBDIR #define for config.h
diff --git a/www/elinks/patches/patch-ab b/www/elinks/patches/patch-ab
index 3b8cd3cace4..f40634ce4fc 100644
--- a/www/elinks/patches/patch-ab
+++ b/www/elinks/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.5 2006/09/06 15:14:34 abs Exp $
+$NetBSD: patch-ab,v 1.6 2008/01/09 03:48:07 bjs Exp $
---- src/scripting/lua/core.c.orig 2006-01-29 13:10:39.000000000 +0000
+--- src/scripting/lua/core.c.orig 2008-01-08 18:35:08.000000000 -0500
+++ src/scripting/lua/core.c
-@@ -633,7 +633,7 @@ do_hooks_file(LS, unsigned char *prefix,
+@@ -641,7 +641,7 @@ do_hooks_file(LS, unsigned char *prefix,
if (file_can_read(file)) {
int oldtop = lua_gettop(S);
@@ -11,7 +11,7 @@ $NetBSD: patch-ab,v 1.5 2006/09/06 15:14:34 abs 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,
void
init_lua(struct module *module)
{
@@ -43,7 +43,7 @@ $NetBSD: patch-ab,v 1.5 2006/09/06 15:14:34 abs 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) {
diff --git a/www/elinks/patches/patch-af b/www/elinks/patches/patch-af
new file mode 100644
index 00000000000..59523ea31bb
--- /dev/null
+++ b/www/elinks/patches/patch-af
@@ -0,0 +1,23 @@
+$NetBSD: patch-af,v 1.1 2008/01/09 03:48:08 bjs Exp $
+
+Turn off transparency by default--those who need it can turn it on,
+and it doesn't make sense for non-xterm use.
+
+--- src/config/options.inc.orig 2008-01-08 18:35:08.000000000 -0500
++++ src/config/options.inc
+@@ -826,11 +826,13 @@ static struct option_info config_options
+ "2 is 256 color mode, uses XTerm RGB codes")),
+
+ INIT_OPT_BOOL("terminal._template_", N_("Transparency"),
+- "transparency", 0, 1,
++ "transparency", 0, 0,
+ N_("If we should not set the background to black. This is particularly\n"
+ "useful when we have a terminal (typically in some windowing\n"
+ "environment) with a background image or a transparent background -\n"
+- "it will be visible in ELinks as well. Note that this option makes\n"
++ "it will be visible in ELinks as well (but ELinks document color handling\n"
++ "will still assume the background is black so if you have a bright background\n"
++ "you might experience contrast problems. Note that this option makes\n"
+ "sense only when colors are enabled.")),
+
+ INIT_OPT_BOOL("terminal._template_", N_("Underline"),
diff --git a/www/elinks/patches/patch-ag b/www/elinks/patches/patch-ag
new file mode 100644
index 00000000000..1787ff3deab
--- /dev/null
+++ b/www/elinks/patches/patch-ag
@@ -0,0 +1,15 @@
+$NetBSD: patch-ag,v 1.1 2008/01/09 03:48:08 bjs Exp $
+
+Don't look for message catalogs in ../po/.
+
+--- src/intl/gettext/loadmsgcat.c.orig 2008-01-08 18:35:08.000000000 -0500
++++ src/intl/gettext/loadmsgcat.c
+@@ -259,7 +259,7 @@ _nl_load_domain(struct loaded_l10nfile *
+ {
+ struct string filename;
+
+- if (init_string(&filename)
++ if (init_string(&filename) && 0
+ && add_filename_to_string(&filename, domain_file)) {
+ fd = open(filename.source, O_RDONLY | O_BINARY);
+ }