1 |
--- |
2 |
sys-apps/attr/attr-2.4.47-r2.ebuild | 1 + |
3 |
.../files/attr-2.4.47-configure-with-ppc64le.patch | 26 ++++++++++++++++++++++ |
4 |
2 files changed, 27 insertions(+) |
5 |
create mode 100644 sys-apps/attr/files/attr-2.4.47-configure-with-ppc64le.patch |
6 |
|
7 |
diff --git a/sys-apps/attr/attr-2.4.47-r2.ebuild b/sys-apps/attr/attr-2.4.47-r2.ebuild |
8 |
index 11a6bda..2803514 100644 |
9 |
--- a/sys-apps/attr/attr-2.4.47-r2.ebuild |
10 |
+++ b/sys-apps/attr/attr-2.4.47-r2.ebuild |
11 |
@@ -29,6 +29,7 @@ src_prepare() { |
12 |
include/builddefs.in \ |
13 |
|| die |
14 |
strip-linguas -u po |
15 |
+ epatch "${FILESDIR}"/${P}-configure-with-ppc64le.patch |
16 |
multilib_copy_sources # https://savannah.nongnu.org/bugs/index.php?39736 |
17 |
} |
18 |
|
19 |
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 |
20 |
new file mode 100644 |
21 |
index 0000000..13e8dfc |
22 |
--- /dev/null |
23 |
+++ b/sys-apps/attr/files/attr-2.4.47-configure-with-ppc64le.patch |
24 |
@@ -0,0 +1,26 @@ |
25 |
+--- configure.orig 2016-04-09 01:41:18.087752381 +0000 |
26 |
++++ configure 2016-04-09 01:43:29.129086786 +0000 |
27 |
+@@ -5454,6 +5454,9 @@ |
28 |
+ ppc64-*linux*|powerpc64-*linux*) |
29 |
+ LD="${LD-ld} -m elf32ppclinux" |
30 |
+ ;; |
31 |
++ ppc64le-*linux*|powerpc64le-*linux*) |
32 |
++ LD="${LD-ld} -m elf32lppclinux" |
33 |
++ ;; |
34 |
+ s390x-*linux*) |
35 |
+ LD="${LD-ld} -m elf_s390" |
36 |
+ ;; |
37 |
+@@ -5470,9 +5473,12 @@ |
38 |
+ x86_64-*linux*) |
39 |
+ LD="${LD-ld} -m elf_x86_64" |
40 |
+ ;; |
41 |
+- ppc*-*linux*|powerpc*-*linux*) |
42 |
++ ppc64-*linux*|powerpc64-*linux*) |
43 |
+ LD="${LD-ld} -m elf64ppc" |
44 |
+ ;; |
45 |
++ ppc64le-*linux*|powerpc64le-*linux*) |
46 |
++ LD="${LD-ld} -m elf64lppc" |
47 |
++ ;; |
48 |
+ s390*-*linux*|s390*-*tpf*) |
49 |
+ LD="${LD-ld} -m elf64_s390" |
50 |
+ ;; |
51 |
-- |
52 |
1.9.1 |