pkgsrc-Changes archive

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

CVS commit: pkgsrc/time/xfce4-orage



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Thu May 17 09:13:02 UTC 2018

Modified Files:
        pkgsrc/time/xfce4-orage: distinfo
Added Files:
        pkgsrc/time/xfce4-orage/patches: patch-src_appointment.c
            patch-src_functions.c

Log Message:
xfce4-orage: Set _XOPEN_SOURCE correctly on SunOS.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/time/xfce4-orage/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/time/xfce4-orage/patches/patch-src_appointment.c \
    pkgsrc/time/xfce4-orage/patches/patch-src_functions.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/time/xfce4-orage/distinfo
diff -u pkgsrc/time/xfce4-orage/distinfo:1.10 pkgsrc/time/xfce4-orage/distinfo:1.11
--- pkgsrc/time/xfce4-orage/distinfo:1.10       Wed Apr 25 21:44:44 2018
+++ pkgsrc/time/xfce4-orage/distinfo    Thu May 17 09:13:02 2018
@@ -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

Added files:

Index: pkgsrc/time/xfce4-orage/patches/patch-src_appointment.c
diff -u /dev/null pkgsrc/time/xfce4-orage/patches/patch-src_appointment.c:1.1
--- /dev/null   Thu May 17 09:13:02 2018
+++ pkgsrc/time/xfce4-orage/patches/patch-src_appointment.c     Thu May 17 09:13:02 2018
@@ -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>
Index: pkgsrc/time/xfce4-orage/patches/patch-src_functions.c
diff -u /dev/null pkgsrc/time/xfce4-orage/patches/patch-src_functions.c:1.1
--- /dev/null   Thu May 17 09:13:02 2018
+++ pkgsrc/time/xfce4-orage/patches/patch-src_functions.c       Thu May 17 09:13:02 2018
@@ -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