summaryrefslogtreecommitdiff
path: root/geomyidae-git/geomyidae-libressl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'geomyidae-git/geomyidae-libressl.patch')
-rw-r--r--geomyidae-git/geomyidae-libressl.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/geomyidae-git/geomyidae-libressl.patch b/geomyidae-git/geomyidae-libressl.patch
new file mode 100644
index 0000000..e40543a
--- /dev/null
+++ b/geomyidae-git/geomyidae-libressl.patch
@@ -0,0 +1,15 @@
+diff -u -r -N geomyidae-orig/Makefile geomyidae-arch-libressl/Makefile
+--- geomyidae-orig/Makefile 2021-03-13 07:54:15.387185713 +0100
++++ geomyidae-arch-libressl/Makefile 2021-03-13 07:55:31.239586207 +0100
+@@ -10,9 +10,9 @@
+ MANDIR = ${PREFIX}/share/man/man8
+
+ # Comment to disable TLS support
+-TLS_CFLAGS = -DENABLE_TLS
++TLS_CFLAGS = -DENABLE_TLS -I/usr/include/libressl
+ # libtls is provided using for example LibreSSL.
+-TLS_LDFLAGS = -ltls
++TLS_LDFLAGS = -L/usr/lib/libressl -Wl,-rpath=/usr/lib/libressl -ltls
+
+ GEOM_CFLAGS = -D_DEFAULT_SOURCE -I. -I/usr/include ${TLS_CFLAGS} ${CFLAGS}
+ GEOM_LDFLAGS = -L/usr/lib -L. ${TLS_LDFLAGS} ${LDFLAGS}