[108858] trunk/dports/editors

raimue at macports.org raimue at macports.org
Sat Aug 3 09:30:00 PDT 2013


Revision: 108858
          https://trac.macports.org/changeset/108858
Author:   raimue at macports.org
Date:     2013-08-03 09:30:00 -0700 (Sat, 03 Aug 2013)
Log Message:
-----------
editors/vim, editors/vim-app, editors/MacVim:
Apply compatibility patch for a specific operating system version,
closes #39963

Modified Paths:
--------------
    trunk/dports/editors/MacVim/Portfile
    trunk/dports/editors/vim/Portfile
    trunk/dports/editors/vim-app/Portfile

Added Paths:
-----------
    trunk/dports/editors/MacVim/files/patch-compat-darwin13.diff
    trunk/dports/editors/vim/files/patch-compat-darwin13.diff
    trunk/dports/editors/vim-app/files/patch-compat-darwin13.diff

Modified: trunk/dports/editors/MacVim/Portfile
===================================================================
--- trunk/dports/editors/MacVim/Portfile	2013-08-03 12:24:11 UTC (rev 108857)
+++ trunk/dports/editors/MacVim/Portfile	2013-08-03 16:30:00 UTC (rev 108858)
@@ -184,6 +184,10 @@
     configure.args-append   --enable-cscope
 }
 
+platform darwin 13 {
+    patchfiles-append patch-compat-darwin13.diff
+}
+
 livecheck.type          regex
 livecheck.version       ${snapshot}
 livecheck.regex         snapshot-(\\d+)

Added: trunk/dports/editors/MacVim/files/patch-compat-darwin13.diff
===================================================================
--- trunk/dports/editors/MacVim/files/patch-compat-darwin13.diff	                        (rev 0)
+++ trunk/dports/editors/MacVim/files/patch-compat-darwin13.diff	2013-08-03 16:30:00 UTC (rev 108858)
@@ -0,0 +1,13 @@
+--- src/os_unix.c	2013-08-02 15:13:48.000000000 -0500
++++ src/os_unix.c	2013-08-02 15:14:51.000000000 -0500
+@@ -18,6 +18,10 @@
+  * changed beyond recognition.
+  */
+ 
++#if defined(__APPLE__)
++#include <AvailabilityMacros.h>
++#endif
++
+ /*
+  * Some systems have a prototype for select() that has (int *) instead of
+  * (fd_set *), which is wrong. This define removes that prototype. We define

Modified: trunk/dports/editors/vim/Portfile
===================================================================
--- trunk/dports/editors/vim/Portfile	2013-08-03 12:24:11 UTC (rev 108857)
+++ trunk/dports/editors/vim/Portfile	2013-08-03 16:30:00 UTC (rev 108858)
@@ -992,6 +992,10 @@
     configure.args-append --disable-darwin
 }
 
+platform darwin 13 {
+    patchfiles-append patch-compat-darwin13.diff
+}
+
 livecheck.type  regex
 livecheck.url   http://ftp.vim.org/pub/${name}/patches/${vim_version}/?O=D
 livecheck.version [format "%s.%03d" $vim_version $vim_patchlevel]

Added: trunk/dports/editors/vim/files/patch-compat-darwin13.diff
===================================================================
--- trunk/dports/editors/vim/files/patch-compat-darwin13.diff	                        (rev 0)
+++ trunk/dports/editors/vim/files/patch-compat-darwin13.diff	2013-08-03 16:30:00 UTC (rev 108858)
@@ -0,0 +1,13 @@
+--- src/os_unix.c	2013-08-02 15:13:48.000000000 -0500
++++ src/os_unix.c	2013-08-02 15:14:51.000000000 -0500
+@@ -18,6 +18,10 @@
+  * changed beyond recognition.
+  */
+ 
++#if defined(__APPLE__)
++#include <AvailabilityMacros.h>
++#endif
++
+ /*
+  * Some systems have a prototype for select() that has (int *) instead of
+  * (fd_set *), which is wrong. This define removes that prototype. We define

Modified: trunk/dports/editors/vim-app/Portfile
===================================================================
--- trunk/dports/editors/vim-app/Portfile	2013-08-03 12:24:11 UTC (rev 108857)
+++ trunk/dports/editors/vim-app/Portfile	2013-08-03 16:30:00 UTC (rev 108858)
@@ -1013,6 +1013,10 @@
     }
 }
 
+platform darwin 13 {
+    patchfiles-append patch-compat-darwin13.diff
+}
+
 livecheck.type  regex
 livecheck.url   http://ftp.vim.org/pub/${realname}/patches/${vim_version}/?O=D
 livecheck.version [format "%s.%03d" $vim_version $vim_patchlevel]

Added: trunk/dports/editors/vim-app/files/patch-compat-darwin13.diff
===================================================================
--- trunk/dports/editors/vim-app/files/patch-compat-darwin13.diff	                        (rev 0)
+++ trunk/dports/editors/vim-app/files/patch-compat-darwin13.diff	2013-08-03 16:30:00 UTC (rev 108858)
@@ -0,0 +1,13 @@
+--- src/os_unix.c	2013-08-02 15:13:48.000000000 -0500
++++ src/os_unix.c	2013-08-02 15:14:51.000000000 -0500
+@@ -18,6 +18,10 @@
+  * changed beyond recognition.
+  */
+ 
++#if defined(__APPLE__)
++#include <AvailabilityMacros.h>
++#endif
++
+ /*
+  * Some systems have a prototype for select() that has (int *) instead of
+  * (fd_set *), which is wrong. This define removes that prototype. We define
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130803/4686637a/attachment.html>


More information about the macports-changes mailing list