[25042] trunk/dports/editors/vim

source_changes at macosforge.org source_changes at macosforge.org
Sat May 12 16:26:26 PDT 2007


Revision: 25042
          http://trac.macosforge.org/projects/macports/changeset/25042
Author:   eridius at macports.org
Date:     2007-05-12 16:26:26 -0700 (Sat, 12 May 2007)

Log Message:
-----------
Add a workaround for an upstream bug in vim 7.1b +ruby (fixes #11936).

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

Added Paths:
-----------
    trunk/dports/editors/vim/files/patch-if_ruby.c

Modified: trunk/dports/editors/vim/Portfile
===================================================================
--- trunk/dports/editors/vim/Portfile	2007-05-12 23:22:48 UTC (rev 25041)
+++ trunk/dports/editors/vim/Portfile	2007-05-12 23:26:26 UTC (rev 25042)
@@ -95,6 +95,7 @@
 variant ruby {
     configure.args-append   --enable-rubyinterp
     depends_lib-append      bin:ruby:ruby
+    patchfiles-append       patch-if_ruby.c
 }
 variant tcl {
     configure.args-append   --enable-tclinterp

Added: trunk/dports/editors/vim/files/patch-if_ruby.c
===================================================================
--- trunk/dports/editors/vim/files/patch-if_ruby.c	                        (rev 0)
+++ trunk/dports/editors/vim/files/patch-if_ruby.c	2007-05-12 23:26:26 UTC (rev 25042)
@@ -0,0 +1,11 @@
+--- src/if_ruby.c.orig	2007-05-12 05:06:53.000000000 -0400
++++ src/if_ruby.c	2007-05-12 05:07:37.000000000 -0400
+@@ -54,7 +54,7 @@
+ #undef _
+ 
+ /* T_DATA defined both by Ruby and Mac header files, hack around it... */
+-#ifdef MACOS
++#if defined(MACOS_X_UNIX) || defined(macintosh)
+ # define __OPENTRANSPORT__
+ # define __OPENTRANSPORTPROTOCOL__
+ # define __OPENTRANSPORTPROVIDERS__

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070512/0dc5fb98/attachment.html


More information about the macports-changes mailing list