summaryrefslogtreecommitdiff
path: root/www/liferea/patches
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/patches
parent87198c67f9523bdf033773a6f36b8ec6ad060f9f (diff)
downloadpkgsrc-b13d851363f80080ef4662434307c61cd90566cd.tar.gz
Change #define of _XOPEN_SOURCE to make strptime() happy
Diffstat (limited to 'www/liferea/patches')
-rw-r--r--www/liferea/patches/patch-ae15
-rw-r--r--www/liferea/patches/patch-af13
2 files changed, 25 insertions, 3 deletions
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"