summaryrefslogtreecommitdiff
path: root/extra/gspell/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-08-29 10:25:02 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-08-29 10:25:02 +0200
commit9bf3a2110fba5e329123b4afaa4006b5a803f524 (patch)
tree394fa84145527137873a41760672c7711d9a0903 /extra/gspell/PKGBUILD
parent41dc5497e4447879f298b2ade4d07526354ec97b (diff)
downloadpackages-9bf3a2110fba5e329123b4afaa4006b5a803f524.tar.xz
extra/gspell: temporary build fix for FS#63550
Diffstat (limited to 'extra/gspell/PKGBUILD')
-rw-r--r--extra/gspell/PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/gspell/PKGBUILD b/extra/gspell/PKGBUILD
new file mode 100644
index 00000000..31b640a6
--- /dev/null
+++ b/extra/gspell/PKGBUILD
@@ -0,0 +1,22 @@
+# temporary workaround for FS#63550
+
+eval "$(
+ declare -f build | \
+ sed '
+ s/configure/configure --disable-dependency-tracking/
+ /make/ i \
+ sed -i s/@CODE_COVERAGE_RULES@//g Makefile \
+ sed -i s/@CODE_COVERAGE_RULES@//g gspell/Makefile \
+ sed -i s/@CODE_COVERAGE_RULES@//g testsuite/Makefile
+ '
+)"
+
+# see https://gitlab.gnome.org/GNOME/gspell/commit/8bd7cac01d8cd27a25b48858843cb21e91f3952e
+source+=('8bd7cac01d8cd27a25b48858843cb21e91f3952e.diff')
+sha256sums+=('d6713a97a151e2556409da28f3f9be4a2c091f82d2b45054bc5d0fc2bfbd3621')
+eval "$(
+ declare -f prepare | \
+ sed '
+ 3 a patch -p1 -i "$srcdir/8bd7cac01d8cd27a25b48858843cb21e91f3952e.diff"
+ '
+)"