Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
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
parent41dc5497e4447879f298b2ade4d07526354ec97b (diff)
extra/gspell: temporary build fix for FS#63550
-rw-r--r--extra/gspell/8bd7cac01d8cd27a25b48858843cb21e91f3952e.diff15
-rw-r--r--extra/gspell/PKGBUILD22
2 files changed, 37 insertions, 0 deletions
diff --git a/extra/gspell/8bd7cac01d8cd27a25b48858843cb21e91f3952e.diff b/extra/gspell/8bd7cac01d8cd27a25b48858843cb21e91f3952e.diff
new file mode 100644
index 00000000..2d05841e
--- /dev/null
+++ b/extra/gspell/8bd7cac01d8cd27a25b48858843cb21e91f3952e.diff
@@ -0,0 +1,15 @@
+diff --git a/configure.ac b/configure.ac
+index 91359870f2edd6add3f5460e6cc29bb1c235f8ec..189ba95ddbe2e58a66a176ec286ee4d153454e19 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -121,7 +121,9 @@ fi
+
+ # i18n
+ AM_GNU_GETTEXT([external])
+-AM_GNU_GETTEXT_VERSION([0.19.4])
++# FIXME: Remove AM_GNU_GETTEXT_VERSION once autoreconf supports REQUIRE_VERSION
++AM_GNU_GETTEXT_VERSION([0.19.6])
++AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.6])
+ AC_SUBST([GETTEXT_PACKAGE], [gspell-$GSPELL_API_VERSION])
+ AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [Define to the gettext package name.])
+
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"
+ '
+)"