summaryrefslogtreecommitdiff
path: root/core/pacman/PKGBUILD
diff options
context:
space:
mode:
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 f75db89..ae26850 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
+}