diff options
author | agc <agc@pkgsrc.org> | 2003-12-10 18:34:01 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2003-12-10 18:34:01 +0000 |
commit | cb46a8f54945e2544d1fb7c667f86bafd2bd21ee (patch) | |
tree | 1661a170968822de468936e80122a4660e8920a3 /www/galeon | |
parent | b5635054e8f9523efe690c543ac0dff3eea6f262 (diff) | |
download | pkgsrc-cb46a8f54945e2544d1fb7c667f86bafd2bd21ee.tar.gz |
Add patches to allow galeon to compile on NetBSD-1.6ZG.
Diffstat (limited to 'www/galeon')
-rw-r--r-- | www/galeon/distinfo | 5 | ||||
-rw-r--r-- | www/galeon/patches/patch-aa | 12 | ||||
-rw-r--r-- | www/galeon/patches/patch-ab | 13 | ||||
-rw-r--r-- | www/galeon/patches/patch-ac | 28 |
4 files changed, 57 insertions, 1 deletions
diff --git a/www/galeon/distinfo b/www/galeon/distinfo index 0585e9b7b70..0937d9473fb 100644 --- a/www/galeon/distinfo +++ b/www/galeon/distinfo @@ -1,4 +1,7 @@ -$NetBSD: distinfo,v 1.33 2003/11/27 15:03:36 abs Exp $ +$NetBSD: distinfo,v 1.34 2003/12/10 18:34:01 agc Exp $ SHA1 (galeon-1.2.13.tar.gz) = 0282ec0f714b83965fb3b242b9161c76d88fd49e Size (galeon-1.2.13.tar.gz) = 4220496 bytes +SHA1 (patch-aa) = c833d0431ac10507f35b325c109fae35f5d1a454 +SHA1 (patch-ab) = b65428a66edee35968813a64afae9050de5e3271 +SHA1 (patch-ac) = 31d226907d96e56a25e8c7388ef48badc562b788 diff --git a/www/galeon/patches/patch-aa b/www/galeon/patches/patch-aa new file mode 100644 index 00000000000..69f4108a91a --- /dev/null +++ b/www/galeon/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.10 2003/12/10 18:34:01 agc Exp $ + +--- configure.in 2003/12/10 18:13:14 1.1 ++++ configure.in 2003/12/10 18:13:26 +@@ -486,6 +486,7 @@ + AC_CHECK_LIB(gtksuperwin, gdk_superwin_get_type, [_mozilla_gtk_super_win_libs="-lgtksuperwin"],[],[$_PTHREAD_LDFLAGS]) + + dnl gtk moz embed library ++CC="$CXX" + LDFLAGS="$_save_ldflags -L$_mozilla_lib_place $_mozilla_all_nspr_flags -lgtkembedmoz $_mozilla_xpcom_libs $_mozilla_gtk_super_win_libs" + AC_CHECK_LIB(gtkembedmoz, gtk_moz_embed_get_type, [_mozilla_gtk_moz_embed_libs="-lgtkembedmoz"]) + diff --git a/www/galeon/patches/patch-ab b/www/galeon/patches/patch-ab new file mode 100644 index 00000000000..d172769c72a --- /dev/null +++ b/www/galeon/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.8 2003/12/10 18:34:01 agc Exp $ + +--- configure 2003/12/10 18:13:09 1.1 ++++ configure 2003/12/10 18:13:20 +@@ -12449,6 +12449,8 @@ + fi + + ++CC="$CXX" ++ + LDFLAGS="$_save_ldflags -L$_mozilla_lib_place $_mozilla_all_nspr_flags -lgtkembedmoz $_mozilla_xpcom_libs $_mozilla_gtk_super_win_libs" + echo "$as_me:$LINENO: checking for gtk_moz_embed_get_type in -lgtkembedmoz" >&5 + echo $ECHO_N "checking for gtk_moz_embed_get_type in -lgtkembedmoz... $ECHO_C" >&6 diff --git a/www/galeon/patches/patch-ac b/www/galeon/patches/patch-ac new file mode 100644 index 00000000000..73c511f6e01 --- /dev/null +++ b/www/galeon/patches/patch-ac @@ -0,0 +1,28 @@ +$NetBSD: patch-ac,v 1.4 2003/12/10 18:34:01 agc Exp $ + +--- intl/dcigettext.c 2003/12/10 18:18:51 1.1 ++++ intl/dcigettext.c 2003/12/10 18:23:22 +@@ -974,18 +974,18 @@ + size_t translation_len; + { + struct loaded_domain *domaindata = (struct loaded_domain *) domain->data; +- unsigned long int index; ++ unsigned long int ind; + const char *p; + +- index = plural_eval (domaindata->plural, n); +- if (index >= domaindata->nplurals) ++ ind = plural_eval (domaindata->plural, n); ++ if (ind >= domaindata->nplurals) + /* This should never happen. It means the plural expression and the + given maximum value do not match. */ +- index = 0; ++ ind = 0; + + /* Skip INDEX strings at TRANSLATION. */ + p = translation; +- while (index-- > 0) ++ while (ind-- > 0) + { + #ifdef _LIBC + p = __rawmemchr (p, '\0'); |