A patch to fix guile locale
This commit is contained in:
parent
fa769de6dd
commit
b1604a3cc8
10
swig-guile.patch
Normal file
10
swig-guile.patch
Normal file
@ -0,0 +1,10 @@
|
||||
diff -up swig-2.0.12/Examples/test-suite/guile/li_std_string_runme.scm.guile swig-2.0.12/Examples/test-suite/guile/li_std_string_runme.scm
|
||||
--- swig-2.0.12/Examples/test-suite/guile/li_std_string_runme.scm.guile 2014-02-09 15:09:05.000000000 -0700
|
||||
+++ swig-2.0.12/Examples/test-suite/guile/li_std_string_runme.scm 2014-03-01 08:33:41.343216202 -0700
|
||||
@@ -5,5 +5,5 @@
|
||||
; Note: when working with non-ascii strings in guile 2
|
||||
; locale must be set explicitly
|
||||
; The setlocale call below takes care of that
|
||||
-(setlocale LC_ALL "")
|
||||
+(setlocale LC_ALL "en_US.utf-8")
|
||||
(load "../schemerunme/li_std_string.scm")
|
@ -19,6 +19,9 @@ Group: Development/Tools
|
||||
URL: http://swig.sourceforge.net/
|
||||
Source0: http://downloads.sourceforge.net/project/swig/swig/swig-%{version}/swig-%{version}.tar.gz
|
||||
Source1: swig.1
|
||||
# Upstream patch to fix guile locale
|
||||
# https://github.com/swig/swig/pull/139/files
|
||||
Patch0: swig-guile.patch
|
||||
Patch1: swig207-setools.patch
|
||||
# Fix the failure on arch x390 during testing
|
||||
Patch2: swig-2.0.10-Fix-x390-build.patch
|
||||
@ -60,6 +63,7 @@ This package contains documentation for SWIG and useful examples
|
||||
%prep
|
||||
%setup -q -n swig-%{version}
|
||||
|
||||
%patch0 -p1 -b .guile
|
||||
%patch1 -p1 -b .setools
|
||||
%patch2 -p1 -b .x390
|
||||
|
||||
@ -129,6 +133,7 @@ gzip %{buildroot}%{_mandir}/man1/$(basename %{SOURCE1})
|
||||
%changelog
|
||||
* Fri Feb 28 2014 Orion Poplawski <orion@cora.nwra.com> - 2.0.12-1
|
||||
- Update to 2.0.12
|
||||
- A patch to fix guile locale
|
||||
|
||||
* Wed Oct 09 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2.0.11-2
|
||||
- Use bconds for enabling testsuite
|
||||
|
Loading…
Reference in New Issue
Block a user