diff options
author | Michael Weber <xmw@gentoo.org> | 2017-02-22 12:38:27 +0100 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2017-02-22 12:38:42 +0100 |
commit | 06114d7ae8e62de8b4ecd4ff14d4c6756372eb4f (patch) | |
tree | 30ff14f488e9b634d22aa48cb23b92c460c3b4ed /media-libs/libilbc | |
parent | app-i18n/uchardet: ppc64 stable wrt bug #609008 (diff) | |
download | gentoo-06114d7ae8e62de8b4ecd4ff14d4c6756372eb4f.tar.gz gentoo-06114d7ae8e62de8b4ecd4ff14d4c6756372eb4f.tar.bz2 gentoo-06114d7ae8e62de8b4ecd4ff14d4c6756372eb4f.zip |
media-libs/libilbc: Add architecture definition for ppc/ppc64 (bug 610546).
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'media-libs/libilbc')
-rw-r--r-- | media-libs/libilbc/files/libilbc-2.0.2-ppc_ppc64.patch | 16 | ||||
-rw-r--r-- | media-libs/libilbc/libilbc-2.0.2.ebuild | 1 | ||||
-rw-r--r-- | media-libs/libilbc/libilbc-9999.ebuild | 3 |
3 files changed, 19 insertions, 1 deletions
diff --git a/media-libs/libilbc/files/libilbc-2.0.2-ppc_ppc64.patch b/media-libs/libilbc/files/libilbc-2.0.2-ppc_ppc64.patch new file mode 100644 index 000000000000..ae24dde38cf9 --- /dev/null +++ b/media-libs/libilbc/files/libilbc-2.0.2-ppc_ppc64.patch @@ -0,0 +1,16 @@ +--- libilbc-2.0.2/typedefs.h ++++ libilbc-2.0.2/typedefs.h +@@ -47,6 +47,13 @@ + #elif defined(__pnacl__) + #define WEBRTC_ARCH_32_BITS + #define WEBRTC_ARCH_LITTLE_ENDIAN ++#elif defined(__PPC__) ++#define WEBRTC_ARCH_BIG_ENDIAN ++#if defined(__PPC64__) ++#define WEBRTC_ARCH_64_BITS ++#else ++#define WEBRTC_ARCH_32_BITS ++#endif + #else + #error Please add support for your architecture in typedefs.h + #endif diff --git a/media-libs/libilbc/libilbc-2.0.2.ebuild b/media-libs/libilbc/libilbc-2.0.2.ebuild index 9246ed5a6543..878787feea9c 100644 --- a/media-libs/libilbc/libilbc-2.0.2.ebuild +++ b/media-libs/libilbc/libilbc-2.0.2.ebuild @@ -24,6 +24,7 @@ SLOT="0" IUSE="static-libs" src_prepare() { + epatch "${FILESDIR}"/${PN}-2.0.2-ppc_ppc64.patch [[ ${PV} == *9999 ]] && eautoreconf autotools-multilib_src_prepare } diff --git a/media-libs/libilbc/libilbc-9999.ebuild b/media-libs/libilbc/libilbc-9999.ebuild index b056c4a0a7e1..aa8f295a9f6c 100644 --- a/media-libs/libilbc/libilbc-9999.ebuild +++ b/media-libs/libilbc/libilbc-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -24,6 +24,7 @@ SLOT="0" IUSE="static-libs" src_prepare() { + epatch "${FILESDIR}"/${PN}-2.0.2-ppc_ppc64.patch [[ ${PV} == *9999 ]] && eautoreconf autotools-multilib_src_prepare } |