summaryrefslogtreecommitdiff
path: root/www/liferea
diff options
context:
space:
mode:
authorsmb <smb>2008-01-09 21:09:26 +0000
committersmb <smb>2008-01-09 21:09:26 +0000
commitb13d851363f80080ef4662434307c61cd90566cd (patch)
tree5c129ca5deb84f9eacdb4fec0d86aa0a403fc313 /www/liferea
parent87198c67f9523bdf033773a6f36b8ec6ad060f9f (diff)
downloadpkgsrc-b13d851363f80080ef4662434307c61cd90566cd.tar.gz
Change #define of _XOPEN_SOURCE to make strptime() happy
Diffstat (limited to 'www/liferea')
-rw-r--r--www/liferea/distinfo5
-rw-r--r--www/liferea/patches/patch-ae15
-rw-r--r--www/liferea/patches/patch-af13
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"