[DRE-commits] [ruby-mecab] 06/08: Remove debian/patches/ftbfs-use-swig2.patch

Takaki Taniguchi takaki at alioth.debian.org
Mon Aug 19 06:25:19 UTC 2013


This is an automated email from the git hooks/post-receive script.

takaki pushed a commit to branch master
in repository ruby-mecab.

commit 3d1e627c4db4eeb97e8e8814b382a395c6cb84b7
Author: TANIGUCHI Takaki <takaki at asis.media-as.org>
Date:   Mon Aug 19 15:19:51 2013 +0900

    Remove debian/patches/ftbfs-use-swig2.patch
---
 debian/changelog                     |    4 ++
 debian/patches/ftbfs-use-swig2.patch |   74 ----------------------------------
 2 files changed, 4 insertions(+), 74 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 399a80f..c8645b8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,10 @@ ruby-mecab (0.99.6-1~1.gbp57c87a) UNRELEASED; urgency=low
   ** SNAPSHOT build @57c87a588eb00f5a41abe95d954d7b87532b96fc **
 
   * Imported Upstream version 0.99.6
+  * new upstream
+  * remove  debian/patches/series
+  * drop support ruby-1.8
+  * debian/control: Bump Standards-Version to 3.9.4 (with no changes).
 
  -- TANIGUCHI Takaki <takaki at asis.media-as.org>  Mon, 19 Aug 2013 14:50:09 +0900
 
diff --git a/debian/patches/ftbfs-use-swig2.patch b/debian/patches/ftbfs-use-swig2.patch
deleted file mode 100644
index a526ed9..0000000
--- a/debian/patches/ftbfs-use-swig2.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-From: Artur Rona <ari-tczew at tlen.pl>
-Description: Ruby 1.9.1 has a "memoisation optimisation" when compiling with GCC which breaks using rb_intern as an lvalue, as SWIG does. We work around this issue for now by disabling this.
-Bug: https://sourceforge.net/tracker/?func=detail&aid=2859614&group_id=1645&atid=101645
-Bug-Debian: http://bugs.debian.org/676203
-Origin: upstream, http://code.google.com/p/mecab/source/diff?spec=svn112&old=91&r=112&format=unidiff&path=%2Ftrunk%2Fmecab%2Fruby%2FMeCab_wrap.cpp
-
-diff -pruN -x '*~' mecab-ruby-0.993.orig/MeCab_wrap.cpp mecab-ruby-0.993/MeCab_wrap.cpp
---- mecab-ruby-0.993.orig/MeCab_wrap.cpp	2012-02-10 17:46:45.000000000 +0100
-+++ mecab-ruby-0.993/MeCab_wrap.cpp	2012-06-19 22:26:36.000000000 +0200
-@@ -854,6 +854,10 @@ SWIG_UnpackDataName(const char *c, void
- 
- 
- #include <ruby.h>
-+ 
-+#ifdef rb_intern
-+# undef rb_intern
-+#endif
- 
- /* Remove global macros defined in Ruby's win32.h */
- #ifdef write
-@@ -1402,7 +1406,7 @@ SWIG_Ruby_AppendOutput(VALUE target, VAL
- /* 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				 
- 
- 
-@@ -1457,7 +1461,7 @@ static ID swig_call_id  = 0;
-       ++swig_virtual_calls;
- #  define SWIG_RELEASE_STACK --swig_virtual_calls;
- #  define Ruby_DirectorTypeMismatchException(x) \
--          rb_raise( rb_eTypeError, x ); return c_result;
-+          rb_raise( rb_eTypeError, "%s", x ); return c_result;
- 
-       static unsigned int swig_virtual_calls = 0;
- 
-@@ -1838,7 +1842,7 @@ static VALUE mMeCab;
- #define SWIG_RUBY_THREAD_END_BLOCK
- 
- 
--#define SWIGVERSION 0x010340 
-+#define SWIGVERSION 0x020004
- #define SWIG_VERSION SWIGVERSION
- 
- 
-@@ -2000,7 +2004,7 @@ SWIG_ruby_failed(void)
- } 
- 
- 
--/*@SWIG:/usr/share/swig1.3/ruby/rubyprimtypes.swg,23,%ruby_aux_method@*/
-+/*@SWIG:/usr/share/swig2.0/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
- SWIGINTERN VALUE SWIG_AUX_NUM2DBL(VALUE *args)
- {
-   VALUE obj = args[0];
-@@ -2076,7 +2080,7 @@ SWIG_From_bool  (bool value)
- }
- 
- 
--/*@SWIG:/usr/share/swig1.3/ruby/rubyprimtypes.swg,23,%ruby_aux_method@*/
-+/*@SWIG:/usr/share/swig2.0/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
- SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE *args)
- {
-   VALUE obj = args[0];
-@@ -2122,7 +2126,7 @@ SWIG_From_size_t  (size_t value)
- }
- 
- 
--/*@SWIG:/usr/share/swig1.3/ruby/rubyprimtypes.swg,23,%ruby_aux_method@*/
-+/*@SWIG:/usr/share/swig2.0/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
- SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
- {
-   VALUE obj = args[0];

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-mecab.git



More information about the Pkg-ruby-extras-commits mailing list