diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2018-11-22 14:45:29 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2018-11-22 14:46:00 +0100 |
commit | 87f69c522fb67cdfb9e04f10e5ced3f88420fc86 (patch) | |
tree | d1778948e7850057aa91c758f005918d553d0733 /dev-libs/libmspack | |
parent | dev-lang/php: bump to v7.3.0 RC6 (diff) | |
download | gentoo-87f69c522fb67cdfb9e04f10e5ced3f88420fc86.tar.gz gentoo-87f69c522fb67cdfb9e04f10e5ced3f88420fc86.tar.bz2 gentoo-87f69c522fb67cdfb9e04f10e5ced3f88420fc86.zip |
dev-libs/libmspack: fix big endian
Closes: https://bugs.gentoo.org/670654
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-libs/libmspack')
-rw-r--r-- | dev-libs/libmspack/files/libmspack-0.9.1_alpha-fix-bigendian.patch | 17 | ||||
-rw-r--r-- | dev-libs/libmspack/libmspack-0.9.1_alpha-r1.ebuild (renamed from dev-libs/libmspack/libmspack-0.9.1_alpha.ebuild) | 2 |
2 files changed, 19 insertions, 0 deletions
diff --git a/dev-libs/libmspack/files/libmspack-0.9.1_alpha-fix-bigendian.patch b/dev-libs/libmspack/files/libmspack-0.9.1_alpha-fix-bigendian.patch new file mode 100644 index 000000000000..c134fa0760d0 --- /dev/null +++ b/dev-libs/libmspack/files/libmspack-0.9.1_alpha-fix-bigendian.patch @@ -0,0 +1,17 @@ +https://github.com/kyz/libmspack/commit/c19e707936947b45cf05bc9aaee68517c6c2aca6 + +--- + configure.ac | 1 + + 1 files changed, 1 insertions(+) + +diff --git a/libmspack/configure.ac b/libmspack/configure.ac +--- a/configure.ac ++++ b/configure.ac +@@ -30,6 +30,7 @@ AC_CHECK_HEADERS([inttypes.h]) + # Checks for typedefs, structures, and compiler characteristics. + AC_C_CONST + AC_C_INLINE ++AC_C_BIGENDIAN + AC_TYPE_MODE_T + AC_TYPE_OFF_T + AC_TYPE_SIZE_T diff --git a/dev-libs/libmspack/libmspack-0.9.1_alpha.ebuild b/dev-libs/libmspack/libmspack-0.9.1_alpha-r1.ebuild index 8cdcb1c82b7b..d7bd17fac0ba 100644 --- a/dev-libs/libmspack/libmspack-0.9.1_alpha.ebuild +++ b/dev-libs/libmspack/libmspack-0.9.1_alpha-r1.ebuild @@ -26,6 +26,8 @@ IUSE="debug doc static-libs" DEPEND="" RDEPEND="" +PATCHES=( "${FILESDIR}"/${P}-fix-bigendian.patch ) + S="${WORKDIR}/${MY_P}" src_prepare() { |