Ticket #37305: Snapshot-66.patch
File Snapshot-66.patch, 7.7 KB (added by robsonpeixoto@…, 12 years ago) |
---|
-
Portfile
4 4 5 5 name MacVim 6 6 set vim_version 7.3 7 set snapshot 6 57 set snapshot 66 8 8 set gitcommit snapshot-${snapshot} 9 9 version ${vim_version}.snapshot${snapshot} 10 10 revision 1 … … 19 19 homepage http://code.google.com/p/macvim 20 20 21 21 master_sites http://github.com/b4winckler/macvim/zipball/${gitcommit} 22 checksums rmd160 fa99000846f2eee8fea41093eb74f539ee774607\23 sha256 b926c1c034dcb4e40e2bc70d85e6325f6b4e0ec59ad7a1313e74cb8de2dc59f022 checksums rmd160 a5c33364634a349099092cae4b60a115ad94f438 \ 23 sha256 910608b81fbea75495c03472ef2214ed4dd1354279dd7afd9c369a99797332b5 24 24 use_zip yes 25 25 worksrcdir ${name} 26 26 -
files/patch-MacVim-GCC-VERSION.diff
1 --- src/MacVim/MacVim.xcodeproj/project.pbxproj .orig 2011-10-16 16:14:43.000000000 +02002 +++ src/MacVim/MacVim.xcodeproj/project.pbxproj 2011-10-16 16:14:56.000000000 +02003 @@ -67 9,7 +679,7 @@1 --- src/MacVim/MacVim.xcodeproj/project.pbxproj 2 +++ src/MacVim/MacVim.xcodeproj/project.pbxproj 3 @@ -673,7 +673,7 @@ 4 4 isa = XCBuildConfiguration; 5 5 buildSettings = { 6 6 ARCHS = "$(NATIVE_ARCH_ACTUAL)"; … … 9 9 GCC_WARN_ABOUT_RETURN_TYPE = YES; 10 10 GCC_WARN_UNUSED_VARIABLE = YES; 11 11 ONLY_ACTIVE_ARCH = YES; 12 @@ -6 92,7 +692,7 @@12 @@ -686,7 +686,7 @@ 13 13 isa = XCBuildConfiguration; 14 14 buildSettings = { 15 15 ARCHS = "$(NATIVE_ARCH_ACTUAL)"; -
files/patch-python.diff
1 --- src/configure.in .orig 2010-08-04 20:32:32.000000000 +02002 +++ src/configure.in 2010-08-04 20:34:27.000000000 +02003 @@ - 762,7 +762,11 @@1 --- src/configure.in 2 +++ src/configure.in 3 @@ -862,7 +862,11 @@ AC_ARG_ENABLE(pythoninterp, 4 4 AC_MSG_RESULT($enable_pythoninterp) 5 if test "$enable_pythoninterp" = "yes" ; then5 if test "$enable_pythoninterp" = "yes" -o "$enable_pythoninterp" = "dynamic"; then 6 6 dnl -- find the python executable 7 7 - AC_PATH_PROG(vi_cv_path_python, python) 8 8 + AC_MSG_CHECKING(--with-python argument) … … 13 13 if test "X$vi_cv_path_python" != "X"; then 14 14 15 15 dnl -- get its version number 16 @@ - 840,19 +844,14 @@16 @@ -941,19 +945,15 @@ eof 17 17 dnl -- delete the lines from make about Entering/Leaving directory 18 18 eval "`cd ${PYTHON_CONFDIR} && make -f "${tmp_mkf}" __ | sed '/ directory /d'`" 19 19 rm -f -- "${tmp_mkf}" … … 30 30 - dnl remove -ltermcap, it can conflict with an earlier -lncurses 31 31 - vi_cv_path_python_plibs=`echo $vi_cv_path_python_plibs | sed s/-ltermcap//` 32 32 - fi 33 + if test "${vi_cv_var_python_version}" = "1.4"; then 34 + vi_cv_path_python_plibs="${PYTHON_CONFDIR}/libModules.a ${PYTHON_CONFDIR}/libPython.a ${PYTHON_CONFDIR}/libObjects.a ${PYTHON_CONFDIR}/libParser.a" 35 + else 36 + vi_cv_path_python_plibs="-L${PYTHON_CONFDIR} -lpython${vi_cv_var_python_version}" 37 + fi 38 + vi_cv_path_python_plibs="${vi_cv_path_python_plibs} ${python_BASEMODLIBS} ${python_LIBS} ${python_SYSLIBS} ${python_LINKFORSHARED}" 39 + dnl remove -ltermcap, it can conflict with an earlier -lncurses 40 + vi_cv_path_python_plibs=`echo $vi_cv_path_python_plibs | sed s/-ltermcap//` 33 + if test "${vi_cv_var_python_version}" = "1.4"; then 34 + vi_cv_path_python_plibs="${PYTHON_CONFDIR}/libModules.a ${PYTHON_CONFDIR}/libPython.a ${PYTHON_CONFDIR}/libObjects.a ${PYTHON_CONFDIR}/libParser.a" 35 + else 36 + vi_cv_path_python_plibs="-L${PYTHON_CONFDIR} -lpython${vi_cv_var_python_version}" 37 + fi 38 + vi_cv_path_python_plibs="${vi_cv_path_python_plibs} ${python_BASEMODLIBS} ${python_LIBS} ${python_SYSLIBS} ${python_LINKFORSHARED}" 39 + dnl remove -ltermcap, it can conflict with an earlier -lncurses 40 + vi_cv_path_python_plibs=`echo $vi_cv_path_python_plibs | sed s/-ltermcap//` 41 + 41 42 ]) 42 43 43 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 @@ 44 if test "X$python_DLLLIBRARY" != "X"; then 45 diff --git a/src/if_python.c b/src/if_python.c 46 index 5c89593..504558e 100644 47 --- src/if_python.c 48 +++ src/if_python.c 49 @@ -44,11 +44,7 @@ 50 # undef _XOPEN_SOURCE /* pyconfig.h defines it as well. */ 51 #endif 47 52 48 #define PY_SSIZE_T_CLEAN49 50 53 -#ifdef FEAT_GUI_MACVIM 51 54 -# include <Python/Python.h> 52 55 -#else 53 56 -# include <Python.h> 54 57 -#endif 55 -56 58 +#include <Python.h> 59 57 60 #if defined(MACOS) && !defined(MACOS_X_UNIX) 58 61 # include "macglue.h" 59 # include <CodeFragments.h> -
files/patch-python3.diff
1 --- src/configure.in .old 2008-12-07 02:58:32.000000000 +01002 +++ src/configure.in 2008-12-07 02:58:58.000000000 +01003 @@ - 949,7 +949,11 @@1 --- src/configure.in 2 +++ src/configure.in 3 @@ -1062,7 +1062,11 @@ AC_ARG_ENABLE(python3interp, 4 4 AC_MSG_RESULT($enable_python3interp) 5 5 if test "$enable_python3interp" = "yes" -o "$enable_python3interp" = "dynamic"; then 6 6 dnl -- find the python3 executable -
files/patch-src-MacVim-icons-python.diff
1 --- src/MacVim/icons/Makefile .orig 2011-07-10 08:06:34.000000000 +02002 +++ src/MacVim/icons/Makefile 2011-07-12 18:47:07.000000000 +02001 --- src/MacVim/icons/Makefile 2 +++ src/MacVim/icons/Makefile 3 3 @@ -1,5 +1,6 @@ 4 4 .PHONY: clean getenvy 5 5 … … 7 7 OUTDIR ?= . 8 8 9 9 # This script is called during the build phase with OUTDIR set to the Resources 10 @@ -21,10 +22,10 @@ 10 @@ -21,10 +22,10 @@ $(OUTDIR)/MacVim-generic.icns: 11 11 all: make_icons.py vim-noshadow-512.png loadfont.so 12 12 rm -f MacVim-*.icns 13 13 $(MAKE) -C makeicns -
files/patch-tcl.diff
1 --- src/configure.in .orig 2010-04-18 00:11:11.000000000 +02002 +++ src/configure.in 2010-04-18 00:17:10.000000000 +02003 @@ -1 213,12 +1213,7 @@1 --- src/configure.in 2 +++ src/configure.in 3 @@ -1390,12 +1390,7 @@ if test "$enable_tclinterp" = "yes"; then 4 4 tclloc=`echo 'set l [[info library]];set i [[string last lib $l]];incr i -2;puts [[string range $l 0 $i]]' | $vi_cv_path_tcl -` 5 5 6 6 AC_MSG_CHECKING(for location of Tcl include) … … 14 14 TCL_INC= 15 15 for try in $tclinc; do 16 16 if test -f "$try/tcl.h"; then 17 @@ -1 233,13 +1233,8 @@17 @@ -1410,13 +1405,8 @@ if test "$enable_tclinterp" = "yes"; then 18 18 fi 19 19 if test -z "$SKIP_TCL"; then 20 20 AC_MSG_CHECKING(for location of tclConfig.sh script) … … 25 25 - dnl For Mac OS X 10.3, use the OS-provided framework location 26 26 - tclcnf="/System/Library/Frameworks/Tcl.framework" 27 27 - fi 28 + 29 + 28 + tclcnf=`echo $tclinc | sed s/include/lib/g` 29 + tclcnf="$tclcnf `echo $tclinc | sed s/include/lib64/g`" 30 30 for try in $tclcnf; do 31 31 if test -f $try/tclConfig.sh; then 32 32 AC_MSG_RESULT($try/tclConfig.sh)