diff options
author | rillig <rillig@pkgsrc.org> | 2005-04-05 20:47:39 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-04-05 20:47:39 +0000 |
commit | 4eb5bfa420a89116ffdf6c16994766c03b1bb6ed (patch) | |
tree | 86ae7be4df2b83e877d44695c864b22bf1b2b5d5 /www | |
parent | b002c33d279bed49fafa093f9a66bf66790e73be (diff) | |
download | pkgsrc-4eb5bfa420a89116ffdf6c16994766c03b1bb6ed.tar.gz |
Added a patch needed for gcc-2.95. Approved by wiz.
Diffstat (limited to 'www')
-rw-r--r-- | www/gtkhtml36/distinfo | 3 | ||||
-rw-r--r-- | www/gtkhtml36/patches/patch-ac | 20 |
2 files changed, 22 insertions, 1 deletions
diff --git a/www/gtkhtml36/distinfo b/www/gtkhtml36/distinfo index c82ea6e2b44..0189e7d3595 100644 --- a/www/gtkhtml36/distinfo +++ b/www/gtkhtml36/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.2 2005/03/26 16:19:22 jmmv Exp $ +$NetBSD: distinfo,v 1.3 2005/04/05 20:47:39 rillig Exp $ SHA1 (gtkhtml-3.6.1.tar.bz2) = f152fa71a734e11a3bf2fc81009bf12a8b6ed117 RMD160 (gtkhtml-3.6.1.tar.bz2) = 49b95c382193d4ff8763ec0b3c32d90731caf899 Size (gtkhtml-3.6.1.tar.bz2) = 1356878 bytes SHA1 (patch-aa) = ada12e6ddc5519c49742d652cd2643b3a7cc1983 SHA1 (patch-ab) = c673e7bcfc749f8ee6fe19d2ccaeb3da6f64b636 +SHA1 (patch-ac) = d2e992dd6b10e61567cd27b212fa4e6d24e91cc1 diff --git a/www/gtkhtml36/patches/patch-ac b/www/gtkhtml36/patches/patch-ac new file mode 100644 index 00000000000..f184b2d1ee5 --- /dev/null +++ b/www/gtkhtml36/patches/patch-ac @@ -0,0 +1,20 @@ +$NetBSD: patch-ac,v 1.1 2005/04/05 20:47:39 rillig Exp $ + +Needed for gcc-2.95. + +--- src/htmltext.c.orig Mon Mar 14 21:33:37 2005 ++++ src/htmltext.c Mon Apr 4 00:37:14 2005 +@@ -2667,10 +2667,12 @@ offset_to_pointer_validated (const gchar + gsize + html_text_sanitize (const gchar **str, gint *len) + { ++ gchar *end; ++ + g_return_val_if_fail (str != NULL, 0); + g_return_val_if_fail (len != NULL, 0); + +- gchar *end = offset_to_pointer_validated (*str, *len, len); ++ end = offset_to_pointer_validated (*str, *len, len); + if (end) { + return end - *str; + } else { |