Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/icewm/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-06-06 21:34:32 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-06-06 21:34:32 +0200
commitbb9877be458c77cf14db97dd0fef7452f8720170 (patch)
tree739be02c3f4c3fe7af7963f08d0ef805ab535580 /extra/icewm/PKGBUILD
parentc26c58e5d9d27dceac79e646905195923c3f8461 (diff)
extra/icewm: fixed segfaults on startup (initPixmap null refs)
Diffstat (limited to 'extra/icewm/PKGBUILD')
-rw-r--r--extra/icewm/PKGBUILD12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/icewm/PKGBUILD b/extra/icewm/PKGBUILD
index af9cda66..847dbece 100644
--- a/extra/icewm/PKGBUILD
+++ b/extra/icewm/PKGBUILD
@@ -1,3 +1,4 @@
+# compilation issues with narrowing -1 initializations
source+=('icewm-1.3.8-narrowing-casts.patch')
sha1sums+=('d8a296356884a3318f2436c035425e22bf94f15c')
@@ -7,3 +8,14 @@ eval "$(
/remain_power.patch/a patch -Np1 -i ${srcdir}/icewm-1.3.8-narrowing-casts.patch
'
)"
+
+# segfaults when derefenecing null refs in initializePixmaps
+source+=('icewm-1.3.8-pixmap-null-ref.patch')
+sha1sums+=('9e13e6bbf10e31427e048b4c0b516f37b0b9ff59')
+
+eval "$(
+ declare -f prepare | \
+ sed '
+ /narrowing-casts.patch/a patch -Np1 -i ${srcdir}/icewm-1.3.8-pixmap-null-ref.patch
+ '
+)"