pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/snownews
Module Name: pkgsrc
Committed By: nia
Date: Mon Sep 16 17:22:24 UTC 2019
Modified Files:
pkgsrc/www/snownews: distinfo
Added Files:
pkgsrc/www/snownews/patches: patch-config.h.in
Log Message:
snownews: patch in includes for missing functions on some linux versions
reported by ottavio on freenode
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/www/snownews/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/snownews/patches/patch-config.h.in
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/snownews/distinfo
diff -u pkgsrc/www/snownews/distinfo:1.16 pkgsrc/www/snownews/distinfo:1.17
--- pkgsrc/www/snownews/distinfo:1.16 Mon Sep 16 11:42:50 2019
+++ pkgsrc/www/snownews/distinfo Mon Sep 16 17:22:24 2019
@@ -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
Added files:
Index: pkgsrc/www/snownews/patches/patch-config.h.in
diff -u /dev/null pkgsrc/www/snownews/patches/patch-config.h.in:1.1
--- /dev/null Mon Sep 16 17:22:24 2019
+++ pkgsrc/www/snownews/patches/patch-config.h.in Mon Sep 16 17:22:24 2019
@@ -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