Hello community,

here is the log from the commit of package librep for openSUSE:Factory checked 
in at 2012-12-05 13:57:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/librep (Old)
 and      /work/SRC/openSUSE:Factory/.librep.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "librep", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/librep/librep.changes    2012-11-08 
08:05:19.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.librep.new/librep.changes       2012-12-05 
13:57:21.000000000 +0100
@@ -1,0 +2,5 @@
+Tue Nov 27 21:44:46 UTC 2012 - [email protected]
+
+- librep-armthumb.patch: fix build in arm  
+
+-------------------------------------------------------------------

New:
----
  librep-armthumb.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ librep.spec ++++++
--- /var/tmp/diff_new_pack.CePNRl/_old  2012-12-05 13:57:22.000000000 +0100
+++ /var/tmp/diff_new_pack.CePNRl/_new  2012-12-05 13:57:22.000000000 +0100
@@ -20,12 +20,13 @@
 Name:           librep
 Version:        0.92.2.1
 Release:        0
-License:        GPL-2.0+
 Summary:        Implementation of rep, a lisp dialect
-Url:            http://sawfish.wikia.com/wiki/Librep
+License:        GPL-2.0+
 Group:          Development/Languages/Scheme
+Url:            http://sawfish.wikia.com/wiki/Librep
 Source:         http://download.tuxfamily.org/librep/%{name}-%{version}.tar.xz
 BuildRequires:  chrpath
+BuildRequires:  emacs-nox
 BuildRequires:  fdupes
 BuildRequires:  gdbm-devel
 BuildRequires:  gmp-devel
@@ -33,7 +34,6 @@
 BuildRequires:  ncurses-devel
 BuildRequires:  pkg-config
 BuildRequires:  readline-devel
-BuildRequires:  emacs-nox
 %if 0%{?suse_version} <= 1210
 BuildRequires:  xz
 %endif
@@ -51,6 +51,8 @@
 Patch2:     0001-string-to-number.patch
 # PATCH-FEATURE-OPENSUSE [email protected] remove builddate to prevent 
unnecessary builds
 Patch3:     librep-remove-build_date.patch
+# PATCH-FIX-DEBIAN [email protected] fix build in arm thumb
+Patch4:         librep-armthumb.patch
 
 %description
 Librep is a shared library implementing a Lisp dialect that is
@@ -101,15 +103,16 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
-
-
+%patch4
 %build
-export CFLAGS="%{optflags} -fno-strict-aliasing"
+sed -i 's/sparc|i?86|powerpc|x86_64)/sparc|i?86|powerpc*|x86_64|armv*|s390*)/' 
configure
+export CFLAGS="%{optflags} -D_GNU_SOURCE -fno-strict-aliasing"
 export CXXFLAGS="$CFLAGS"
 export CPPFLAGS="$CFLAGS"
 
 %configure --disable-static --with-readline --enable-shared
 make %{?_smp_mflags}
+
 %install
 %make_install
 chrpath --delete %{buildroot}%{_bindir}/rep
@@ -146,7 +149,6 @@
 %{_infodir}/%{name}.info.gz
 %{_datadir}/emacs/site-lisp/rep-*.elc
 
-
 %files -n librep16
 %defattr(-,root,root)
 %{_libdir}/librep.so.*
@@ -161,5 +163,4 @@
 %{_includedir}/rep/
 %{_libdir}/pkgconfig/librep.pc
 
-
 %changelog


++++++ librep-armthumb.patch ++++++
--- src/lispmach.h.orig
+++ src/lispmach.h
@@ -475,7 +475,8 @@ list_ref (repv list, int elt)
 #ifdef __arm__
 #define PC_REG asm("r9")
 #define SP_REG asm("r8")
-#define SLOTS_REG asm("r7")
+/* register 7 is reserved in THUMB mode */
+#define SLOTS_REG asm("r10")
 #endif
 #endif
 
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to