[62368] trunk/dports/ruby/rb-rubyosa
kimuraw at macports.org
kimuraw at macports.org
Tue Jan 5 04:30:26 PST 2010
Revision: 62368
http://trac.macports.org/changeset/62368
Author: kimuraw at macports.org
Date: 2010-01-05 04:30:20 -0800 (Tue, 05 Jan 2010)
Log Message:
-----------
ruby/rb-rubyosa: fix build error on Snow Leopard
Modified Paths:
--------------
trunk/dports/ruby/rb-rubyosa/Portfile
Added Paths:
-----------
trunk/dports/ruby/rb-rubyosa/files/patch-src-rbosa.h.diff
Modified: trunk/dports/ruby/rb-rubyosa/Portfile
===================================================================
--- trunk/dports/ruby/rb-rubyosa/Portfile 2010-01-05 04:54:25 UTC (rev 62367)
+++ trunk/dports/ruby/rb-rubyosa/Portfile 2010-01-05 12:30:20 UTC (rev 62368)
@@ -16,6 +16,11 @@
variant disable_ruby_libxml2 description "avoid SEGV with ruby-libxml2 >=0.7" {
patchfiles patch-src-lib-rbosa.rb.diff
}
+
+platform darwin 10 {
+ patchfiles-append patch-src-rbosa.h.diff
+}
+
default_variants +disable_ruby_libxml2
checksums md5 175440298a414c4a8d185f8459364a97 \
rmd160 dad775c3482d1487be565fb98494d455baa52390 \
Added: trunk/dports/ruby/rb-rubyosa/files/patch-src-rbosa.h.diff
===================================================================
--- trunk/dports/ruby/rb-rubyosa/files/patch-src-rbosa.h.diff (rev 0)
+++ trunk/dports/ruby/rb-rubyosa/files/patch-src-rbosa.h.diff 2010-01-05 12:30:20 UTC (rev 62368)
@@ -0,0 +1,10 @@
+--- src/rbosa.h.orig 2007-04-12 06:16:57.000000000 +0900
++++ src/rbosa.h 2010-01-05 21:22:58.000000000 +0900
+@@ -31,6 +31,7 @@
+
+ #include "osx_ruby.h"
+ #include <Carbon/Carbon.h>
++#define ID RB_ID
+ #include <sys/param.h>
+
+ /* rbosa_sdef.c */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100105/20f4b793/attachment.html>
More information about the macports-changes
mailing list