From: Leno Hou <lenohou@gmail.com>
To: blueness@gentoo.org, gentoo-dev@lists.gentoo.org
Cc: Leno Hou <lenohou@gmail.com>
Subject: [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: Fix ppc64le configure problem
Date: Tue, 19 Apr 2016 22:12:59 +0800 [thread overview]
Message-ID: <1461075186-13641-1-git-send-email-lenohou@gmail.com> (raw)
---
.../opensp-1.5.2-configure-with-ppc64le.patch | 26 ++++++++++++++++++++++
app-text/opensp/opensp-1.5.2-r3.ebuild | 3 ++-
app-text/opensp/opensp-1.5.2-r4.ebuild | 1 +
3 files changed, 29 insertions(+), 1 deletion(-)
create mode 100644 app-text/opensp/files/opensp-1.5.2-configure-with-ppc64le.patch
diff --git a/app-text/opensp/files/opensp-1.5.2-configure-with-ppc64le.patch b/app-text/opensp/files/opensp-1.5.2-configure-with-ppc64le.patch
new file mode 100644
index 0000000..e1c8bef
--- /dev/null
+++ b/app-text/opensp/files/opensp-1.5.2-configure-with-ppc64le.patch
@@ -0,0 +1,26 @@
+--- configure.orig 2016-04-09 16:24:17.507053635 +0000
++++ configure 2016-04-09 16:25:41.851918142 +0000
+@@ -4947,6 +4947,9 @@
+ ppc64-*linux*|powerpc64-*linux*)
+ LD="${LD-ld} -m elf32ppclinux"
+ ;;
++ ppc64le-*linux*|powerpc64le-*linux*)
++ LD="${LD-ld} -m elf32lppclinux"
++ ;;
+ s390x-*linux*)
+ LD="${LD-ld} -m elf_s390"
+ ;;
+@@ -4960,9 +4963,12 @@
+ x86_64-*linux*)
+ LD="${LD-ld} -m elf_x86_64"
+ ;;
+- ppc*-*linux*|powerpc*-*linux*)
++ ppc64-*linux*|powerpc64-*linux*)
+ LD="${LD-ld} -m elf64ppc"
+ ;;
++ ppc64le-*linux*|powerpc64le-*linux*)
++ LD="${LD-ld} -m elf64lppc"
++ ;;
+ s390*-*linux*)
+ LD="${LD-ld} -m elf64_s390"
+ ;;
diff --git a/app-text/opensp/opensp-1.5.2-r3.ebuild b/app-text/opensp/opensp-1.5.2-r3.ebuild
index 9f97607..28c32fc 100644
--- a/app-text/opensp/opensp-1.5.2-r3.ebuild
+++ b/app-text/opensp/opensp-1.5.2-r3.ebuild
@@ -33,7 +33,8 @@ S=${WORKDIR}/${MY_P}
src_prepare() {
epatch \
"${FILESDIR}"/${PN}-1.5-gcc34.patch \
- "${FILESDIR}"/${P}-fix-segfault.patch
+ "${FILESDIR}"/${P}-fix-segfault.patch \
+ "${FILESDIR}"/${P}-configure-with-ppc64le.patch
}
src_configure() {
diff --git a/app-text/opensp/opensp-1.5.2-r4.ebuild b/app-text/opensp/opensp-1.5.2-r4.ebuild
index 2abcab3..0851155 100644
--- a/app-text/opensp/opensp-1.5.2-r4.ebuild
+++ b/app-text/opensp/opensp-1.5.2-r4.ebuild
@@ -33,6 +33,7 @@ S=${WORKDIR}/${MY_P}
src_prepare() {
epatch "${FILESDIR}"/${P}-fix-segfault.patch
+ epatch "${FILESDIR}"/${P}-configure-with-ppc64le.patch
use prefix && eautoreconf
}
--
1.9.1
next reply other threads:[~2016-04-19 14:13 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-19 14:12 Leno Hou [this message]
2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 2/8] dev-libs/expat: Fix ppc64le configure problem Leno Hou
2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 3/8] net-firewall/iptables: " Leno Hou
2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 4/8] net-libs/libmnl: " Leno Hou
2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 5/8] sys-apps/acl: " Leno Hou
2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 6/8] sys-apps/attr: " Leno Hou
2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 7/8] sys-libs/gdbm: " Leno Hou
2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 8/8] sys-process/procps: " Leno Hou
2016-04-19 14:20 ` [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: " Michał Górny
2016-04-19 14:32 ` Leno Hou
2016-04-19 14:36 ` Michał Górny
2016-04-19 14:51 ` Leno Hou
2016-04-19 15:09 ` Leno Hou
2016-04-20 2:33 ` Mike Frysinger
2016-04-22 7:48 ` Leno Hou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1461075186-13641-1-git-send-email-lenohou@gmail.com \
--to=lenohou@gmail.com \
--cc=blueness@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox