1 |
commit: 87f69c522fb67cdfb9e04f10e5ced3f88420fc86 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 22 13:45:29 2018 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 22 13:46:00 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87f69c52 |
7 |
|
8 |
dev-libs/libmspack: fix big endian |
9 |
|
10 |
Closes: https://bugs.gentoo.org/670654 |
11 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
12 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
13 |
|
14 |
.../files/libmspack-0.9.1_alpha-fix-bigendian.patch | 17 +++++++++++++++++ |
15 |
...9.1_alpha.ebuild => libmspack-0.9.1_alpha-r1.ebuild} | 2 ++ |
16 |
2 files changed, 19 insertions(+) |
17 |
|
18 |
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 |
19 |
new file mode 100644 |
20 |
index 00000000000..c134fa0760d |
21 |
--- /dev/null |
22 |
+++ b/dev-libs/libmspack/files/libmspack-0.9.1_alpha-fix-bigendian.patch |
23 |
@@ -0,0 +1,17 @@ |
24 |
+https://github.com/kyz/libmspack/commit/c19e707936947b45cf05bc9aaee68517c6c2aca6 |
25 |
+ |
26 |
+--- |
27 |
+ configure.ac | 1 + |
28 |
+ 1 files changed, 1 insertions(+) |
29 |
+ |
30 |
+diff --git a/libmspack/configure.ac b/libmspack/configure.ac |
31 |
+--- a/configure.ac |
32 |
++++ b/configure.ac |
33 |
+@@ -30,6 +30,7 @@ AC_CHECK_HEADERS([inttypes.h]) |
34 |
+ # Checks for typedefs, structures, and compiler characteristics. |
35 |
+ AC_C_CONST |
36 |
+ AC_C_INLINE |
37 |
++AC_C_BIGENDIAN |
38 |
+ AC_TYPE_MODE_T |
39 |
+ AC_TYPE_OFF_T |
40 |
+ AC_TYPE_SIZE_T |
41 |
|
42 |
diff --git a/dev-libs/libmspack/libmspack-0.9.1_alpha.ebuild b/dev-libs/libmspack/libmspack-0.9.1_alpha-r1.ebuild |
43 |
similarity index 96% |
44 |
rename from dev-libs/libmspack/libmspack-0.9.1_alpha.ebuild |
45 |
rename to dev-libs/libmspack/libmspack-0.9.1_alpha-r1.ebuild |
46 |
index 8cdcb1c82b7..d7bd17fac0b 100644 |
47 |
--- a/dev-libs/libmspack/libmspack-0.9.1_alpha.ebuild |
48 |
+++ b/dev-libs/libmspack/libmspack-0.9.1_alpha-r1.ebuild |
49 |
@@ -26,6 +26,8 @@ IUSE="debug doc static-libs" |
50 |
DEPEND="" |
51 |
RDEPEND="" |
52 |
|
53 |
+PATCHES=( "${FILESDIR}"/${P}-fix-bigendian.patch ) |
54 |
+ |
55 |
S="${WORKDIR}/${MY_P}" |
56 |
|
57 |
src_prepare() { |