Received: by mail.netbsd.org (Postfix, from userid 605) id 21E3784D62; Thu, 17 May 2018 09:59:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 9F8AC84D5D for ; Thu, 17 May 2018 09:59:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id ppnVP9cK1zfF for ; Thu, 17 May 2018 09:59:29 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 2C31784D5B for ; Thu, 17 May 2018 09:59:29 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 2275DFBEC; Thu, 17 May 2018 09:59:29 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_152655116967210" MIME-Version: 1.0 Date: Thu, 17 May 2018 09:59:29 +0000 From: "Jonathan Perkin" Subject: CVS commit: pkgsrc/misc/xfce4-weather-plugin To: pkgsrc-changes@NetBSD.org Reply-To: jperkin@netbsd.org X-Mailer: log_accum Message-Id: <20180517095929.2275DFBEC@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_152655116967210 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: jperkin Date: Thu May 17 09:59:29 UTC 2018 Modified Files: pkgsrc/misc/xfce4-weather-plugin: distinfo Added Files: pkgsrc/misc/xfce4-weather-plugin/patches: patch-panel-plugin_weather-parsers.c Log Message: xfce4-weather-plugin: Set _XOPEN_SOURCE correctly on SunOS. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 pkgsrc/misc/xfce4-weather-plugin/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/misc/xfce4-weather-plugin/patches/patch-panel-plugin_weather-parsers.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_152655116967210 Content-Disposition: inline Content-Length: 1933 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/misc/xfce4-weather-plugin/distinfo diff -u pkgsrc/misc/xfce4-weather-plugin/distinfo:1.12 pkgsrc/misc/xfce4-weather-plugin/distinfo:1.13 --- pkgsrc/misc/xfce4-weather-plugin/distinfo:1.12 Tue May 15 21:37:30 2018 +++ pkgsrc/misc/xfce4-weather-plugin/distinfo Thu May 17 09:59:28 2018 @@ -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 Added files: Index: pkgsrc/misc/xfce4-weather-plugin/patches/patch-panel-plugin_weather-parsers.c diff -u /dev/null pkgsrc/misc/xfce4-weather-plugin/patches/patch-panel-plugin_weather-parsers.c:1.1 --- /dev/null Thu May 17 09:59:29 2018 +++ pkgsrc/misc/xfce4-weather-plugin/patches/patch-panel-plugin_weather-parsers.c Thu May 17 09:59:28 2018 @@ -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" --_----------=_152655116967210--