packages: obexftp/obexftp.spec, obexftp/obexftp-ruby1.9.patch (NEW) - fix b...
baggins
baggins at pld-linux.org
Tue Mar 2 14:43:42 CET 2010
Author: baggins Date: Tue Mar 2 13:43:42 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- fix building with ruby 1.9
---- Files affected:
packages/obexftp:
obexftp.spec (1.28 -> 1.29) , obexftp-ruby1.9.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/obexftp/obexftp.spec
diff -u packages/obexftp/obexftp.spec:1.28 packages/obexftp/obexftp.spec:1.29
--- packages/obexftp/obexftp.spec:1.28 Tue Mar 2 14:17:44 2010
+++ packages/obexftp/obexftp.spec Tue Mar 2 14:43:36 2010
@@ -12,6 +12,7 @@
Patch0: %{name}-no_server.patch
Patch1: %{name}-perl.patch
Patch2: %{name}-nostress.patch
+Patch3: %{name}-ruby1.9.patch
URL: http://triq.net/obex/
BuildRequires: autoconf
BuildRequires: automake
@@ -141,6 +142,7 @@
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
# hack for -L/usr/%{_lib} before -L../../obexftp/.libs
ln -sf ../../obexftp/.libs/libobexftp.so swig/ruby
@@ -240,6 +242,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.29 2010/03/02 13:43:36 baggins
+- fix building with ruby 1.9
+
Revision 1.28 2010/03/02 13:17:44 baggins
- updated to 0.23
================================================================
Index: packages/obexftp/obexftp-ruby1.9.patch
diff -u /dev/null packages/obexftp/obexftp-ruby1.9.patch:1.1
--- /dev/null Tue Mar 2 14:43:42 2010
+++ packages/obexftp/obexftp-ruby1.9.patch Tue Mar 2 14:43:36 2010
@@ -0,0 +1,11 @@
+--- obexftp-0.23/swig/ruby/ruby_wrap.c~ 2009-02-17 19:30:40.000000000 +0100
++++ obexftp-0.23/swig/ruby/ruby_wrap.c 2010-03-02 14:42:43.359124637 +0100
+@@ -2580,7 +2580,7 @@
+
+ /* VALUE str = StringValue(argv[0]); // perhaps better? */
+ arg2 = STR2CSTR(argv[0]);
+- arg3 = (int) RSTRING(argv[0])->len;
++ arg3 = (int) RSTRING_LEN(argv[0]);
+
+
+
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/obexftp/obexftp.spec?r1=1.28&r2=1.29&f=u
More information about the pld-cvs-commit
mailing list