Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/broadcom-wl/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-08-25 08:52:24 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-08-25 08:52:24 +0200
commitc7191a0f0247cd17d5371fbb35d2f1a315c38e03 (patch)
tree42a67b36f3d1907a172ba56dbfe1740f950f6085 /community/broadcom-wl/PKGBUILD
parentdb98b6b5aab6bfb7f59b8b3d8e782aaff0db6063 (diff)
community/broadcom-wl: another CARCH pentium4 patch
Diffstat (limited to 'community/broadcom-wl/PKGBUILD')
-rw-r--r--community/broadcom-wl/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/community/broadcom-wl/PKGBUILD b/community/broadcom-wl/PKGBUILD
new file mode 100644
index 00000000..f3f92d18
--- /dev/null
+++ b/community/broadcom-wl/PKGBUILD
@@ -0,0 +1,9 @@
+# CARCH -> pentium4 bug
+if [ "${CARCH}" = "pentium4" ]; then
+ eval "$(
+ declare -f package | \
+ sed '
+ s/${CARCH}/i686/
+ '
+ )"
+fi