pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/netsurf Remove compilation messages about redundan...
details: https://anonhg.NetBSD.org/pkgsrc/rev/52a2dd339195
branches: trunk
changeset: 401536:52a2dd339195
user: nros <nros%pkgsrc.org@localhost>
date: Wed Sep 18 20:32:47 2019 +0000
description:
Remove compilation messages about redundant declaration of strchrnul
NetBSD has strchrnul so tell netsurf this.
diffstat:
www/netsurf/distinfo | 4 ++--
www/netsurf/patches/patch-netsurf_utils_config.h | 17 +++++++++++++----
2 files changed, 15 insertions(+), 6 deletions(-)
diffs (46 lines):
diff -r d1f0ae93be03 -r 52a2dd339195 www/netsurf/distinfo
--- a/www/netsurf/distinfo Wed Sep 18 20:31:00 2019 +0000
+++ b/www/netsurf/distinfo Wed Sep 18 20:32:47 2019 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.13 2019/09/18 20:21:39 nros Exp $
+$NetBSD: distinfo,v 1.14 2019/09/18 20:32:47 nros Exp $
SHA1 (netsurf-all-3.9.tar.gz) = 392aa7cf94b303228a00e6887c74e5763a81f3a4
RMD160 (netsurf-all-3.9.tar.gz) = 3f7aff04cfd253f2b18590830b0aa2fca0123b3c
SHA512 (netsurf-all-3.9.tar.gz) = 3223b0a3bc9721ea1a5a81bbabdda11e1d0f63850074a5dea3ea8999e53c92f07228f58befbf10359c028965131426888a8b9595d6c3cd7a5cde33ca256cf987
Size (netsurf-all-3.9.tar.gz) = 8416458 bytes
SHA1 (patch-netsurf_frontends_gtk_download.c) = 25bbb146ed57ddfc943155b366cb73850e4ff0ac
-SHA1 (patch-netsurf_utils_config.h) = de48304e3484a883509ea3ad92658788f7869041
+SHA1 (patch-netsurf_utils_config.h) = 947eb55fbef10b50b651f2df18f95d30e82078e2
SHA1 (patch-nsgenbind_src_Makefile) = 9024fe193c532fefec83b86a8cf85f1bcffb614e
diff -r d1f0ae93be03 -r 52a2dd339195 www/netsurf/patches/patch-netsurf_utils_config.h
--- a/www/netsurf/patches/patch-netsurf_utils_config.h Wed Sep 18 20:31:00 2019 +0000
+++ b/www/netsurf/patches/patch-netsurf_utils_config.h Wed Sep 18 20:32:47 2019 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-netsurf_utils_config.h,v 1.1 2015/09/03 20:56:10 leot Exp $
+$NetBSD: patch-netsurf_utils_config.h,v 1.2 2019/09/18 20:32:47 nros Exp $
-NetBSD has strcasestr(3).
+NetBSD has strcasestr(3) and strchrnul(3).
---- netsurf/utils/config.h.orig 2015-03-11 07:34:53.000000000 +0000
+--- netsurf/utils/config.h.orig 2019-07-17 15:37:00.000000000 +0000
+++ netsurf/utils/config.h
-@@ -31,7 +31,7 @@
+@@ -30,7 +30,7 @@
char *strndup(const char *s, size_t n);
#endif
@@ -13,3 +13,12 @@
#define HAVE_STRCASESTR
#else
#undef HAVE_STRCASESTR
+@@ -51,7 +51,7 @@ char *strcasestr(const char *haystack, c
+ /* For some reason, UnixLib defines this unconditionally. Assume we're using
+ * UnixLib if building for RISC OS.
+ */
+-#if ((defined(_GNU_SOURCE) && !defined(__APPLE__)) || defined(__riscos__))
++#if ((defined(_GNU_SOURCE) && !defined(__APPLE__)) || defined(__riscos__) || defined(__NetBSD__))
+ #define HAVE_STRCHRNUL
+ #else
+ #undef HAVE_STRCHRNUL
Home |
Main Index |
Thread Index |
Old Index