Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/gnutls/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-08-18 09:42:11 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-08-18 09:42:11 +0200
commit8290023372694cd94a5d717fd21d90d124b16dc5 (patch)
treeb36a19cca2e3219f8df936f4384c0942f34906a8 /core/gnutls/PKGBUILD
parentbea9bdb08321e8f1283448854a595d0bbe8da426 (diff)
core/gnutls: fix for non-PIC generated assembly code
Diffstat (limited to 'core/gnutls/PKGBUILD')
-rw-r--r--core/gnutls/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/gnutls/PKGBUILD b/core/gnutls/PKGBUILD
new file mode 100644
index 00000000..379ac6be
--- /dev/null
+++ b/core/gnutls/PKGBUILD
@@ -0,0 +1,9 @@
+# see https://gitlab.com/gnutls/gnutls/issues/818
+
+source+=('gnutls-3.6.9-nonPIC-assembly.patch')
+sha256sums+=('3a31503c695b445f2551313e822d8010a0220ba632df2e68e94c78bb5345c147')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -Np1 < "$srcdir/gnutls-3.6.9-nonPIC-assembly.patch"
+}