summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2014-01-01 14:44:59 +0000
committerschmonz <schmonz@pkgsrc.org>2014-01-01 14:44:59 +0000
commitc12e05be8b25cd2b220c2f8af046adb3d085ed73 (patch)
tree7e83cf1d2ae63c88d6a6274052618e7d7b03eb81
parent0b813dd3e2b676d4a36f858c653a501fde865ee7 (diff)
downloadpkgsrc-c12e05be8b25cd2b220c2f8af046adb3d085ed73.tar.gz
Avoid conflicting sigaltstack types on OS X 10.9.
-rw-r--r--editors/vim-share/distinfo3
-rw-r--r--editors/vim-share/patches/patch-os__mac.h16
2 files changed, 18 insertions, 1 deletions
diff --git a/editors/vim-share/distinfo b/editors/vim-share/distinfo
index e2df7a757e7..b4a8eae3540 100644
--- a/editors/vim-share/distinfo
+++ b/editors/vim-share/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.140 2013/10/07 19:26:28 morr Exp $
+$NetBSD: distinfo,v 1.141 2014/01/01 14:44:59 schmonz Exp $
SHA1 (vim-7.4.052.tar.bz2) = 33c193320f5671b18fd140d69bf6e1c8a84f7037
RMD160 (vim-7.4.052.tar.bz2) = e6fb8205e2a310b2d78f6a336e8be3e499cd6a91
@@ -8,3 +8,4 @@ SHA1 (patch-auto_configure) = e25c8821182231074033132d70dab077c273d5f8
SHA1 (patch-configure) = ae5970dec6d557d81da8a8f1da36d05ddc59ca56
SHA1 (patch-feature.h) = 7fc572f7d94e5342b32b9395c2632fa7ae528c39
SHA1 (patch-link.sh) = 24db881cea873330a8a3bf672f6135d0835651fd
+SHA1 (patch-os__mac.h) = df310394096a6753821bdecc602708109480629b
diff --git a/editors/vim-share/patches/patch-os__mac.h b/editors/vim-share/patches/patch-os__mac.h
new file mode 100644
index 00000000000..b3b43daf7fa
--- /dev/null
+++ b/editors/vim-share/patches/patch-os__mac.h
@@ -0,0 +1,16 @@
+$NetBSD: patch-os__mac.h,v 1.1 2014/01/01 14:44:59 schmonz Exp $
+
+Avoid conflicting sigaltstack types on OS X 10.9.
+
+--- src/os_mac.h.orig 2013-05-21 21:24:07.000000000 +0000
++++ src/os_mac.h
+@@ -16,6 +16,9 @@
+ # define OPAQUE_TOOLBOX_STRUCTS 0
+ #endif
+
++/* Include MAC_OS_X_VERSION_* macros */
++#include <AvailabilityMacros.h>
++
+ /*
+ * Macintosh machine-dependent things.
+ *