forked from pool/apache-commons-daemon
Accepting request 126987 from home:k0da:ppc
- read ppc64 as known platform. OBS-URL: https://build.opensuse.org/request/show/126987 OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-daemon?expand=0&rev=4
This commit is contained in:
parent
b986be96b1
commit
0f74acd255
16
apache-commons-daemon-ppc64.patch
Normal file
16
apache-commons-daemon-ppc64.patch
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
Index: commons-daemon-1.0.10-src/src/native/unix/configure
|
||||||
|
===================================================================
|
||||||
|
--- commons-daemon-1.0.10-src.orig/src/native/unix/configure
|
||||||
|
+++ commons-daemon-1.0.10-src/src/native/unix/configure
|
||||||
|
@@ -2607,7 +2607,10 @@ echo "$as_me: error: Unsupported operati
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
case $host_cpu in
|
||||||
|
- powerpc)
|
||||||
|
+ powerpc*)
|
||||||
|
+ CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
|
||||||
|
+ HOST_CPU=$host_cpu;;
|
||||||
|
+ ppc*)
|
||||||
|
CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
|
||||||
|
HOST_CPU=$host_cpu;;
|
||||||
|
sparc*)
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 3 13:28:57 UTC 2012 - dvaleev@suse.com
|
||||||
|
|
||||||
|
- read ppc64 as known platform.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jun 15 11:14:54 UTC 2012 - mvyskocil@suse.cz
|
Fri Jun 15 11:14:54 UTC 2012 - mvyskocil@suse.cz
|
||||||
|
|
||||||
|
@ -29,6 +29,7 @@ Source0: commons-daemon-%{version}-src.tar.gz
|
|||||||
Patch0: 0001-execve-path-warning.patch
|
Patch0: 0001-execve-path-warning.patch
|
||||||
Patch1: apache-commons-daemon-JAVA_OS.patch
|
Patch1: apache-commons-daemon-JAVA_OS.patch
|
||||||
Patch2: apache-commons-daemon-s390x.patch
|
Patch2: apache-commons-daemon-s390x.patch
|
||||||
|
Patch3: apache-commons-daemon-ppc64.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
@ -77,6 +78,7 @@ The Javadoc Documentation for Commons Daemon.
|
|||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
%patch3 -p1
|
||||||
|
|
||||||
# remove java binaries from sources
|
# remove java binaries from sources
|
||||||
rm -rf src/samples/build/
|
rm -rf src/samples/build/
|
||||||
|
Loading…
Reference in New Issue
Block a user