From efbae17abe758123c683511216f87d5e2c36218a Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 13 May 2019 10:48:09 +0200 Subject: core/pacman: add patches for automatically changing "i686" to "pentium4" if "Architecture = auto" --- core/pacman/PKGBUILD | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'core/pacman/PKGBUILD') 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 +} -- cgit v1.2.3-70-g09d2