public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: Fix ppc64le configure problem
@ 2016-04-19 14:12 Leno Hou
  2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 2/8] dev-libs/expat: " Leno Hou
                   ` (8 more replies)
  0 siblings, 9 replies; 15+ messages in thread
From: Leno Hou @ 2016-04-19 14:12 UTC (permalink / raw
  To: blueness, gentoo-dev; +Cc: Leno Hou

---
 .../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



^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-dev] [PATCH v1][ 2/8] dev-libs/expat: Fix ppc64le configure problem
  2016-04-19 14:12 [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: Fix ppc64le configure problem Leno Hou
@ 2016-04-19 14:13 ` Leno Hou
  2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 3/8] net-firewall/iptables: " Leno Hou
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 15+ messages in thread
From: Leno Hou @ 2016-04-19 14:13 UTC (permalink / raw
  To: blueness, gentoo-dev; +Cc: Leno Hou

---
 dev-libs/expat/expat-2.1.0-r5.ebuild               |  1 +
 .../files/expat-2.1.0-configure-with-ppc64le.patch | 78 ++++++++++++++++++++++
 2 files changed, 79 insertions(+)
 create mode 100644 dev-libs/expat/files/expat-2.1.0-configure-with-ppc64le.patch

diff --git a/dev-libs/expat/expat-2.1.0-r5.ebuild b/dev-libs/expat/expat-2.1.0-r5.ebuild
index c0aca16..bb3d559 100644
--- a/dev-libs/expat/expat-2.1.0-r5.ebuild
+++ b/dev-libs/expat/expat-2.1.0-r5.ebuild
@@ -19,6 +19,7 @@ RDEPEND="abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r6
 src_prepare() {
 	epatch "${FILESDIR}"/${P}-xmlwfargs.patch
 	epatch "${FILESDIR}"/${P}-mozilla-sanity-check-size.patch #555642
+	epatch "${FILESDIR}"/${P}-configure-with-ppc64le.patch
 	elibtoolize
 }
 
diff --git a/dev-libs/expat/files/expat-2.1.0-configure-with-ppc64le.patch b/dev-libs/expat/files/expat-2.1.0-configure-with-ppc64le.patch
new file mode 100644
index 0000000..2d7f01e
--- /dev/null
+++ b/dev-libs/expat/files/expat-2.1.0-configure-with-ppc64le.patch
@@ -0,0 +1,78 @@
+--- configure.orig	2016-04-13 16:49:24.906810546 +0000
++++ configure	2016-04-13 16:52:37.792699936 +0000
+@@ -5932,6 +5932,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"
+ 	    ;;
+@@ -5948,9 +5951,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*|s390*-*tpf*)
+ 	    LD="${LD-ld} -m elf64_s390"
+ 	    ;;
+--- aclocal.m4.orig	2016-04-13 16:53:39.097309462 +0000
++++ aclocal.m4	2016-04-13 16:55:33.502456982 +0000
+@@ -1292,6 +1292,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"
+ 	    ;;
+@@ -1308,9 +1311,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*|s390*-*tpf*)
+ 	    LD="${LD-ld} -m elf64_s390"
+ 	    ;;
+--- m4/libtool.m4.org	2016-04-13 16:58:32.884276527 +0000
++++ m4/libtool.m4	2016-04-13 16:59:47.713041421 +0000
+@@ -1285,6 +1285,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"
+ 	    ;;
+@@ -1301,9 +1304,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*|s390*-*tpf*)
+ 	    LD="${LD-ld} -m elf64_s390"
+ 	    ;;
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-dev] [PATCH v1][ 3/8] net-firewall/iptables: Fix ppc64le configure problem
  2016-04-19 14:12 [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: Fix ppc64le configure problem Leno Hou
  2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 2/8] dev-libs/expat: " Leno Hou
@ 2016-04-19 14:13 ` Leno Hou
  2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 4/8] net-libs/libmnl: " Leno Hou
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 15+ messages in thread
From: Leno Hou @ 2016-04-19 14:13 UTC (permalink / raw
  To: blueness, gentoo-dev; +Cc: Leno Hou

---
 .../iptables-1.4.21-configure-with-ppc64le.patch   | 26 ++++++++++++++++++++++
 net-firewall/iptables/iptables-1.4.21-r1.ebuild    |  3 +++
 net-firewall/iptables/iptables-1.4.21-r2.ebuild    |  2 ++
 net-firewall/iptables/iptables-1.4.21-r3.ebuild    |  2 ++
 net-firewall/iptables/iptables-1.4.21-r4.ebuild    |  1 +
 5 files changed, 34 insertions(+)
 create mode 100644 net-firewall/iptables/files/iptables-1.4.21-configure-with-ppc64le.patch

diff --git a/net-firewall/iptables/files/iptables-1.4.21-configure-with-ppc64le.patch b/net-firewall/iptables/files/iptables-1.4.21-configure-with-ppc64le.patch
new file mode 100644
index 0000000..58ebb6a
--- /dev/null
+++ b/net-firewall/iptables/files/iptables-1.4.21-configure-with-ppc64le.patch
@@ -0,0 +1,26 @@
+--- configure.orig	2016-04-08 14:03:11.035208027 -0400
++++ configure	2016-04-08 14:05:22.270056952 -0400
+@@ -6707,6 +6707,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"
+ 	    ;;
+@@ -6723,9 +6726,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*|s390*-*tpf*)
+ 	    LD="${LD-ld} -m elf64_s390"
+ 	    ;;
diff --git a/net-firewall/iptables/iptables-1.4.21-r1.ebuild b/net-firewall/iptables/iptables-1.4.21-r1.ebuild
index 056b1b4..288f2da 100644
--- a/net-firewall/iptables/iptables-1.4.21-r1.ebuild
+++ b/net-firewall/iptables/iptables-1.4.21-r1.ebuild
@@ -31,6 +31,9 @@ src_prepare() {
 	# use the saner headers from the kernel
 	rm -f include/linux/{kernel,types}.h
 
+	# fix the configure problem for ppc64le
+	epatch "${FILESDIR}"/${P}-configure-with-ppc64le.patch
+
 	# Only run autotools if user patched something
 	epatch_user && eautoreconf || elibtoolize
 }
diff --git a/net-firewall/iptables/iptables-1.4.21-r2.ebuild b/net-firewall/iptables/iptables-1.4.21-r2.ebuild
index e87e4ed..1baaf2d 100644
--- a/net-firewall/iptables/iptables-1.4.21-r2.ebuild
+++ b/net-firewall/iptables/iptables-1.4.21-r2.ebuild
@@ -35,6 +35,8 @@ src_prepare() {
 	rm -f include/linux/{kernel,types}.h
 
 	epatch "${FILESDIR}"/${P}-configure.patch #557586
+	# fix the configure problem for ppc64le
+        epatch "${FILESDIR}"/${P}-configure-with-ppc64le.patch
 
 	# Only run autotools if user patched something
 	epatch_user && eautoreconf || elibtoolize
diff --git a/net-firewall/iptables/iptables-1.4.21-r3.ebuild b/net-firewall/iptables/iptables-1.4.21-r3.ebuild
index ef4eb78..7eb801f 100644
--- a/net-firewall/iptables/iptables-1.4.21-r3.ebuild
+++ b/net-firewall/iptables/iptables-1.4.21-r3.ebuild
@@ -36,6 +36,8 @@ src_prepare() {
 
 	epatch "${FILESDIR}"/${P}-configure.patch #557586
 	epatch "${FILESDIR}"/${P}-static-connlabel-config.patch #558234
+        epatch "${FILESDIR}"/${P}-configure-with-ppc64le.patch
+
 
 	# Only run autotools if user patched something
 	epatch_user && eautoreconf || elibtoolize
diff --git a/net-firewall/iptables/iptables-1.4.21-r4.ebuild b/net-firewall/iptables/iptables-1.4.21-r4.ebuild
index 49b9bd8..27c89fe 100644
--- a/net-firewall/iptables/iptables-1.4.21-r4.ebuild
+++ b/net-firewall/iptables/iptables-1.4.21-r4.ebuild
@@ -36,6 +36,7 @@ src_prepare() {
 
 	epatch "${FILESDIR}"/${P}-configure.patch #557586
 	epatch "${FILESDIR}"/${P}-static-connlabel-config.patch #558234
+	epatch "${FILESDIR}"/${P}-configure-with-ppc64le.patch
 
 	# Only run autotools if user patched something
 	epatch_user && eautoreconf || elibtoolize
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-dev] [PATCH v1][ 4/8] net-libs/libmnl: Fix ppc64le configure problem
  2016-04-19 14:12 [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: Fix ppc64le configure problem Leno Hou
  2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 2/8] dev-libs/expat: " Leno Hou
  2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 3/8] net-firewall/iptables: " Leno Hou
@ 2016-04-19 14:13 ` Leno Hou
  2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 5/8] sys-apps/acl: " Leno Hou
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 15+ messages in thread
From: Leno Hou @ 2016-04-19 14:13 UTC (permalink / raw
  To: blueness, gentoo-dev; +Cc: Leno Hou

---
 .../libmnl-1.0.3-configure-with-ppc64le.patch      | 26 ++++++++++++++++++++++
 net-libs/libmnl/libmnl-1.0.3-r1.ebuild             |  4 ++++
 2 files changed, 30 insertions(+)
 create mode 100644 net-libs/libmnl/files/libmnl-1.0.3-configure-with-ppc64le.patch

diff --git a/net-libs/libmnl/files/libmnl-1.0.3-configure-with-ppc64le.patch b/net-libs/libmnl/files/libmnl-1.0.3-configure-with-ppc64le.patch
new file mode 100644
index 0000000..d46bcc9
--- /dev/null
+++ b/net-libs/libmnl/files/libmnl-1.0.3-configure-with-ppc64le.patch
@@ -0,0 +1,26 @@
+--- configure.orig	2016-04-08 16:30:09.521850897 +0000
++++ configure	2016-04-08 16:34:25.932337241 +0000
+@@ -6309,6 +6309,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"
+ 	    ;;
+@@ -6325,9 +6328,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*|s390*-*tpf*)
+ 	    LD="${LD-ld} -m elf64_s390"
+ 	    ;;
diff --git a/net-libs/libmnl/libmnl-1.0.3-r1.ebuild b/net-libs/libmnl/libmnl-1.0.3-r1.ebuild
index 4b0bbc2..aa57068 100644
--- a/net-libs/libmnl/libmnl-1.0.3-r1.ebuild
+++ b/net-libs/libmnl/libmnl-1.0.3-r1.ebuild
@@ -15,6 +15,10 @@ SLOT="0"
 KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux"
 IUSE="examples static-libs"
 
+src_prepare() {
+        epatch "${FILESDIR}"/${P}-configure-with-ppc64le.patch
+}
+
 src_configure() {
 	econf $(use_enable static-libs static)
 }
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-dev] [PATCH v1][ 5/8] sys-apps/acl: Fix ppc64le configure problem
  2016-04-19 14:12 [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: Fix ppc64le configure problem Leno Hou
                   ` (2 preceding siblings ...)
  2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 4/8] net-libs/libmnl: " Leno Hou
@ 2016-04-19 14:13 ` Leno Hou
  2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 6/8] sys-apps/attr: " Leno Hou
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 15+ messages in thread
From: Leno Hou @ 2016-04-19 14:13 UTC (permalink / raw
  To: blueness, gentoo-dev; +Cc: Leno Hou

---
 sys-apps/acl/acl-2.2.52-r1.ebuild                  |  2 ++
 .../files/acl-2.2.52-configure-with-ppc64le.patch  | 26 ++++++++++++++++++++++
 2 files changed, 28 insertions(+)
 create mode 100644 sys-apps/acl/files/acl-2.2.52-configure-with-ppc64le.patch

diff --git a/sys-apps/acl/acl-2.2.52-r1.ebuild b/sys-apps/acl/acl-2.2.52-r1.ebuild
index d1d2169..e2112b3 100644
--- a/sys-apps/acl/acl-2.2.52-r1.ebuild
+++ b/sys-apps/acl/acl-2.2.52-r1.ebuild
@@ -31,6 +31,8 @@ src_prepare() {
 		|| die
 	strip-linguas po
 
+	epatch "${FILESDIR}"/${P}-configure-with-ppc64le.patch
+
 	# same as https://savannah.nongnu.org/bugs/index.php?39736
 	multilib_copy_sources
 }
diff --git a/sys-apps/acl/files/acl-2.2.52-configure-with-ppc64le.patch b/sys-apps/acl/files/acl-2.2.52-configure-with-ppc64le.patch
new file mode 100644
index 0000000..52fc63c
--- /dev/null
+++ b/sys-apps/acl/files/acl-2.2.52-configure-with-ppc64le.patch
@@ -0,0 +1,26 @@
+--- configure.orig	2016-04-09 08:34:52.432446384 +0000
++++ configure	2016-04-09 08:36:45.785578064 +0000
+@@ -5487,6 +5487,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"
+ 	    ;;
+@@ -5503,9 +5506,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*|s390*-*tpf*)
+ 	    LD="${LD-ld} -m elf64_s390"
+ 	    ;;
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-dev] [PATCH v1][ 6/8] sys-apps/attr: Fix ppc64le configure problem
  2016-04-19 14:12 [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: Fix ppc64le configure problem Leno Hou
                   ` (3 preceding siblings ...)
  2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 5/8] sys-apps/acl: " Leno Hou
@ 2016-04-19 14:13 ` Leno Hou
  2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 7/8] sys-libs/gdbm: " Leno Hou
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 15+ messages in thread
From: Leno Hou @ 2016-04-19 14:13 UTC (permalink / raw
  To: blueness, gentoo-dev; +Cc: Leno Hou

---
 sys-apps/attr/attr-2.4.47-r2.ebuild                |  1 +
 .../files/attr-2.4.47-configure-with-ppc64le.patch | 26 ++++++++++++++++++++++
 2 files changed, 27 insertions(+)
 create mode 100644 sys-apps/attr/files/attr-2.4.47-configure-with-ppc64le.patch

diff --git a/sys-apps/attr/attr-2.4.47-r2.ebuild b/sys-apps/attr/attr-2.4.47-r2.ebuild
index 11a6bda..2803514 100644
--- a/sys-apps/attr/attr-2.4.47-r2.ebuild
+++ b/sys-apps/attr/attr-2.4.47-r2.ebuild
@@ -29,6 +29,7 @@ src_prepare() {
 		include/builddefs.in \
 		|| die
 	strip-linguas -u po
+	epatch "${FILESDIR}"/${P}-configure-with-ppc64le.patch
 	multilib_copy_sources # https://savannah.nongnu.org/bugs/index.php?39736
 }
 
diff --git a/sys-apps/attr/files/attr-2.4.47-configure-with-ppc64le.patch b/sys-apps/attr/files/attr-2.4.47-configure-with-ppc64le.patch
new file mode 100644
index 0000000..13e8dfc
--- /dev/null
+++ b/sys-apps/attr/files/attr-2.4.47-configure-with-ppc64le.patch
@@ -0,0 +1,26 @@
+--- configure.orig	2016-04-09 01:41:18.087752381 +0000
++++ configure	2016-04-09 01:43:29.129086786 +0000
+@@ -5454,6 +5454,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"
+ 	    ;;
+@@ -5470,9 +5473,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*|s390*-*tpf*)
+ 	    LD="${LD-ld} -m elf64_s390"
+ 	    ;;
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-dev] [PATCH v1][ 7/8] sys-libs/gdbm: Fix ppc64le configure problem
  2016-04-19 14:12 [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: Fix ppc64le configure problem Leno Hou
                   ` (4 preceding siblings ...)
  2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 6/8] sys-apps/attr: " Leno Hou
@ 2016-04-19 14:13 ` Leno Hou
  2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 8/8] sys-process/procps: " Leno Hou
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 15+ messages in thread
From: Leno Hou @ 2016-04-19 14:13 UTC (permalink / raw
  To: blueness, gentoo-dev; +Cc: Leno Hou

---
 .../files/gdbm-1.11-configure-with-ppc64le.patch   | 26 ++++++++++++++++++++++
 sys-libs/gdbm/gdbm-1.11.ebuild                     |  1 +
 2 files changed, 27 insertions(+)
 create mode 100644 sys-libs/gdbm/files/gdbm-1.11-configure-with-ppc64le.patch

diff --git a/sys-libs/gdbm/files/gdbm-1.11-configure-with-ppc64le.patch b/sys-libs/gdbm/files/gdbm-1.11-configure-with-ppc64le.patch
new file mode 100644
index 0000000..2bdba70
--- /dev/null
+++ b/sys-libs/gdbm/files/gdbm-1.11-configure-with-ppc64le.patch
@@ -0,0 +1,26 @@
+--- configure.orig	2016-04-09 17:02:36.818123640 +0000
++++ configure	2016-04-09 17:04:09.407071685 +0000
+@@ -6898,6 +6898,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"
+ 	    ;;
+@@ -6914,9 +6917,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*|s390*-*tpf*)
+ 	    LD="${LD-ld} -m elf64_s390"
+ 	    ;;
diff --git a/sys-libs/gdbm/gdbm-1.11.ebuild b/sys-libs/gdbm/gdbm-1.11.ebuild
index 06ebd03..aa9d6cf 100644
--- a/sys-libs/gdbm/gdbm-1.11.ebuild
+++ b/sys-libs/gdbm/gdbm-1.11.ebuild
@@ -26,6 +26,7 @@ RDEPEND="
 EX_S="${WORKDIR}"/${EX_P}
 
 src_prepare() {
+	epatch "${FILESDIR}"/${P}-configure-with-ppc64le.patch
 	elibtoolize
 }
 
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-dev] [PATCH v1][ 8/8] sys-process/procps: Fix ppc64le configure problem
  2016-04-19 14:12 [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: Fix ppc64le configure problem Leno Hou
                   ` (5 preceding siblings ...)
  2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 7/8] sys-libs/gdbm: " Leno Hou
@ 2016-04-19 14:13 ` Leno Hou
  2016-04-19 14:20 ` [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: " Michał Górny
  2016-04-20  2:33 ` Mike Frysinger
  8 siblings, 0 replies; 15+ messages in thread
From: Leno Hou @ 2016-04-19 14:13 UTC (permalink / raw
  To: blueness, gentoo-dev; +Cc: Leno Hou

---
 .../procps-3.3.10-configure-with-ppc64le.patch     | 26 ++++++++++++++++++++++
 sys-process/procps/procps-3.3.10-r1.ebuild         |  1 +
 2 files changed, 27 insertions(+)
 create mode 100644 sys-process/procps/files/procps-3.3.10-configure-with-ppc64le.patch

diff --git a/sys-process/procps/files/procps-3.3.10-configure-with-ppc64le.patch b/sys-process/procps/files/procps-3.3.10-configure-with-ppc64le.patch
new file mode 100644
index 0000000..9251a09
--- /dev/null
+++ b/sys-process/procps/files/procps-3.3.10-configure-with-ppc64le.patch
@@ -0,0 +1,26 @@
+--- configure.orig	2016-04-09 00:44:30.728256474 +0000
++++ configure	2016-04-09 00:47:52.098589452 +0000
+@@ -9367,6 +9367,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"
+ 	    ;;
+@@ -9383,9 +9386,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*|s390*-*tpf*)
+ 	    LD="${LD-ld} -m elf64_s390"
+ 	    ;;
diff --git a/sys-process/procps/procps-3.3.10-r1.ebuild b/sys-process/procps/procps-3.3.10-r1.ebuild
index f254f34..237ebda 100644
--- a/sys-process/procps/procps-3.3.10-r1.ebuild
+++ b/sys-process/procps/procps-3.3.10-r1.ebuild
@@ -34,6 +34,7 @@ src_prepare() {
 	epatch "${FILESDIR}"/${PN}-3.3.8-kill-neg-pid.patch # http://crbug.com/255209
 	epatch "${FILESDIR}"/${P}-pmap-unreadable.patch #404389
 	epatch "${FILESDIR}"/${P}-tests-no-tty.patch #461302
+	epatch "${FILESDIR}"/${P}-configure-with-ppc64le.patch
 	sed -i -e 's:systemd-login:systemd:' configure || die #501306
 }
 
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 15+ messages in thread

* Re: [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: Fix ppc64le configure problem
  2016-04-19 14:12 [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: Fix ppc64le configure problem Leno Hou
                   ` (6 preceding siblings ...)
  2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 8/8] sys-process/procps: " Leno Hou
@ 2016-04-19 14:20 ` Michał Górny
  2016-04-19 14:32   ` Leno Hou
  2016-04-20  2:33 ` Mike Frysinger
  8 siblings, 1 reply; 15+ messages in thread
From: Michał Górny @ 2016-04-19 14:20 UTC (permalink / raw
  To: Leno Hou; +Cc: blueness, gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1802 bytes --]

On Tue, 19 Apr 2016 22:12:59 +0800
Leno Hou <lenohou@gmail.com> wrote:

> ---
>  .../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"
> +           ;;

Isn't that the generic kind of problem usually fixed via elibtoolize?

-- 
Best regards,
Michał Górny
<http://dev.gentoo.org/~mgorny/>

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 949 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: Fix ppc64le configure problem
  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
  0 siblings, 1 reply; 15+ messages in thread
From: Leno Hou @ 2016-04-19 14:32 UTC (permalink / raw
  To: Michał Górny; +Cc: Anthony G. Basile, gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 2070 bytes --]

On Tue, Apr 19, 2016 at 10:20 PM, Michał Górny <mgorny@gentoo.org> wrote:

> On Tue, 19 Apr 2016 22:12:59 +0800
> Leno Hou <lenohou@gmail.com> wrote:
>
> > ---
> >  .../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"
> > +           ;;
>
> Isn't that the generic kind of problem usually fixed via elibtoolize?
>

 How to fix it via elibtoolize ? Thanks if you give me in detail ;-)

--
> Best regards,
> Michał Górny
> <http://dev.gentoo.org/~mgorny/>
>

[-- Attachment #2: Type: text/html, Size: 3276 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: Fix ppc64le configure problem
  2016-04-19 14:32   ` Leno Hou
@ 2016-04-19 14:36     ` Michał Górny
  2016-04-19 14:51       ` Leno Hou
  0 siblings, 1 reply; 15+ messages in thread
From: Michał Górny @ 2016-04-19 14:36 UTC (permalink / raw
  To: Leno Hou; +Cc: Anthony G. Basile, gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 2407 bytes --]

On Tue, 19 Apr 2016 22:32:51 +0800
Leno Hou <lenohou@gmail.com> wrote:

> On Tue, Apr 19, 2016 at 10:20 PM, Michał Górny <mgorny@gentoo.org> wrote:
> 
> > On Tue, 19 Apr 2016 22:12:59 +0800
> > Leno Hou <lenohou@gmail.com> wrote:
> >  
> > > ---
> > >  .../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"
> > > +           ;;  
> >
> > Isn't that the generic kind of problem usually fixed via elibtoolize?
> >  
> 
>  How to fix it via elibtoolize ? Thanks if you give me in detail ;-)

I don't know the details, I just know it does some random common
patching to configure files. Take a look at libtool.eclass and
ELT-patches.

-- 
Best regards,
Michał Górny
<http://dev.gentoo.org/~mgorny/>

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 949 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: Fix ppc64le configure problem
  2016-04-19 14:36     ` Michał Górny
@ 2016-04-19 14:51       ` Leno Hou
  2016-04-19 15:09         ` Leno Hou
  0 siblings, 1 reply; 15+ messages in thread
From: Leno Hou @ 2016-04-19 14:51 UTC (permalink / raw
  To: Michał Górny; +Cc: Anthony G. Basile, gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 2590 bytes --]

On Tue, Apr 19, 2016 at 10:36 PM, Michał Górny <mgorny@gentoo.org> wrote:

> On Tue, 19 Apr 2016 22:32:51 +0800
> Leno Hou <lenohou@gmail.com> wrote:
>
> > On Tue, Apr 19, 2016 at 10:20 PM, Michał Górny <mgorny@gentoo.org>
> wrote:
> >
> > > On Tue, 19 Apr 2016 22:12:59 +0800
> > > Leno Hou <lenohou@gmail.com> wrote:
> > >
> > > > ---
> > > >  .../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"
> > > > +           ;;
> > >
> > > Isn't that the generic kind of problem usually fixed via elibtoolize?
> > >
> >
> >  How to fix it via elibtoolize ? Thanks if you give me in detail ;-)
>
> I don't know the details, I just know it does some random common
> patching to configure files. Take a look at libtool.eclass and
> ELT-patches.


Seems can't  fix this in libtool.eclass and ELT-patches.

-Leno Hou

[-- Attachment #2: Type: text/html, Size: 3848 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: Fix ppc64le configure problem
  2016-04-19 14:51       ` Leno Hou
@ 2016-04-19 15:09         ` Leno Hou
  0 siblings, 0 replies; 15+ messages in thread
From: Leno Hou @ 2016-04-19 15:09 UTC (permalink / raw
  To: Michał Górny; +Cc: Anthony G. Basile, gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 2908 bytes --]

On Tue, Apr 19, 2016 at 10:51 PM, Leno Hou <lenohou@gmail.com> wrote:

> On Tue, Apr 19, 2016 at 10:36 PM, Michał Górny <mgorny@gentoo.org> wrote:
>
>> On Tue, 19 Apr 2016 22:32:51 +0800
>> Leno Hou <lenohou@gmail.com> wrote:
>>
>> > On Tue, Apr 19, 2016 at 10:20 PM, Michał Górny <mgorny@gentoo.org>
>> wrote:
>> >
>> > > On Tue, 19 Apr 2016 22:12:59 +0800
>> > > Leno Hou <lenohou@gmail.com> wrote:
>> > >
>> > > > ---
>> > > >  .../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"
>> > > > +           ;;
>> > >
>> > > Isn't that the generic kind of problem usually fixed via elibtoolize?
>> > >
>> >
>> >  How to fix it via elibtoolize ? Thanks if you give me in detail ;-)
>>
>> I don't know the details, I just know it does some random common
>> patching to configure files. Take a look at libtool.eclass and
>> ELT-patches.
>
>
> Seems can't  fix this in libtool.eclass and ELT-patches.
>
>

How goes today ? I've got strict on some metadata.xml stuffs with github PRs
QA check
<https://qa-reports.gentoo.org/output/gentoo-ci/dfdf38e/output.html> ......

-Leno Hou

[-- Attachment #2: Type: text/html, Size: 4691 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: Fix ppc64le configure problem
  2016-04-19 14:12 [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: Fix ppc64le configure problem Leno Hou
                   ` (7 preceding siblings ...)
  2016-04-19 14:20 ` [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: " Michał Górny
@ 2016-04-20  2:33 ` Mike Frysinger
  2016-04-22  7:48   ` Leno Hou
  8 siblings, 1 reply; 15+ messages in thread
From: Mike Frysinger @ 2016-04-20  2:33 UTC (permalink / raw
  To: gentoo-dev; +Cc: blueness, Leno Hou

[-- Attachment #1: Type: text/plain, Size: 831 bytes --]

On 19 Apr 2016 22:12, Leno Hou wrote:
> --- /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"
> ++          ;;

you appear to be patching libtool code.  this should be in libtool
itself. if it's a common issue, we'll want to leverage elibtoolize
here.  make a patch and stick it in eclass/ELT-patches/ppc64le/,
and then update the libtool.eclass file to apply those.  then update
opensp to call the elibtoolize function in src_prepare.
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: Fix ppc64le configure problem
  2016-04-20  2:33 ` Mike Frysinger
@ 2016-04-22  7:48   ` Leno Hou
  0 siblings, 0 replies; 15+ messages in thread
From: Leno Hou @ 2016-04-22  7:48 UTC (permalink / raw
  To: gentoo-dev, Anthony G. Basile, Leno Hou, Zhao Kevin

[-- Attachment #1: Type: text/plain, Size: 1073 bytes --]

On Wed, Apr 20, 2016 at 10:33 AM, Mike Frysinger <vapier@gentoo.org> wrote:

> On 19 Apr 2016 22:12, Leno Hou wrote:
> > --- /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"
> > ++          ;;
>
> you appear to be patching libtool code.  this should be in libtool
> itself. if it's a common issue, we'll want to leverage elibtoolize
> here.  make a patch and stick it in eclass/ELT-patches/ppc64le/,
> and then update the libtool.eclass file to apply those.  then update
> opensp to call the elibtoolize function in src_prepare.
> -mike
>

Thanks Mike, I've sent the patch in mailing list and cc'ed you. Could you
help me to review and merge?

-Leno Hou

[-- Attachment #2: Type: text/html, Size: 1764 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2016-04-22  7:48 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-19 14:12 [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: Fix ppc64le configure problem Leno Hou
2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 2/8] dev-libs/expat: " 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox