summaryrefslogtreecommitdiff
path: root/sysutils/9base/patches/patch-bc
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2011-10-25 16:28:17 +0000
committerryoon <ryoon@pkgsrc.org>2011-10-25 16:28:17 +0000
commit8d1e4272ba2ed74d4406482f420e7b132501013e (patch)
treee53eb5c506b9b6b726854f838cd5888cb30db90a /sysutils/9base/patches/patch-bc
parentb70c91cf979a8d1994bdbce4881c89a653cf96b8 (diff)
downloadpkgsrc-8d1e4272ba2ed74d4406482f420e7b132501013e.tar.gz
Update to 20100604 aka 6
* Convert patches to MAKE_FLAGS and BUILDLINK_TRANSFORM. * Add CONF_FILES support. * Replace /bin/rc. * Add workaround for NetBSD 5.1 Tested on NetBSD/i386 4.0.1, 5.1, 5.99.56, and NetBSD/amd64 5.99.55, and DragonFly/i386 2.10.1. Changelog: unknown
Diffstat (limited to 'sysutils/9base/patches/patch-bc')
-rw-r--r--sysutils/9base/patches/patch-bc10
1 files changed, 5 insertions, 5 deletions
diff --git a/sysutils/9base/patches/patch-bc b/sysutils/9base/patches/patch-bc
index 02e4ebe147b..562fa552053 100644
--- a/sysutils/9base/patches/patch-bc
+++ b/sysutils/9base/patches/patch-bc
@@ -1,13 +1,13 @@
-$NetBSD: patch-bc,v 1.1 2005/12/06 18:50:36 rillig Exp $
+$NetBSD: patch-bc,v 1.2 2011/10/25 16:28:17 ryoon Exp $
---- lib9/u.h.orig Mon Nov 14 11:22:41 2005
-+++ lib9/u.h Tue Dec 6 19:43:23 2005
-@@ -16,7 +16,7 @@ extern "C" {
+--- lib9/u.h.orig 2010-06-04 10:46:05.000000000 +0000
++++ lib9/u.h
+@@ -17,7 +17,7 @@ extern "C" {
#define _BSD_SOURCE 1
#define _NETBSD_SOURCE 1 /* NetBSD */
#define _SVID_SOURCE 1
-#if !defined(__APPLE__) && !defined(__OpenBSD__)
-+#if !defined(__APPLE__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
++#if !defined(__APPLE__) && !defined(__OpenBSD__) || !define(__NetBSD__)
# define _XOPEN_SOURCE 1000
# define _XOPEN_SOURCE_EXTENDED 1
#endif