Accepting request 147452 from devel:languages:erlang

temporary fix building for armv7 (forwarded request 147446 from matwey)

OBS-URL: https://build.opensuse.org/request/show/147452
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/erlang?expand=0&rev=13
This commit is contained in:
Stephan Kulow 2013-01-10 09:57:16 +00:00 committed by Git OBS Bridge
commit 2edcae01df
3 changed files with 28 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jan 7 12:40:48 UTC 2013 - matwey.kornilov@gmail.com
- Add fix-armv7hl.patch - temporary fix build at armv7hl
-------------------------------------------------------------------
Sat Jan 5 19:39:43 UTC 2013 - matwey.kornilov@gmail.com

View File

@ -38,6 +38,10 @@ Patch0: otp-R15B02-rpath.patch
Patch1: erlang-ppc.patch
# PATCH-FIX-UPSTREAM -- See http://erlang.org/pipermail/erlang-bugs/2012-November/003214.html
Patch2: otp-R15B03-fix_ssl_accept_timeout.patch
# PATCH-FIX-UPSTREAM fix-armv7hl.patch - matwey.kornilov@gmail.com -- this makes erlang build at Factory:ARM for armv7hl
Patch3: fix-armv7hl.patch
# autoconf is required only by fix-armv7hl.patch
BuildRequires: autoconf
BuildRequires: gcc-c++
BuildRequires: ncurses-devel
BuildRequires: openssh
@ -190,6 +194,10 @@ A Graphics System used to write platform independent user interfaces.
%patch0 -p1 -b .rpath
%patch1 -p1
%patch2 -p1
%ifarch %arm
%patch3 -p1
autoreconf -si ./erts
%endif
chmod -R u+w .
# enable dynamic linking for ssl

15
fix-armv7hl.patch Normal file
View File

@ -0,0 +1,15 @@
diff --git a/erts/configure.in b/erts/configure.in
index 6ad1951..ce7e4ef 100644
--- a/erts/configure.in
+++ b/erts/configure.in
@@ -620,6 +620,7 @@ case $chk_arch_ in
armv5tel) ARCH=arm;;
armv5tejl) ARCH=arm;;
armv7l) ARCH=arm;;
+ armv7hl) ARCH=arm;;
tile) ARCH=tile;;
*) ARCH=noarch;;
esac
--
1.7.10