diff options
author | jperkin <jperkin@pkgsrc.org> | 2018-05-17 09:13:02 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2018-05-17 09:13:02 +0000 |
commit | 3858d8cfc09eb33bb6220ac382208749a662c02b (patch) | |
tree | 941352e875cd36fcaef9bfda1d3c3bf4da1d1bd5 /time | |
parent | 4f2507b3bc4053925cb4a57bb4ab2e06c124c9cb (diff) | |
download | pkgsrc-3858d8cfc09eb33bb6220ac382208749a662c02b.tar.gz |
xfce4-orage: Set _XOPEN_SOURCE correctly on SunOS.
Diffstat (limited to 'time')
-rw-r--r-- | time/xfce4-orage/distinfo | 4 | ||||
-rw-r--r-- | time/xfce4-orage/patches/patch-src_appointment.c | 17 | ||||
-rw-r--r-- | time/xfce4-orage/patches/patch-src_functions.c | 17 |
3 files changed, 37 insertions, 1 deletions
diff --git a/time/xfce4-orage/distinfo b/time/xfce4-orage/distinfo index b91c19a0550..14ff68775e8 100644 --- a/time/xfce4-orage/distinfo +++ b/time/xfce4-orage/distinfo @@ -1,7 +1,9 @@ -$NetBSD: distinfo,v 1.10 2018/04/25 21:44:44 markd Exp $ +$NetBSD: distinfo,v 1.11 2018/05/17 09:13:02 jperkin Exp $ SHA1 (orage-4.12.1.tar.bz2) = c856ad30f7a17a732d5cc794ef90aedf98575699 RMD160 (orage-4.12.1.tar.bz2) = a3d40692e851c96ee409eed03ac3a2f66bbc8f11 SHA512 (orage-4.12.1.tar.bz2) = 3fec0201171140586cdc9bcf151450a7086515e18b5815afe4fe4c4726ba554c50582b0479e52985b330140c51b7233ef81f678f986f848afbeee74c66b2d196 Size (orage-4.12.1.tar.bz2) = 2590788 bytes +SHA1 (patch-src_appointment.c) = 2122b4c398033339c396ca9f0c8980f5fbcc76bb +SHA1 (patch-src_functions.c) = d6bbbdb0c306648dffd175b6a667f10808f4f761 SHA1 (patch-src_ical-code.c) = c260f12ca80054894a571d9b47691fb8c9c3e56c diff --git a/time/xfce4-orage/patches/patch-src_appointment.c b/time/xfce4-orage/patches/patch-src_appointment.c new file mode 100644 index 00000000000..051f61c1ea1 --- /dev/null +++ b/time/xfce4-orage/patches/patch-src_appointment.c @@ -0,0 +1,17 @@ +$NetBSD: patch-src_appointment.c,v 1.1 2018/05/17 09:13:02 jperkin Exp $ + +Set _XOPEN_SOURCE correctly on SunOS. + +--- src/appointment.c.orig 2015-04-10 10:26:26.000000000 +0000 ++++ src/appointment.c +@@ -25,8 +25,10 @@ + # include <config.h> + #endif + ++#if !defined(__sun) || (!defined(_XOPEN_SOURCE) && (__STDC_VERSION__-0 < 199901L)) + #define _XOPEN_SOURCE /* glibc2 needs this */ + #define _XOPEN_SOURCE_EXTENDED 1 /* strptime needs this in posix systems */ ++#endif + + #include <sys/types.h> + #include <sys/stat.h> diff --git a/time/xfce4-orage/patches/patch-src_functions.c b/time/xfce4-orage/patches/patch-src_functions.c new file mode 100644 index 00000000000..68685c7d509 --- /dev/null +++ b/time/xfce4-orage/patches/patch-src_functions.c @@ -0,0 +1,17 @@ +$NetBSD: patch-src_functions.c,v 1.1 2018/05/17 09:13:02 jperkin Exp $ + +Set _XOPEN_SOURCE correctly on SunOS. + +--- src/functions.c.orig 2015-04-10 10:26:26.000000000 +0000 ++++ src/functions.c +@@ -21,8 +21,10 @@ + + */ + ++#if !defined(__sun) || (!defined(_XOPEN_SOURCE) && (__STDC_VERSION__-0 < 199901L)) + #define _XOPEN_SOURCE /* glibc2 needs this */ + #define _XOPEN_SOURCE_EXTENDED 1 /* strptime needs this in posix systems */ ++#endif + + #include <stdio.h> + #include <stdlib.h> |