From 384097f03a37faebc259058b367269f08ea70159cf6a6a4a6fa7a6daf37f04d5 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 16 Mar 2010 15:57:40 +0000 Subject: [PATCH] Accepting request 34962 from home:oertel:branches:openSUSE:Factory Copy from home:oertel:branches:openSUSE:Factory/kexec-tools via accept of submit request 34962 revision 4. Request was accepted with message: Reviewed ok OBS-URL: https://build.opensuse.org/request/show/34962 OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kexec-tools?expand=0&rev=9 --- ARM_kexec-zImage-arm_page_to_unistd.diff | 12 -------- kexec-tools-xen-static.diff | 37 +++++++++++++++++++----- kexec-tools.changes | 6 ++++ kexec-tools.spec | 4 +-- 4 files changed, 37 insertions(+), 22 deletions(-) delete mode 100644 ARM_kexec-zImage-arm_page_to_unistd.diff diff --git a/ARM_kexec-zImage-arm_page_to_unistd.diff b/ARM_kexec-zImage-arm_page_to_unistd.diff deleted file mode 100644 index 88b5a14..0000000 --- a/ARM_kexec-zImage-arm_page_to_unistd.diff +++ /dev/null @@ -1,12 +0,0 @@ -diff -Napur _orig//kexec/arch/arm/kexec-zImage-arm.c kexec-tools-2.0.0//kexec/arch/arm/kexec-zImage-arm.c ---- _orig//kexec/arch/arm/kexec-zImage-arm.c 2008-07-14 13:28:19.000000000 +0200 -+++ kexec-tools-2.0.0//kexec/arch/arm/kexec-zImage-arm.c 2009-09-21 15:10:48.946616398 +0200 -@@ -11,7 +11,7 @@ - #include - #include - #include --#include -+#include - #include "../../kexec.h" - - #define COMMAND_LINE_SIZE 1024 diff --git a/kexec-tools-xen-static.diff b/kexec-tools-xen-static.diff index e59b420..5f85bd2 100644 --- a/kexec-tools-xen-static.diff +++ b/kexec-tools-xen-static.diff @@ -7,13 +7,36 @@ to use Xen support without a runtime dependency to the Xen package. Signed-off-by: Bernhard Walle ---- - configure.ac | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - ---- a/configure.ac -+++ b/configure.ac -@@ -128,7 +128,8 @@ fi +================================================================================ +--- kexec-tools-2.0.1/configure ++++ kexec-tools-2.0.1/configure +@@ -5023,8 +5023,7 @@ + + fi + if test "x$ac_cv_header_xenctrl_h" = x""yes; then +- +-{ $as_echo "$as_me:$LINENO: checking for xc_version in -lxenctrl" >&5 ++ { $as_echo "$as_me:$LINENO: checking for xc_version in -lxenctrl" >&5 + $as_echo_n "checking for xc_version in -lxenctrl... " >&6; } + if test "${ac_cv_lib_xenctrl_xc_version+set}" = set; then + $as_echo_n "(cached) " >&6 +@@ -5090,12 +5089,7 @@ + { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_xenctrl_xc_version" >&5 + $as_echo "$ac_cv_lib_xenctrl_xc_version" >&6; } + if test "x$ac_cv_lib_xenctrl_xc_version" = x""yes; then +- cat >>confdefs.h <<_ACEOF +-#define HAVE_LIBXENCTRL 1 +-_ACEOF +- +- LIBS="-lxenctrl $LIBS" +- ++ LIBS="$LIBS -Wl,-Bstatic -lxenctrl -Wl,-Bdynamic" + else + { $as_echo "$as_me:$LINENO: Xen support disabled" >&5 + $as_echo "$as_me: Xen support disabled" >&6;} +--- kexec-tools-2.0.1/configure.ac ++++ kexec-tools-2.0.1/configure.ac +@@ -145,7 +145,8 @@ dnl find Xen control stack libraries if test "$with_xen" = yes ; then AC_CHECK_HEADER(xenctrl.h, diff --git a/kexec-tools.changes b/kexec-tools.changes index 52e6702..248f70d 100644 --- a/kexec-tools.changes +++ b/kexec-tools.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 16 15:39:45 CET 2010 - ro@suse.de + +- disable autoreconf to fix build +- drop obsolete patch ARM_kexec-zImage-arm_page_to_unistd.diff + ------------------------------------------------------------------- Wed Feb 10 23:32:34 UTC 2010 - jengelh@medozas.de diff --git a/kexec-tools.spec b/kexec-tools.spec index 89e99b8..788f068 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -38,7 +38,6 @@ Source4: %{name}-%{version}-rpmlintrc Patch0: %{name}-no-vga-output.diff Patch1: %{name}-xen-static.diff Patch2: %{name}-increase-kernel-text-size.diff -Patch500: ARM_kexec-zImage-arm_page_to_unistd.diff Url: http://ftp.kernel.org/pub/linux/kernel/people/horms/kexec-tools/ BuildRoot: %{_tmppath}/%{name}-%{version}-build #!BuildIgnore: fop @@ -73,7 +72,6 @@ Authors: %patch0 -p1 %patch1 -p1 %patch2 -p1 -%patch500 -p1 %build # disable as-needed @@ -82,7 +80,7 @@ export SUSE_ASNEEDED=0 %ifarch ia64 RPM_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | sed -e 's/-fstack-protector//') %endif -autoreconf -f +#autoreconf -f CFLAGS=$RPM_OPT_FLAGS BUILD_CFLAGS=$RPM_OPT_FLAGS \ ./configure \ --prefix=/ \