Hello community,
here is the log from the commit of package librep for openSUSE:Factory checked in at 2014-09-03 18:22:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/librep (Old)
and /work/SRC/openSUSE:Factory/.librep.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "librep"
Changes:
--------
--- /work/SRC/openSUSE:Factory/librep/librep.changes 2013-01-10 15:46:17.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.librep.new/librep.changes 2014-09-03 20:19:12.000000000 +0200
@@ -1,0 +2,12 @@
+Mon Sep 1 07:13:15 UTC 2014 - toganm@opensuse.org
+
+- Update to 0.92.4
+ * Fix building librep on ARM
+
+- Packaging changes
+ * Backported from git
+ 0002-Assume-stack-direction-downwards-for-all-sparc-hppa-.patch
+
+ * Removed librep-armthumb.patch
+
+-------------------------------------------------------------------
Old:
----
librep-0.92.3.tar.xz
librep-armthumb.patch
New:
----
0002-Assume-stack-direction-downwards-for-all-sparc-hppa-.patch
librep_0.92.4.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ librep.spec ++++++
--- /var/tmp/diff_new_pack.GcRSdG/_old 2014-09-03 20:19:12.000000000 +0200
+++ /var/tmp/diff_new_pack.GcRSdG/_new 2014-09-03 20:19:12.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package librep
#
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2007 John Harper
#
# All modifications and additions to the file contributed by third parties
@@ -18,13 +18,13 @@
Name: librep
-Version: 0.92.3
+Version: 0.92.4
Release: 0
Summary: Implementation of rep, a lisp dialect
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
+Source: http://download.tuxfamily.org/librep/%{name}_%{version}.tar.xz
BuildRequires: chrpath
BuildRequires: emacs-nox
BuildRequires: fdupes
@@ -49,8 +49,8 @@
Patch2: 0001-string-to-number.patch
# PATCH-FEATURE-OPENSUSE toganm@opensuse.org remove builddate to prevent unnecessary builds
Patch3: librep-remove-build_date.patch
-# PATCH-FIX-DEBIAN crrodriguez@opensuse.org fix build in arm thumb
-Patch4: librep-armthumb.patch
+# PATCH-FIX-UPSTREAM fix build in sparc
+Patch4: 0002-Assume-stack-direction-downwards-for-all-sparc-hppa-.patch
%description
Librep is a shared library implementing a Lisp dialect that is
@@ -96,13 +96,12 @@
removed. Also, rep only has a single namespace for symbols.
%prep
-%setup -q
+%setup -q -n %{name}_%{version}
%patch1 -p1
%patch2 -p1
%patch3 -p1
-%patch4
+%patch4 -p1
%build
-sed -i 's/sparc|i?86|powerpc|x86_64|armv\*)/sparc|i?86|powerpc*|x86_64|armv*|s390*)/' configure
export CFLAGS="%{optflags} -D_GNU_SOURCE -fno-strict-aliasing"
export CXXFLAGS="$CFLAGS"
export CPPFLAGS="$CFLAGS"
++++++ 0002-Assume-stack-direction-downwards-for-all-sparc-hppa-.patch ++++++
From a6276509c54a241323b75bfeff079a340bd8f91d Mon Sep 17 00:00:00 2001
From: Christopher Roy Bratusek
Date: Thu, 28 Aug 2014 08:35:26 +0200
Subject: [PATCH 2/2] Assume stack-direction downwards for all sparc, hppa,
mips, mipsel, ia64 and alpha variants (fixes compilation)
Signed-off-by: madanyang
---
configure.in | 2 +-
debian/rules | 30 ++----------------------------
man/news.texi | 5 +++++
3 files changed, 8 insertions(+), 29 deletions(-)
diff --git a/configure.in b/configure.in
index 21f542b..a8742e6 100644
--- a/configure.in
+++ b/configure.in
@@ -536,7 +536,7 @@ AC_ARG_WITH(stack-direction,
[with_stack_direction=unknown])
if test "${with_stack_direction}" = unknown; then
case ${host_cpu} in
- sparc|i?86|powerpc*|x86_64|arm*|aarch64*|s390*)
+ sparc*|i?86*|powerpc*|x86_64*|arm*|aarch64*|s390*|hppa*|mips*|alpha*|ia64*)
AC_MSG_RESULT([assuming downwards])
with_stack_direction="-1"
;;
diff --git a/debian/rules b/debian/rules
index d724cf8..4001f6d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,37 +8,11 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
DEB_PREF = $(shell gcc -print-multiarch)
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- export DEB_CFLAGS_MAINT_APPEND = -O0 -Wall -g
-else
- export DEB_CFLAGS_MAINT_APPEND = -O2 -Wall -g
-endif
-
ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),m68k))
export DEB_CFLAGS_MAINT_APPEND = -Wall -g -O0
endif
-ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),alpha))
- ARCH_CONF = --with-stack-direction=-1
-endif
-
-ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),ia64))
- ARCH_CONF = --with-stack-direction=-1
-endif
-
-ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),mips))
- ARCH_CONF = --with-stack-direction=-1
-endif
-
-ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),mipsel))
- ARCH_CONF = --with-stack-direction=-1
-endif
-
-ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),armhf))
- ARCH_CONF = --with-stack-direction=-1
-endif
-
-DEB_CONFIGURE_USER_FLAGS = --with-readline $(ARCH_CONF)
+DEB_CONFIGURE_USER_FLAGS = --with-readline
dev_extras = debian/tmp -name install-aliases -o -name rep_config.h -o -name *.a -o -name *.jl
@@ -76,7 +50,7 @@ override_dh_strip:
dh_strip -a --dbg-package=librep-dbg
override_dh_makeshlibs:
- dh_makeshlibs -Xusr/lib/rep/
+ dh_makeshlibs -Xusr/lib/$(DEB_PREF)/rep/
override_dh_shlibdeps:
dh_shlibdeps -- --warnings=2
diff --git a/man/news.texi b/man/news.texi
index 9f49e2a..2a2ab7d 100644
--- a/man/news.texi
+++ b/man/news.texi
@@ -3,6 +3,11 @@
@chapter News
@cindex News
+@heading 0.92.5
+@itemize @bullet
+@item Assume stack-direction @code{downwards} for all sparc, hppa, mips, mipsel, ia64 and alpha variants (fixes compilation) [Christopher Bratusek]
+@end itemize
+
@heading 0.92.4
@itemize @bullet
--
2.1.0
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org