[librep] Force stack direction check on x86_64 for gcc-4.7
Kim B. Heino
kimheino at fedoraproject.org
Sat Jan 14 21:12:04 UTC 2012
commit 18d621587a6d09e14cae2cc2889ced2b547f8b31
Author: Kim B. Heino <b at bbbs.net>
Date: Sat Jan 14 23:11:21 2012 +0200
Force stack direction check on x86_64 for gcc-4.7
librep-0.92.1-stackdir-gcc47-64bit.patch | 11 +++++++++++
librep.spec | 7 ++++++-
2 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/librep-0.92.1-stackdir-gcc47-64bit.patch b/librep-0.92.1-stackdir-gcc47-64bit.patch
new file mode 100644
index 0000000..28f862e
--- /dev/null
+++ b/librep-0.92.1-stackdir-gcc47-64bit.patch
@@ -0,0 +1,11 @@
+--- a/configure.orig 2012-01-14 23:01:36.277653390 +0200
++++ b/configure 2012-01-14 23:01:58.001784075 +0200
+@@ -14520,7 +14520,7 @@
+
+ if test "${with_stack_direction}" = unknown; then
+ case ${host_cpu} in
+- sparc|i?86|powerpc)
++ sparc|i?86|powerpc|x86_64)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming downwards" >&5
+ $as_echo "assuming downwards" >&6; }
+ with_stack_direction="-1"
diff --git a/librep.spec b/librep.spec
index 667144e..e9e4cc3 100644
--- a/librep.spec
+++ b/librep.spec
@@ -1,10 +1,11 @@
Name: librep
Version: 0.92.1
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: A lightweight Lisp environment
License: GPLv2+
Group: Development/Languages
Source0: http://download.tuxfamily.org/%{name}/%{name}-%{version}.tar.bz2
+Patch0: librep-0.92.1-stackdir-gcc47-64bit.patch
URL: http://sawfish.wikia.com/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gmp-devel
@@ -53,6 +54,7 @@ nicely interacts and integrates into Emacs.
%prep
%setup -q
+%patch0 -p1
%build
%configure --with-readline --enable-shared --disable-static
@@ -114,6 +116,9 @@ fi
%{_emacs_sitelispdir}/rep-debugger.el
%changelog
+* Sat Jan 14 2012 Kim B. Heino <b at bbbs.net> - 0.92.1-4
+- Force stack direction check on x86_64 for gcc-4.7
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.92.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the scm-commits
mailing list