Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/slang/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/slang/PKGBUILD')
-rw-r--r--extra/slang/PKGBUILD14
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/slang/PKGBUILD b/extra/slang/PKGBUILD
new file mode 100644
index 00000000..5334396d
--- /dev/null
+++ b/extra/slang/PKGBUILD
@@ -0,0 +1,14 @@
+# 32-bit issues around arrays (fails a test) and a memset in checksumming
+# see upstream commits 7dfe53f and 68dd5e9
+source+=(slang-2.3.2-integer-array-overflow.patch slang-2.3.2-chksum-memset.patch)
+sha1sums+=('c64e55fc9713c61f7069408150f8123959652a54' '0bbe3eb3222d2fa2512b9591d6b1a88a5838d6a8')
+eval "$(
+ {
+ declare -f prepare || \
+ printf 'prepare() { cd ${srcdir}/${pkgname}-${pkgver}\n}\n'
+ } \
+ | sed '
+ $ i patch -p1 -i "$srcdir"/slang-2.3.2-integer-array-overflow.patch
+ $ i patch -p1 -i "$srcdir"/slang-2.3.2-chksum-memset.patch
+ '
+)"