Accepting request 146234 from home:k0da:ppc

- fix powerpc detection (haveged-ppc.patch)

OBS-URL: https://build.opensuse.org/request/show/146234
OBS-URL: https://build.opensuse.org/package/show/security/haveged?expand=0&rev=68
This commit is contained in:
Cristian Rodríguez 2012-12-21 23:19:20 +00:00 committed by Git OBS Bridge
parent 016f11af6b
commit 5c27a07514
3 changed files with 20 additions and 0 deletions

13
haveged-ppc.patch Normal file
View File

@ -0,0 +1,13 @@
Index: haveged-1.6/configure.ac
===================================================================
--- haveged-1.6.orig/configure.ac
+++ haveged-1.6/configure.ac
@@ -127,7 +127,7 @@ case "$host" in
AC_DEFINE(HAVE_ISA_IA64, 1, [Define to 1 for ia64])
;;
- powerpc-*|pcc-*|powerpc64|ppc64)
+ powerpc-*|pcc-*|powerpc64-*|ppc64-*)
AC_DEFINE(HAVE_ISA_PPC, 1, [Define to 1 for ppc])
;;

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 21 11:53:16 UTC 2012 - dvaleev@suse.com
- fix powerpc detection (haveged-ppc.patch)
-------------------------------------------------------------------
Sun Dec 16 02:11:10 UTC 2012 - pascal.bleser@opensuse.org

View File

@ -26,6 +26,7 @@ Url: http://www.issihosts.com/haveged/
Source0: http://www.issihosts.com/haveged/%{name}-%{version}.tar.gz
Source1: %{name}.init
Source2: %{name}.service
Patch0: haveged-ppc.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: automake
Requires(pre): %insserv_prereq
@ -49,6 +50,7 @@ For more informations see http://www.issihosts.com/haveged/
%prep
%setup -q
%patch0 -p1
%build
autoreconf -fiv