From 9323b9b6008f165cdde07c741774f70d1371ce91 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Tue, 14 Feb 2017 16:00:58 +0100 Subject: [PATCH] Added missing patches --- gnutls-3.2.7-rpath.patch | 12 ++++++++++++ gnutls-3.4.2-no-now-guile.patch | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 gnutls-3.2.7-rpath.patch create mode 100644 gnutls-3.4.2-no-now-guile.patch diff --git a/gnutls-3.2.7-rpath.patch b/gnutls-3.2.7-rpath.patch new file mode 100644 index 0000000..4e6aed3 --- /dev/null +++ b/gnutls-3.2.7-rpath.patch @@ -0,0 +1,12 @@ +diff -ur gnutls-3.2.7.orig/configure gnutls-3.2.7/configure +--- gnutls-3.2.7.orig/configure 2013-11-23 11:09:49.000000000 +0100 ++++ gnutls-3.2.7/configure 2013-11-25 16:53:05.559440656 +0100 +@@ -39652,7 +39652,7 @@ + shlibpath_overrides_runpath=unknown + version_type=none + dynamic_linker="$host_os ld.so" +-sys_lib_dlsearch_path_spec="/lib /usr/lib" ++sys_lib_dlsearch_path_spec="/lib /usr/lib /lib64 /usr/lib64" + need_lib_prefix=unknown + hardcode_into_libs=no + diff --git a/gnutls-3.4.2-no-now-guile.patch b/gnutls-3.4.2-no-now-guile.patch new file mode 100644 index 0000000..35c7699 --- /dev/null +++ b/gnutls-3.4.2-no-now-guile.patch @@ -0,0 +1,12 @@ +diff -up gnutls-3.4.2/guile/src/Makefile.in.jx gnutls-3.4.2/guile/src/Makefile.in +--- gnutls-3.4.2/guile/src/Makefile.in.jx 2015-06-16 12:23:31.000000000 -0400 ++++ gnutls-3.4.2/guile/src/Makefile.in 2015-07-02 14:01:19.415060204 -0400 +@@ -1316,7 +1316,7 @@ guileextension_LTLIBRARIES = guile-gnutl + # Use '-module' to build a "dlopenable module", in Libtool terms. + # Use '-undefined' to placate Libtool on Windows; see + # . +-guile_gnutls_v_2_la_LDFLAGS = -module -no-undefined ++guile_gnutls_v_2_la_LDFLAGS = -module -no-undefined -Wl,-z,lazy + + # Linking against GnuTLS. + GNUTLS_CORE_LIBS = $(top_builddir)/lib/libgnutls.la