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