Hello, Please unblock obexftp 0.23-1.1. This packages fixes FTBFS #676084 with two small patches. Debdiff attached.
Regards, Bart Martens
diff -u obexftp-0.23/debian/changelog obexftp-0.23/debian/changelog --- obexftp-0.23/debian/changelog +++ obexftp-0.23/debian/changelog @@ -1,3 +1,12 @@ +obexftp (0.23-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Added patches to fix FTBFS. Closes: #676084. + + debian/patches/format.diff + + debian/patches/rstring.diff + + -- Bart Martens <[email protected]> Wed, 18 Jul 2012 05:46:10 +0000 + obexftp (0.23-1) unstable; urgency=low * New upstream release diff -u obexftp-0.23/debian/patches/series obexftp-0.23/debian/patches/series --- obexftp-0.23/debian/patches/series +++ obexftp-0.23/debian/patches/series @@ -1 +1,2 @@ - +format.diff +rstring.diff only in patch2: unchanged: --- obexftp-0.23.orig/debian/patches/rstring.diff +++ obexftp-0.23/debian/patches/rstring.diff @@ -0,0 +1,11 @@ +--- ../orig/obexftp-0.23/swig/ruby/ruby_wrap.c 2009-02-17 18:30:40.000000000 +0000 ++++ ./swig/ruby/ruby_wrap.c 2012-07-18 06:56:05.000000000 +0000 +@@ -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]); + + + only in patch2: unchanged: --- obexftp-0.23.orig/debian/patches/format.diff +++ obexftp-0.23/debian/patches/format.diff @@ -0,0 +1,11 @@ +--- ./swig/ruby/ruby_wrap.c_orig 2009-02-17 18:30:40.000000000 +0000 ++++ ./swig/ruby/ruby_wrap.c 2012-07-18 06:43:04.000000000 +0000 +@@ -1309,7 +1309,7 @@ + /* Error manipulation */ + + #define SWIG_ErrorType(code) SWIG_Ruby_ErrorType(code) +-#define SWIG_Error(code, msg) rb_raise(SWIG_Ruby_ErrorType(code), msg) ++#define SWIG_Error(code, msg) rb_raise(SWIG_Ruby_ErrorType(code), "%s", msg) + #define SWIG_fail goto fail + +

