[DRE-commits] [SCM] ruby-gherkin.git branch, master, updated. debian/2.11.0-1-7-gb0bb010

Antonio Terceiro terceiro at softwarelivre.org
Sat May 18 18:37:59 UTC 2013


The following commit has been merged in the master branch:
commit b0bb01097d43d90b500320d4f6f3a772a1bd75de
Author: Antonio Terceiro <terceiro at softwarelivre.org>
Date:   Sat May 18 15:26:10 2013 -0300

    Fix FTBFS on arm*, s390* and powerpc

diff --git a/debian/changelog b/debian/changelog
index f2c663b..2f690c3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ruby-gherkin (2.11.1-2) unstable; urgency=low
+
+  * debian/patches/signed_char.patch: force the assumption of signedness for
+    the char type (Closes: #685952)
+
+ -- Antonio Terceiro <terceiro at debian.org>  Sat, 18 May 2013 15:24:59 -0300
+
 ruby-gherkin (2.11.1-1) unstable; urgency=low
 
   * New upstream version
diff --git a/debian/patches/series b/debian/patches/series
index 8f0042d..736279d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 remove_bundler_rubygems_stuff.patch
+signed_char.patch
diff --git a/debian/patches/signed_char.patch b/debian/patches/signed_char.patch
new file mode 100644
index 0000000..ce32071
--- /dev/null
+++ b/debian/patches/signed_char.patch
@@ -0,0 +1,466 @@
+Description: Force the assumption of signedness for the char type
+ The ragel-generator parsers seem to assume that the char type is signed, what
+ is not the case in some architectures such as arm* and s390*
+Origin: vendor
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685952
+
+--- a/ext/gherkin_lexer_ar/extconf.rb
++++ b/ext/gherkin_lexer_ar/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_ar")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_ar")
+--- a/ext/gherkin_lexer_bg/extconf.rb
++++ b/ext/gherkin_lexer_bg/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_bg")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_bg")
+--- a/ext/gherkin_lexer_bm/extconf.rb
++++ b/ext/gherkin_lexer_bm/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_bm")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_bm")
+--- a/ext/gherkin_lexer_ca/extconf.rb
++++ b/ext/gherkin_lexer_ca/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_ca")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_ca")
+--- a/ext/gherkin_lexer_cs/extconf.rb
++++ b/ext/gherkin_lexer_cs/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_cs")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_cs")
+--- a/ext/gherkin_lexer_cy_gb/extconf.rb
++++ b/ext/gherkin_lexer_cy_gb/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_cy_gb")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_cy_gb")
+--- a/ext/gherkin_lexer_da/extconf.rb
++++ b/ext/gherkin_lexer_da/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_da")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_da")
+--- a/ext/gherkin_lexer_de/extconf.rb
++++ b/ext/gherkin_lexer_de/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_de")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_de")
+--- a/ext/gherkin_lexer_en/extconf.rb
++++ b/ext/gherkin_lexer_en/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_en")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_en")
+--- a/ext/gherkin_lexer_en_au/extconf.rb
++++ b/ext/gherkin_lexer_en_au/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_en_au")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_en_au")
+--- a/ext/gherkin_lexer_en_lol/extconf.rb
++++ b/ext/gherkin_lexer_en_lol/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_en_lol")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_en_lol")
+--- a/ext/gherkin_lexer_en_pirate/extconf.rb
++++ b/ext/gherkin_lexer_en_pirate/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_en_pirate")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_en_pirate")
+--- a/ext/gherkin_lexer_en_scouse/extconf.rb
++++ b/ext/gherkin_lexer_en_scouse/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_en_scouse")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_en_scouse")
+--- a/ext/gherkin_lexer_en_tx/extconf.rb
++++ b/ext/gherkin_lexer_en_tx/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_en_tx")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_en_tx")
+--- a/ext/gherkin_lexer_eo/extconf.rb
++++ b/ext/gherkin_lexer_eo/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_eo")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_eo")
+--- a/ext/gherkin_lexer_es/extconf.rb
++++ b/ext/gherkin_lexer_es/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_es")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_es")
+--- a/ext/gherkin_lexer_et/extconf.rb
++++ b/ext/gherkin_lexer_et/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_et")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_et")
+--- a/ext/gherkin_lexer_fi/extconf.rb
++++ b/ext/gherkin_lexer_fi/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_fi")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_fi")
+--- a/ext/gherkin_lexer_fr/extconf.rb
++++ b/ext/gherkin_lexer_fr/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_fr")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_fr")
+--- a/ext/gherkin_lexer_he/extconf.rb
++++ b/ext/gherkin_lexer_he/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_he")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_he")
+--- a/ext/gherkin_lexer_hr/extconf.rb
++++ b/ext/gherkin_lexer_hr/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_hr")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_hr")
+--- a/ext/gherkin_lexer_hu/extconf.rb
++++ b/ext/gherkin_lexer_hu/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_hu")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_hu")
+--- a/ext/gherkin_lexer_id/extconf.rb
++++ b/ext/gherkin_lexer_id/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_id")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_id")
+--- a/ext/gherkin_lexer_is/extconf.rb
++++ b/ext/gherkin_lexer_is/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_is")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_is")
+--- a/ext/gherkin_lexer_it/extconf.rb
++++ b/ext/gherkin_lexer_it/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_it")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_it")
+--- a/ext/gherkin_lexer_ja/extconf.rb
++++ b/ext/gherkin_lexer_ja/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_ja")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_ja")
+--- a/ext/gherkin_lexer_ko/extconf.rb
++++ b/ext/gherkin_lexer_ko/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_ko")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_ko")
+--- a/ext/gherkin_lexer_lt/extconf.rb
++++ b/ext/gherkin_lexer_lt/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_lt")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_lt")
+--- a/ext/gherkin_lexer_lu/extconf.rb
++++ b/ext/gherkin_lexer_lu/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_lu")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_lu")
+--- a/ext/gherkin_lexer_lv/extconf.rb
++++ b/ext/gherkin_lexer_lv/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_lv")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_lv")
+--- a/ext/gherkin_lexer_nl/extconf.rb
++++ b/ext/gherkin_lexer_nl/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_nl")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_nl")
+--- a/ext/gherkin_lexer_no/extconf.rb
++++ b/ext/gherkin_lexer_no/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_no")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_no")
+--- a/ext/gherkin_lexer_pl/extconf.rb
++++ b/ext/gherkin_lexer_pl/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_pl")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_pl")
+--- a/ext/gherkin_lexer_pt/extconf.rb
++++ b/ext/gherkin_lexer_pt/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_pt")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_pt")
+--- a/ext/gherkin_lexer_ro/extconf.rb
++++ b/ext/gherkin_lexer_ro/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_ro")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_ro")
+--- a/ext/gherkin_lexer_ru/extconf.rb
++++ b/ext/gherkin_lexer_ru/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_ru")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_ru")
+--- a/ext/gherkin_lexer_sk/extconf.rb
++++ b/ext/gherkin_lexer_sk/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_sk")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_sk")
+--- a/ext/gherkin_lexer_sr_cyrl/extconf.rb
++++ b/ext/gherkin_lexer_sr_cyrl/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_sr_cyrl")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_sr_cyrl")
+--- a/ext/gherkin_lexer_sr_latn/extconf.rb
++++ b/ext/gherkin_lexer_sr_latn/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_sr_latn")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_sr_latn")
+--- a/ext/gherkin_lexer_sv/extconf.rb
++++ b/ext/gherkin_lexer_sv/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_sv")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_sv")
+--- a/ext/gherkin_lexer_tr/extconf.rb
++++ b/ext/gherkin_lexer_tr/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_tr")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_tr")
+--- a/ext/gherkin_lexer_uk/extconf.rb
++++ b/ext/gherkin_lexer_uk/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_uk")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_uk")
+--- a/ext/gherkin_lexer_uz/extconf.rb
++++ b/ext/gherkin_lexer_uz/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_uz")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_uz")
+--- a/ext/gherkin_lexer_vi/extconf.rb
++++ b/ext/gherkin_lexer_vi/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_vi")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_vi")
+--- a/ext/gherkin_lexer_zh_cn/extconf.rb
++++ b/ext/gherkin_lexer_zh_cn/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_zh_cn")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_zh_cn")
+--- a/ext/gherkin_lexer_zh_tw/extconf.rb
++++ b/ext/gherkin_lexer_zh_tw/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
+-$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
++$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc|clang/
+ dir_config("gherkin_lexer_zh_tw")
+ have_library("c", "main")
+ create_makefile("gherkin_lexer_zh_tw")

-- 
ruby-gherkin.git



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