Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/pacman/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-05-13 10:48:09 +0200
committerErich Eckner <git@eckner.net>2019-05-13 10:48:09 +0200
commitefbae17abe758123c683511216f87d5e2c36218a (patch)
treec1ef03e4654e4c4fc621c7aa2e9f5553c2acfaab /core/pacman/PKGBUILD
parentfee5b4e56f025f50812b49ccc2f81ce7b1445d43 (diff)
core/pacman: add patches for automatically changing "i686" to "pentium4" if "Architecture = auto"auto-pentium4
Diffstat (limited to 'core/pacman/PKGBUILD')
-rw-r--r--core/pacman/PKGBUILD13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/pacman/PKGBUILD b/core/pacman/PKGBUILD
index f75db89a..ae268502 100644
--- a/core/pacman/PKGBUILD
+++ b/core/pacman/PKGBUILD
@@ -22,3 +22,16 @@ if [ ! "${CARCH}" = "i686" ]; then
'
)"
fi
+
+# patches for the "i686" -> "pentium4" mangling if "Architecture = auto"
+# see auto-pentium4 branch in git.archlinux32.org:archlinux32/pacman.git
+source+=('pentium4-auto-config.patch'
+ 'pentium4-tests.patch')
+sha256sums+=('266276a16aac85a9ee4745968a7bcac833505afa2896b60301997bbe2863fabd'
+ '8e3d1b2dff0cfd7db462bae0d1def5bb83d169128117e2b6ea72d489ab7b0077')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ patch -p1 -i ../pentium4-auto-config.patch
+ patch -p1 -i ../pentium4-tests.patch
+}