summaryrefslogtreecommitdiff
path: root/www/netsurf
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2017-01-14 23:33:34 +0000
committerleot <leot@pkgsrc.org>2017-01-14 23:33:34 +0000
commitb63497f0a6442a6b34e24ff1bf3453c89ef84125 (patch)
tree865fbc666a3dd9a01af4110665284cd8a8d4d60d /www/netsurf
parentffd2736343ca5c54f5f8cb82a1f22d4f594e8327 (diff)
downloadpkgsrc-b63497f0a6442a6b34e24ff1bf3453c89ef84125.tar.gz
Fix the build after gperf-3.1 update ('len' parameter of the hash function
and of the lookup function is of type 'size_t'). Bump PKGREVISION
Diffstat (limited to 'www/netsurf')
-rw-r--r--www/netsurf/Makefile4
-rw-r--r--www/netsurf/distinfo3
-rw-r--r--www/netsurf/patches/patch-libsvgtiny_src_svgtiny__internal.h15
3 files changed, 19 insertions, 3 deletions
diff --git a/www/netsurf/Makefile b/www/netsurf/Makefile
index dd02d2810ea..5bb143f5ea6 100644
--- a/www/netsurf/Makefile
+++ b/www/netsurf/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.57 2017/01/01 16:06:39 adam Exp $
+# $NetBSD: Makefile,v 1.58 2017/01/14 23:33:34 leot Exp $
DISTNAME= netsurf-all-3.6
PKGNAME= ${DISTNAME:S/-all//}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= www
MASTER_SITES= http://download.netsurf-browser.org/netsurf/releases/source-full/
diff --git a/www/netsurf/distinfo b/www/netsurf/distinfo
index 6fd38435068..049c87a53cc 100644
--- a/www/netsurf/distinfo
+++ b/www/netsurf/distinfo
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.8 2016/12/04 12:41:47 martin Exp $
+$NetBSD: distinfo,v 1.9 2017/01/14 23:33:34 leot Exp $
SHA1 (netsurf-all-3.6.tar.gz) = d25345415b9b26343c22929280c48066302da916
RMD160 (netsurf-all-3.6.tar.gz) = 73b7768434b5365c912761837f7d6003c28fb84c
SHA512 (netsurf-all-3.6.tar.gz) = 1b7dcc80efe8e3944e5db7d74da749821adb3ae39700df3efa6ecb347a00e33350e1d56d4139654d50ac41563edf3de52f0eb25bff6490d74144a7970fb6c3b4
Size (netsurf-all-3.6.tar.gz) = 8403623 bytes
+SHA1 (patch-libsvgtiny_src_svgtiny__internal.h) = 7e8a0b4d00f5c65b2845f8167a55af8785fac203
SHA1 (patch-netsurf_utils_config.h) = de48304e3484a883509ea3ad92658788f7869041
SHA1 (patch-nsgenbind_src_Makefile) = 1798b84c28fbb9bbdaafe3f182fbd301f5438df1
SHA1 (patch-nsgenbind_src_nsgenbind-ast.c) = 5931ab321f15dc9754b71545d40bac01274938f6
diff --git a/www/netsurf/patches/patch-libsvgtiny_src_svgtiny__internal.h b/www/netsurf/patches/patch-libsvgtiny_src_svgtiny__internal.h
new file mode 100644
index 00000000000..e757878c06d
--- /dev/null
+++ b/www/netsurf/patches/patch-libsvgtiny_src_svgtiny__internal.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-libsvgtiny_src_svgtiny__internal.h,v 1.1 2017/01/14 23:33:34 leot Exp $
+
+Fix build for gperf>=3.1 where 'len' parameter of the hash function
+and of the lookup function is of type 'size_t'.
+
+--- libsvgtiny/src/svgtiny_internal.h.orig 2016-11-19 14:22:38.000000000 +0000
++++ libsvgtiny/src/svgtiny_internal.h
+@@ -105,6 +105,6 @@ void svgtiny_list_free(struct svgtiny_li
+ /* colors.gperf */
+ const struct svgtiny_named_color *
+ svgtiny_color_lookup(register const char *str,
+- register unsigned int len);
++ register size_t len);
+
+ #endif