Changeset 97692 for trunk/dports/editors


Ignore:
Timestamp:
Sep 12, 2012, 10:52:31 AM (7 years ago)
Author:
raimue@…
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.

Location:
trunk/dports/editors/MacVim
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/editors/MacVim/Portfile

    r97478 r97692  
    88set gitcommit       snapshot-${snapshot}
    99version             ${vim_version}.snapshot${snapshot}
     10revision            1
    1011categories          editors
    1112platforms           darwin
  • trunk/dports/editors/MacVim/files/patch-python.diff

    r70949 r97692  
    4242 
    4343        PYTHON_LIBS="${vi_cv_path_python_plibs}"
     44--- src/if_python.c.orig        2012-09-12 12:42:42.000000000 +0200
     45+++ src/if_python.c     2012-09-12 12:45:22.000000000 +0200
     46@@ -46,12 +46,7 @@
     47 
     48 #define PY_SSIZE_T_CLEAN
     49 
     50-#ifdef FEAT_GUI_MACVIM
     51-# include <Python/Python.h>
     52-#else
     53-# include <Python.h>
     54-#endif
     55-
     56+#include <Python.h>
     57 #if defined(MACOS) && !defined(MACOS_X_UNIX)
     58 # include "macglue.h"
     59 # include <CodeFragments.h>
Note: See TracChangeset for help on using the changeset viewer.