pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/time/xfce4-orage xfce4-orage: Set _XOPEN_SOURCE correc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f078db879ff6
branches:  trunk
changeset: 380557:f078db879ff6
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu May 17 09:13:02 2018 +0000

description:
xfce4-orage: Set _XOPEN_SOURCE correctly on SunOS.

diffstat:

 time/xfce4-orage/distinfo                        |   4 +++-
 time/xfce4-orage/patches/patch-src_appointment.c |  17 +++++++++++++++++
 time/xfce4-orage/patches/patch-src_functions.c   |  17 +++++++++++++++++
 3 files changed, 37 insertions(+), 1 deletions(-)

diffs (56 lines):

diff -r c3a4191e1e19 -r f078db879ff6 time/xfce4-orage/distinfo
--- a/time/xfce4-orage/distinfo Thu May 17 09:03:09 2018 +0000
+++ b/time/xfce4-orage/distinfo Thu May 17 09:13:02 2018 +0000
@@ -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 -r c3a4191e1e19 -r f078db879ff6 time/xfce4-orage/patches/patch-src_appointment.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/xfce4-orage/patches/patch-src_appointment.c  Thu May 17 09:13:02 2018 +0000
@@ -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 -r c3a4191e1e19 -r f078db879ff6 time/xfce4-orage/patches/patch-src_functions.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/xfce4-orage/patches/patch-src_functions.c    Thu May 17 09:13:02 2018 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index