pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/xfce4-weather-plugin xfce4-weather-p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4764f498886f
branches:  trunk
changeset: 308146:4764f498886f
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu May 17 09:59:28 2018 +0000

description:
xfce4-weather-plugin: Set _XOPEN_SOURCE correctly on SunOS.

diffstat:

 misc/xfce4-weather-plugin/distinfo                                     |   3 +-
 misc/xfce4-weather-plugin/patches/patch-panel-plugin_weather-parsers.c |  17 ++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 28242885ca14 -r 4764f498886f misc/xfce4-weather-plugin/distinfo
--- a/misc/xfce4-weather-plugin/distinfo        Thu May 17 09:57:42 2018 +0000
+++ b/misc/xfce4-weather-plugin/distinfo        Thu May 17 09:59:28 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.12 2018/05/15 21:37:30 youri Exp $
+$NetBSD: distinfo,v 1.13 2018/05/17 09:59:28 jperkin Exp $
 
 SHA1 (xfce4-weather-plugin-0.8.10.tar.bz2) = cbe477356fe1bde6e93a38d2110c2135059a28e9
 RMD160 (xfce4-weather-plugin-0.8.10.tar.bz2) = 248c375c25e98cf8fd7564878e8d427523be08a5
 SHA512 (xfce4-weather-plugin-0.8.10.tar.bz2) = e40f794e824cc48038ece0c1336eed21b2e28091b86a4b76099c092c2e45abc5041d010d286f64fc483e8ad7c496127152df86330187afbd0872506d89f37c35
 Size (xfce4-weather-plugin-0.8.10.tar.bz2) = 2991350 bytes
+SHA1 (patch-panel-plugin_weather-parsers.c) = c07ebf8f35aaf04ce28a5fc6ca507b3b95c07ca1
diff -r 28242885ca14 -r 4764f498886f misc/xfce4-weather-plugin/patches/patch-panel-plugin_weather-parsers.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/xfce4-weather-plugin/patches/patch-panel-plugin_weather-parsers.c    Thu May 17 09:59:28 2018 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-panel-plugin_weather-parsers.c,v 1.1 2018/05/17 09:59:28 jperkin Exp $
+
+Set _XOPEN_SOURCE correctly on SunOS.
+
+--- panel-plugin/weather-parsers.c.orig        2017-04-25 09:23:20.000000000 +0000
++++ panel-plugin/weather-parsers.c
+@@ -25,8 +25,10 @@
+  * before time.h and libxfce4panel.h (which includes glib.h).
+  * Otherwise, they will be ignored.
+  */
++#if !defined(__sun) || (!defined(_XOPEN_SOURCE) && (__STDC_VERSION__-0 < 199901L))
+ #define _XOPEN_SOURCE
+ #define _XOPEN_SOURCE_EXTENDED 1
++#endif
+ #include "weather-parsers.h"
+ #include "weather-translate.h"
+ #include "weather-debug.h"



Home | Main Index | Thread Index | Old Index