pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/snownews snownews: patch in includes for missing f...
details: https://anonhg.NetBSD.org/pkgsrc/rev/090ee9c18772
branches: trunk
changeset: 401413:090ee9c18772
user: nia <nia%pkgsrc.org@localhost>
date: Mon Sep 16 17:22:24 2019 +0000
description:
snownews: patch in includes for missing functions on some linux versions
reported by ottavio on freenode
diffstat:
www/snownews/distinfo | 3 ++-
www/snownews/patches/patch-config.h.in | 22 ++++++++++++++++++++++
2 files changed, 24 insertions(+), 1 deletions(-)
diffs (41 lines):
diff -r cc98bb46197e -r 090ee9c18772 www/snownews/distinfo
--- a/www/snownews/distinfo Mon Sep 16 17:01:46 2019 +0000
+++ b/www/snownews/distinfo Mon Sep 16 17:22:24 2019 +0000
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.16 2019/09/16 11:42:50 nia Exp $
+$NetBSD: distinfo,v 1.17 2019/09/16 17:22:24 nia Exp $
SHA1 (snownews-1.6.10.tar.gz) = 4eda949103a92ea28e5ceff8e25e45b00540adaa
RMD160 (snownews-1.6.10.tar.gz) = 23b6c18ed8f47381e4fb0886074a9516dae0abcd
SHA512 (snownews-1.6.10.tar.gz) = df90c3c55da8d11b2936075aab86f66f54f9a6ace0cbe0db54d0e6177ae71e28ab3c700d79b521d55859bb94ef7ecc89e3eb69f215eb9f7286d30cc4e2bec078
Size (snownews-1.6.10.tar.gz) = 189715 bytes
SHA1 (patch-Config.mk.in) = 272f80ba5bf0ff6eb89bd30d429835423f45a39d
+SHA1 (patch-config.h.in) = 631577ad722fc6ccb1bc945da4e5cc6b259be85e
SHA1 (patch-configure) = 789dc192a07fab442080e71d929fa17718fb2390
SHA1 (patch-os-support_c) = 9b843d381c3793bd2f32f72696640a6b005f8a22
diff -r cc98bb46197e -r 090ee9c18772 www/snownews/patches/patch-config.h.in
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/snownews/patches/patch-config.h.in Mon Sep 16 17:22:24 2019 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-config.h.in,v 1.1 2019/09/16 17:22:24 nia Exp $
+
+Linux (with glibc at least) needs strings.h for strcasecmp and
+_GNU_SOURCE for strdup.
+
+--- config.h.in.orig 2018-07-30 11:06:03.000000000 +0000
++++ config.h.in
+@@ -41,11 +41,14 @@
+ // Define on SunOS and Solaris
+ #undef SUN
+
++#define _GNU_SOURCE
++
+ #include <sys/types.h>
+ #include <stdbool.h>
+ #include <stdint.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <strings.h>
+ #include <limits.h>
+ #include <assert.h>
+ #include <stdio.h>
Home |
Main Index |
Thread Index |
Old Index