pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/netsurf Fix the build after gperf-3.1 update ('len...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/86c2e30d07c0
branches:  trunk
changeset: 357141:86c2e30d07c0
user:      leot <leot%pkgsrc.org@localhost>
date:      Sat Jan 14 23:33:34 2017 +0000

description:
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:

 www/netsurf/Makefile                                         |   4 +-
 www/netsurf/distinfo                                         |   3 +-
 www/netsurf/patches/patch-libsvgtiny_src_svgtiny__internal.h |  15 ++++++++++++
 3 files changed, 19 insertions(+), 3 deletions(-)

diffs (48 lines):

diff -r 0c72b751a022 -r 86c2e30d07c0 www/netsurf/Makefile
--- a/www/netsurf/Makefile      Sat Jan 14 23:14:34 2017 +0000
+++ b/www/netsurf/Makefile      Sat Jan 14 23:33:34 2017 +0000
@@ -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 -r 0c72b751a022 -r 86c2e30d07c0 www/netsurf/distinfo
--- a/www/netsurf/distinfo      Sat Jan 14 23:14:34 2017 +0000
+++ b/www/netsurf/distinfo      Sat Jan 14 23:33:34 2017 +0000
@@ -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 -r 0c72b751a022 -r 86c2e30d07c0 www/netsurf/patches/patch-libsvgtiny_src_svgtiny__internal.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/netsurf/patches/patch-libsvgtiny_src_svgtiny__internal.h      Sat Jan 14 23:33:34 2017 +0000
@@ -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



Home | Main Index | Thread Index | Old Index