[librep/f18] Update to 0.92.3

Kim B. Heino kimheino at fedoraproject.org
Thu Jan 17 16:50:19 UTC 2013


commit 1cdf42f84f40f067e4ebe7e2c3eea042012a6894
Author: Kim B. Heino <b at bbbs.net>
Date:   Thu Jan 17 18:46:08 2013 +0200

    Update to 0.92.3

 librep-0.92.3-fix-arm-build.patch |   24 ++++++++++++++++++++++++
 librep.spec                       |   12 ++++++++----
 sources                           |    2 +-
 3 files changed, 33 insertions(+), 5 deletions(-)
---
diff --git a/librep-0.92.3-fix-arm-build.patch b/librep-0.92.3-fix-arm-build.patch
new file mode 100644
index 0000000..f3aa7a4
--- /dev/null
+++ b/librep-0.92.3-fix-arm-build.patch
@@ -0,0 +1,24 @@
+Fixes arm builds since register 7 is reserved in THUMB mode
+Original author is crrodriguez at opensuse.org
+
+Signed-off-by: Togan Muftuoglu <toganm at opensuse.org>
+---
+ src/lispmach.h | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+
+diff --git a/src/lispmach.h b/src/lispmach.h
+index 4ff5d24..0411ed2 100644
+--- a/src/lispmach.h
++++ b/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
+ 
+
diff --git a/librep.spec b/librep.spec
index fa6d287..e6db4cc 100644
--- a/librep.spec
+++ b/librep.spec
@@ -1,12 +1,14 @@
 Name: librep
-Version: 0.92.2
-Release: 6%{?dist}
+Version: 0.92.3
+Release: 1%{?dist}
 Summary: A lightweight Lisp environment
 License: GPLv2+
 Group: Development/Languages
 Source0: http://download.tuxfamily.org/%{name}/%{name}-%{version}.tar.bz2
 URL: http://sawfish.wikia.com/
 
+Patch0: librep-0.92.3-fix-arm-build.patch
+
 BuildRequires: gmp-devel
 BuildRequires: gdbm-devel
 BuildRequires: readline-devel
@@ -53,8 +55,7 @@ nicely interacts and integrates into Emacs.
 
 %prep
 %setup -q
-
-sed -i 's/sparc|i?86|powerpc|x86_64)/sparc|i?86|powerpc*|x86_64|armv*|s390*)/' configure
+%patch0 -p1
 
 %build
 %configure --with-readline --enable-shared --disable-static
@@ -112,6 +113,9 @@ fi
 %{_emacs_sitelispdir}/rep-debugger.el
 
 %changelog
+* Thu Jan 17 2013 Kim B. Heino <b at bbbs.net> - 0.92.3-1
+- Update to 0.92.3
+
 * Tue Sep 04 2012 Dan HorĂ¡k <dan[at]danny.cz> 0.92.2-6
 - fix stack direction on s390(x)
 
diff --git a/sources b/sources
index 87a640b..038520c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-98dc785c525c9d39881c62b2fddde030  librep-0.92.2.tar.bz2
+d46582f27efb50b47a7184a7c7372c35  librep-0.92.3.tar.bz2


More information about the scm-commits mailing list