Accepting request 129161 from devel:languages:misc

- fix ppc architecture detection 
link failure will be resolved automatically, as java will be fixed for ppc (forwarded request 128933 from k0da)

OBS-URL: https://build.opensuse.org/request/show/129161
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/erlang?expand=0&rev=5
This commit is contained in:
Stephan Kulow 2012-07-30 07:09:01 +00:00 committed by Git OBS Bridge
parent 4d0aa3b722
commit 3fe1766039
3 changed files with 19 additions and 0 deletions

12
erlang-ppc.patch Normal file
View File

@ -0,0 +1,12 @@
Index: otp_src_R14B04/erts/configure
===================================================================
--- otp_src_R14B04.orig/erts/configure
+++ otp_src_R14B04/erts/configure
@@ -5249,6 +5249,7 @@ case $chk_arch_ in
x86_64) ARCH=amd64;;
amd64) ARCH=amd64;;
macppc) ARCH=ppc;;
+ powerpc) ARCH=ppc;;
ppc) ARCH=ppc;;
ppc64) ARCH=ppc64;;
"Power Macintosh") ARCH=ppc;;

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jul 25 14:05:47 UTC 2012 - dvaleev@suse.com
- fix ppc architecture detection
-------------------------------------------------------------------
Fri Jun 29 09:54:00 UTC 2012 - idonmez@suse.com

View File

@ -36,6 +36,7 @@ Patch0: otp-R14B04-rpath.patch
Patch1: otp-R13B04-sslrpath.patch
# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch2: otp-R14B-implfun.patch
Patch3: erlang-ppc.patch
BuildRequires: gcc-c++
BuildRequires: ncurses-devel
BuildRequires: openssh
@ -186,6 +187,7 @@ A Graphics System used to write platform independent user interfaces.
%patch0 -p1 -b .rpath
%patch1 -p1 -b .sslrpath
%patch2 -p1 -b .implfun
%patch3 -p1
chmod -R u+w .
# enable dynamic linking for ssl