From 0a64fd876836011aa7483679e2fc9eecdca65c1a Mon Sep 17 00:00:00 2001 From: jperkin Date: Wed, 9 Jul 2014 10:30:11 +0000 Subject: Stop defining _XOPEN_SOURCE past 600 on SunOS. --- chat/weechat/distinfo | 3 ++- chat/weechat/patches/patch-src_core_wee-command.c | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 chat/weechat/patches/patch-src_core_wee-command.c (limited to 'chat/weechat') diff --git a/chat/weechat/distinfo b/chat/weechat/distinfo index 770620bdc20..d384ac329c8 100644 --- a/chat/weechat/distinfo +++ b/chat/weechat/distinfo @@ -1,10 +1,11 @@ -$NetBSD: distinfo,v 1.28 2014/02/24 23:06:12 tonio Exp $ +$NetBSD: distinfo,v 1.29 2014/07/09 10:30:11 jperkin Exp $ SHA1 (weechat-0.4.3.tar.bz2) = c9043ae4df8057c1410eeaf4c5c8818e97963e16 RMD160 (weechat-0.4.3.tar.bz2) = b9625a977d36757a4b8dfa560946f1604ba5f68a Size (weechat-0.4.3.tar.bz2) = 2089701 bytes SHA1 (patch-ab) = d0fac0994602dfa0afde9fe14487f44f8cce25d6 SHA1 (patch-po_CMakeLists.txt) = 6d3ded106fc94b1b0ea96dff938480667f9c2d7d +SHA1 (patch-src_core_wee-command.c) = 539292be63410c1ceab0e58552c6cbccd0c65d5a SHA1 (patch-src_gui_curses_CMakeLists_txt) = 06f18d1efd21e9aeab6931e8d2018885e709c745 SHA1 (patch-src_gui_curses_gui-curses-term_c) = ba9e6a8bbb17356fbd9421aba4f3225bb7d6b9da SHA1 (patch-src_plugins_charset_charset.c) = f0b6e5268908caab5efa8048c8a55b0083ec0ca4 diff --git a/chat/weechat/patches/patch-src_core_wee-command.c b/chat/weechat/patches/patch-src_core_wee-command.c new file mode 100644 index 00000000000..142f5a9af79 --- /dev/null +++ b/chat/weechat/patches/patch-src_core_wee-command.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_core_wee-command.c,v 1.1 2014/07/09 10:30:11 jperkin Exp $ + +Don't define _XOPEN_SOURCE past 600 on SunOS. + +--- src/core/wee-command.c.orig 2014-02-09 08:52:53.000000000 +0000 ++++ src/core/wee-command.c +@@ -21,7 +21,7 @@ + */ + + /* this define is needed for strptime() (not on OpenBSD) */ +-#if !defined(__OpenBSD__) ++#if !defined(__OpenBSD__) && !defined(__sun) + #define _XOPEN_SOURCE 700 + #endif + -- cgit v1.2.3