summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/apk-tools/APKBUILD6
-rw-r--r--system/apk-tools/pmmx.patch11
2 files changed, 15 insertions, 2 deletions
diff --git a/system/apk-tools/APKBUILD b/system/apk-tools/APKBUILD
index 746468fab..40dfcb272 100644
--- a/system/apk-tools/APKBUILD
+++ b/system/apk-tools/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Adelie Platform Group <adelie-devel@lists.adelielinux.org>
pkgname=apk-tools
-pkgver=2.10.1
+pkgver=2.10.3
pkgrel=0
pkgdesc="Alpine Package Keeper - package manager"
url="https://git.alpinelinux.org/cgit/apk-tools/"
@@ -13,6 +13,7 @@ makedepends_host="zlib-dev openssl openssl-dev linux-headers"
makedepends="$makedepends_build $makedepends_host"
subpackages="$pkgname-static"
source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.xz
+ pmmx.patch
"
prepare() {
@@ -66,4 +67,5 @@ static() {
"$subpkgdir"/sbin/apk.static
}
-sha512sums="f994dba20b9ba7ee0ad4cbd9d137f65b814851f348f0d5eb75eb60c7d6a21f88648b472239e14298eaf1348c517de00652432e7f8c8abd54565914c7d49e3cd3 apk-tools-2.10.1.tar.xz"
+sha512sums="1b190cfd04c69369bd4f2b708d4df0f8cf2937e1580c95138fd2c2257e7604d015deaca10a9fe0da6742981caadb6b067c15e417a1951866f781b8a5c71c98ee apk-tools-2.10.3.tar.xz
+746d00ce2af554a25db7ecea2b0a4d8f7399d2560efb6bf59ea144012d0163d3e0bad84c799bd706e8be6c0a543d4e35728d6beb269fddbbea626384009129cb pmmx.patch"
diff --git a/system/apk-tools/pmmx.patch b/system/apk-tools/pmmx.patch
new file mode 100644
index 000000000..1b19edc94
--- /dev/null
+++ b/system/apk-tools/pmmx.patch
@@ -0,0 +1,11 @@
+--- apk-tools-2.10.1/src/apk_defines.h.old 2018-09-10 08:04:03.000000000 +0000
++++ apk-tools-2.10.1/src/apk_defines.h 2019-01-04 03:31:41.900000000 +0000
+@@ -88,7 +88,7 @@
+ #if defined(__x86_64__)
+ #define APK_DEFAULT_ARCH "x86_64"
+ #elif defined(__i386__)
+-#define APK_DEFAULT_ARCH "x86"
++#define APK_DEFAULT_ARCH "pmmx"
+ #elif defined(__powerpc__) && !defined(__powerpc64__)
+ #define APK_DEFAULT_ARCH "ppc"
+ #elif defined(__powerpc64__) && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__