pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/galeon Add patches to allow galeon to compile on N...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b8554fa3eacb
branches:  trunk
changeset: 464478:b8554fa3eacb
user:      agc <agc%pkgsrc.org@localhost>
date:      Wed Dec 10 18:34:01 2003 +0000

description:
Add patches to allow galeon to compile on NetBSD-1.6ZG.

diffstat:

 www/galeon/distinfo         |   5 ++++-
 www/galeon/patches/patch-aa |  12 ++++++++++++
 www/galeon/patches/patch-ab |  13 +++++++++++++
 www/galeon/patches/patch-ac |  28 ++++++++++++++++++++++++++++
 4 files changed, 57 insertions(+), 1 deletions(-)

diffs (77 lines):

diff -r 3fd4c8c65255 -r b8554fa3eacb www/galeon/distinfo
--- a/www/galeon/distinfo       Wed Dec 10 18:22:45 2003 +0000
+++ b/www/galeon/distinfo       Wed Dec 10 18:34:01 2003 +0000
@@ -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 -r 3fd4c8c65255 -r b8554fa3eacb www/galeon/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/galeon/patches/patch-aa       Wed Dec 10 18:34:01 2003 +0000
@@ -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 -r 3fd4c8c65255 -r b8554fa3eacb www/galeon/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/galeon/patches/patch-ab       Wed Dec 10 18:34:01 2003 +0000
@@ -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 -r 3fd4c8c65255 -r b8554fa3eacb www/galeon/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/galeon/patches/patch-ac       Wed Dec 10 18:34:01 2003 +0000
@@ -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');



Home | Main Index | Thread Index | Old Index