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-09-19 15:50:51 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-09-19 15:50:51 +0200
commit7b75ba06b568e02cbec2e33d69e50fbe6001d644 (patch)
tree5eab997394caacba57e450a713a7f226c5740cb8
parent103a3886a30f1f58865945f1b6c65c1d67a67fbb (diff)
extra/libgnomekbd: fix for gettext 0.20 (see FS#63836)
-rw-r--r--extra/libgnomekbd/PKGBUILD10
-rw-r--r--extra/libgnomekbd/libgnomekbd-gettext-0.20.patch14
2 files changed, 24 insertions, 0 deletions
diff --git a/extra/libgnomekbd/PKGBUILD b/extra/libgnomekbd/PKGBUILD
new file mode 100644
index 00000000..4cb9ddd6
--- /dev/null
+++ b/extra/libgnomekbd/PKGBUILD
@@ -0,0 +1,10 @@
+# gettext 0.20 patch, temporary for https://bugs.archlinux.org/task/63836
+
+source+=('libgnomekbd-gettext-0.20.patch')
+sha256sums+=('dec9f04895a35e0d1aedabcb5aad36376b5451c4210a899e879e63b633ba4fd5')
+eval "$(
+ declare -f prepare | \
+ sed '
+ 3 a patch -p1 -i "$srcdir/libgnomekbd-gettext-0.20.patch"
+ '
+)"
diff --git a/extra/libgnomekbd/libgnomekbd-gettext-0.20.patch b/extra/libgnomekbd/libgnomekbd-gettext-0.20.patch
new file mode 100644
index 00000000..1a31f70e
--- /dev/null
+++ b/extra/libgnomekbd/libgnomekbd-gettext-0.20.patch
@@ -0,0 +1,14 @@
+diff -rauN libgnomekbd/configure.ac libgnomekbd-gettext-0.20-patch/configure.ac
+--- libgnomekbd/configure.ac 2019-09-19 11:43:28.782294203 +0200
++++ libgnomekbd-gettext-0.20-patch/configure.ac 2019-09-19 11:51:41.136059352 +0200
+@@ -37,7 +37,9 @@
+ # ****
+ # i18n
+ # ****
+-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])
+ AM_GNU_GETTEXT([external])
+
+ GETTEXT_PACKAGE=libgnomekbd