diff options
author | jperkin <jperkin@pkgsrc.org> | 2018-05-17 09:59:28 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2018-05-17 09:59:28 +0000 |
commit | 8703d89b9f0914af5d1ee56749c0edf8e2902772 (patch) | |
tree | 3f06665922d255e26b0716f34f6fd82c5d459d06 /misc/xfce4-weather-plugin | |
parent | 77b251b6e376eb0c48c11085c0da52d2d648177d (diff) | |
download | pkgsrc-8703d89b9f0914af5d1ee56749c0edf8e2902772.tar.gz |
xfce4-weather-plugin: Set _XOPEN_SOURCE correctly on SunOS.
Diffstat (limited to 'misc/xfce4-weather-plugin')
-rw-r--r-- | misc/xfce4-weather-plugin/distinfo | 3 | ||||
-rw-r--r-- | misc/xfce4-weather-plugin/patches/patch-panel-plugin_weather-parsers.c | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/misc/xfce4-weather-plugin/distinfo b/misc/xfce4-weather-plugin/distinfo index caa950912b2..2a93643174a 100644 --- a/misc/xfce4-weather-plugin/distinfo +++ b/misc/xfce4-weather-plugin/distinfo @@ -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 --git a/misc/xfce4-weather-plugin/patches/patch-panel-plugin_weather-parsers.c b/misc/xfce4-weather-plugin/patches/patch-panel-plugin_weather-parsers.c new file mode 100644 index 00000000000..9d5cef1451e --- /dev/null +++ b/misc/xfce4-weather-plugin/patches/patch-panel-plugin_weather-parsers.c @@ -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" |