diff options
author | smb <smb> | 2008-01-09 21:09:26 +0000 |
---|---|---|
committer | smb <smb> | 2008-01-09 21:09:26 +0000 |
commit | 2a6e9399f2ce4dfb53f6607e5eff337dc452c3d8 (patch) | |
tree | 5c129ca5deb84f9eacdb4fec0d86aa0a403fc313 | |
parent | d406d96c67740e111e3f7dbef331c960be853cbb (diff) | |
download | pkgsrc-2a6e9399f2ce4dfb53f6607e5eff337dc452c3d8.tar.gz |
Change #define of _XOPEN_SOURCE to make strptime() happy
-rw-r--r-- | www/liferea/distinfo | 5 | ||||
-rw-r--r-- | www/liferea/patches/patch-ae | 15 | ||||
-rw-r--r-- | www/liferea/patches/patch-af | 13 |
3 files changed, 28 insertions, 5 deletions
diff --git a/www/liferea/distinfo b/www/liferea/distinfo index ec4585a17c6..d99f67ec435 100644 --- a/www/liferea/distinfo +++ b/www/liferea/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.44 2008/01/09 20:35:28 smb Exp $ +$NetBSD: distinfo,v 1.45 2008/01/09 21:09:26 smb Exp $ SHA1 (liferea-1.4.10.tar.gz) = 7293e6872149308d0fbfdad57c3aae8ec20b6b63 RMD160 (liferea-1.4.10.tar.gz) = af7656ef9e89850c5e5b2fcee4b9e1d5312ffaf5 Size (liferea-1.4.10.tar.gz) = 1609333 bytes -SHA1 (patch-ae) = 9c9ce0adae109b07ee69422830d35eb09445ec6b +SHA1 (patch-ae) = 40c7b4a13eeffd7ec1391883d00ce35193d2d094 +SHA1 (patch-af) = edf31ddfad5829447a3d6f45b48cc652594bda17 diff --git a/www/liferea/patches/patch-ae b/www/liferea/patches/patch-ae index 67bff10ff5e..ae50bf38dfc 100644 --- a/www/liferea/patches/patch-ae +++ b/www/liferea/patches/patch-ae @@ -1,7 +1,16 @@ -$NetBSD: patch-ae,v 1.1 2008/01/09 20:12:19 smb Exp $ +$NetBSD: patch-ae,v 1.2 2008/01/09 21:09:26 smb Exp $ ---- src/common.c.orig 2008-01-09 11:46:50.000000000 -0500 -+++ src/common.c 2008-01-09 11:46:53.000000000 -0500 +--- src/common.c.orig 2007-10-21 14:30:46.000000000 -0400 ++++ src/common.c 2008-01-09 15:58:30.000000000 -0500 +@@ -37,7 +37,7 @@ + # include <config.h> + #endif + +-#define _XOPEN_SOURCE /* glibc2 needs this (man strptime) */ ++#define _XOPEN_SOURCE 4 /* glibc2 needs this (man strptime); NetBSD wants it to be 4 or higher */ + + #include <libxml/uri.h> + @@ -196,7 +196,7 @@ /* converts a ISO 8601 time string to a time_t value */ diff --git a/www/liferea/patches/patch-af b/www/liferea/patches/patch-af new file mode 100644 index 00000000000..443b133f873 --- /dev/null +++ b/www/liferea/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.1 2008/01/09 21:09:27 smb Exp $ + +--- src/parsers/ns_dc.c.orig 2008-01-09 16:01:28.000000000 -0500 ++++ src/parsers/ns_dc.c 2008-01-09 16:02:11.000000000 -0500 +@@ -23,7 +23,7 @@ + # include <config.h> + #endif + +-#define _XOPEN_SOURCE /* glibc2 needs this (man strptime) */ ++#define _XOPEN_SOURCE 4 /* glibc2 needs this (man strptime); NetBSD wants it to be 4 or higher */ + + #include "ns_dc.h" + #include "conf.h" |