diff --git a/libguile-2.0.11-arm-asm.patch b/libguile-2.0.11-arm-asm.patch new file mode 100644 index 0000000..e87691d --- /dev/null +++ b/libguile-2.0.11-arm-asm.patch @@ -0,0 +1,11 @@ +--- guile-2.0.11/libguile/vm-i-scheme.c.orig 2016-05-16 11:11:30.490598931 +0200 ++++ guile-2.0.11/libguile/vm-i-scheme.c 2016-05-16 11:12:00.738677032 +0200 +@@ -363,7 +363,7 @@ + { \ + scm_t_signed_bits rlo, rhi; \ + asm ("smull %0, %1, %2, %3\n" \ +- : "=r" (rlo), "=r" (rhi) \ ++ : "=&r" (rlo), "=&r" (rhi) \ + : "r" (SCM_UNPACK (x) - scm_tc2_int), \ + "r" (SCM_I_INUM (y))); \ + if (SCM_LIKELY (SCM_SRS (rlo, 31) == rhi)) \ diff --git a/libguile.spec b/libguile.spec index 40660af..edf9215 100644 --- a/libguile.spec +++ b/libguile.spec @@ -1,7 +1,7 @@ %define majversion %(echo %version | cut -d. -f 1-2) Name: libguile Version: 2.0.11 -Release: 2mamba +Release: 3mamba Summary: A GNU implementation of Scheme for application extensibility Group: Development/Applications Vendor: openmamba @@ -9,6 +9,7 @@ Distribution: openmamba Packager: Silvan Calarco URL: http://www.gnu.org/software/guile/guile.html Source: http://ftp.gnu.org/gnu/guile/guile-%{version}.tar.xz +Patch0: libguile-2.0.11-arm-asm.patch License: LGPL BuildRoot: %{_tmppath}/%{name}-%{version}-root ## AUTOBUILDREQ-BEGIN @@ -21,6 +22,7 @@ BuildRequires: libncurses-devel BuildRequires: libreadline-devel BuildRequires: libunistring-devel ## AUTOBUILDREQ-END +BuildRequires: libunistring-devel >= 0.9.6-1mamba BuildRequires: pkg-config BuildRequires: slib >= 3b3 Requires(post):%{__install_info} @@ -50,12 +52,17 @@ You'll also need to install the guile package. %prep %setup -q -n guile-%{version} -#-D -T +%ifarch arm +%patch0 -p1 +%endif %build #:<< _EOF %configure \ - --with-threads + --with-threads \ +%ifarch arm + CFLAGS="%{optflags} -O1 +%endif %make scmconfig.h \ -j1 \ @@ -171,6 +178,9 @@ done #%doc ChangeLog GUILE-VERSION HACKING NEWS.bz2 README %changelog +* Sun May 15 2016 Silvan Calarco 2.0.11-3mamba +- rebuilt by autoport with build requirements: libunistring-devel>=0.9.6-1mamba + * Mon Apr 21 2014 Silvan Calarco 2.0.11-2mamba - move gdb .scm debug file from %_libdir to gdb auto-loaddir and put it in new -debug package