[97692] trunk/dports/editors/MacVim
raimue at macports.org
raimue at macports.org
Wed Sep 12 03:52:31 PDT 2012
Revision: 97692
http://trac.macports.org//changeset/97692
Author: raimue at macports.org
Date: 2012-09-12 03:52:31 -0700 (Wed, 12 Sep 2012)
Log Message:
-----------
editors/MacVim:
Fix include of Python.h, which was picking up the system framework header
before and prevented +python25 and +python26 to be built; closes #36080.
Modified Paths:
--------------
trunk/dports/editors/MacVim/Portfile
trunk/dports/editors/MacVim/files/patch-python.diff
Modified: trunk/dports/editors/MacVim/Portfile
===================================================================
--- trunk/dports/editors/MacVim/Portfile 2012-09-12 09:04:56 UTC (rev 97691)
+++ trunk/dports/editors/MacVim/Portfile 2012-09-12 10:52:31 UTC (rev 97692)
@@ -7,6 +7,7 @@
set snapshot 65
set gitcommit snapshot-${snapshot}
version ${vim_version}.snapshot${snapshot}
+revision 1
categories editors
platforms darwin
license Vim GPL-2+
Modified: trunk/dports/editors/MacVim/files/patch-python.diff
===================================================================
--- trunk/dports/editors/MacVim/files/patch-python.diff 2012-09-12 09:04:56 UTC (rev 97691)
+++ trunk/dports/editors/MacVim/files/patch-python.diff 2012-09-12 10:52:31 UTC (rev 97692)
@@ -41,3 +41,19 @@
])
PYTHON_LIBS="${vi_cv_path_python_plibs}"
+--- src/if_python.c.orig 2012-09-12 12:42:42.000000000 +0200
++++ src/if_python.c 2012-09-12 12:45:22.000000000 +0200
+@@ -46,12 +46,7 @@
+
+ #define PY_SSIZE_T_CLEAN
+
+-#ifdef FEAT_GUI_MACVIM
+-# include <Python/Python.h>
+-#else
+-# include <Python.h>
+-#endif
+-
++#include <Python.h>
+ #if defined(MACOS) && !defined(MACOS_X_UNIX)
+ # include "macglue.h"
+ # include <CodeFragments.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120912/b730a949/attachment.html>
More information about the macports-changes
mailing list