summaryrefslogtreecommitdiff
path: root/extra/icewm/PKGBUILD
diff options
context:
space:
mode:
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
+ '
+)"