summaryrefslogtreecommitdiffhomepage
path: root/patches/libgpg_error-1.41_pre.local.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/libgpg_error-1.41_pre.local.patch')
-rw-r--r--patches/libgpg_error-1.41_pre.local.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/patches/libgpg_error-1.41_pre.local.patch b/patches/libgpg_error-1.41_pre.local.patch
new file mode 100644
index 00000000..f499a5e7
--- /dev/null
+++ b/patches/libgpg_error-1.41_pre.local.patch
@@ -0,0 +1,36 @@
+diff -ru a/configure.ac b/configure.ac
+--- a/configure.ac 2019-03-19 04:56:05.000000000 -0400
++++ b/configure.ac 2020-03-11 12:27:31.000000000 -0400
+@@ -549,19 +549,19 @@
+ fi
+ ;;
+ esac
+-case "$libdir" in
+- /usr/lib|/usr/lib64|/lib|/lib64) ;;
+- '${exec_prefix}/lib')
+- if test "$exec_prefix" = "NONE"; then
+- if test "$prefix" != / -a "$prefix" != /usr; then
+- GPG_ERROR_CONFIG_LIBS="-L$libdir $GPG_ERROR_CONFIG_LIBS"
+- fi
+- elif test "$exec_prefix" != / -a "$exec_prefix" != /usr; then
+- GPG_ERROR_CONFIG_LIBS="-L$libdir $GPG_ERROR_CONFIG_LIBS"
+- fi
+- ;;
+- *) GPG_ERROR_CONFIG_LIBS="-L$libdir $GPG_ERROR_CONFIG_LIBS" ;;
+-esac
++#case "$libdir" in
++# /usr/lib|/usr/lib64|/lib|/lib64) ;;
++# '${exec_prefix}/lib')
++# if test "$exec_prefix" = "NONE"; then
++# if test "$prefix" != / -a "$prefix" != /usr; then
++# GPG_ERROR_CONFIG_LIBS="-L$libdir $GPG_ERROR_CONFIG_LIBS"
++# fi
++# elif test "$exec_prefix" != / -a "$exec_prefix" != /usr; then
++# GPG_ERROR_CONFIG_LIBS="-L$libdir $GPG_ERROR_CONFIG_LIBS"
++# fi
++# ;;
++# *) GPG_ERROR_CONFIG_LIBS="-L$libdir $GPG_ERROR_CONFIG_LIBS" ;;
++#esac
+
+ AC_SUBST(GPG_ERROR_CONFIG_LIBS)
+ AC_SUBST(GPG_ERROR_CONFIG_CFLAGS)