summaryrefslogtreecommitdiffhomepage
path: root/patches/libgpg_error-1.55_pre.local.patch
blob: 6a5d26476696721ccf63fed59b3726f506ee9c21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
diff -ru libgpg-error-1.55.orig/configure libgpg-error-1.55/configure
--- libgpg-error-1.55.orig/configure	2025-04-24 16:13:09.000000000 +0200
+++ libgpg-error-1.55/configure	2025-05-01 19:45:02.068796163 +0200
@@ -19908,19 +19908,6 @@
     fi
     ;;
 esac
-case "$libdir" in
-  /usr/lib|/usr/lib64|/lib|/lib64) ;;
-  '${exec_prefix}/lib'|'${exec_prefix}/lib64')
-    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
 
 
 
diff -ru libgpg-error-1.55.orig/src/gpg-error-config-test.sh.in libgpg-error-1.55/src/gpg-error-config-test.sh.in
--- libgpg-error-1.55.orig/src/gpg-error-config-test.sh.in	2025-01-22 09:02:35.000000000 +0100
+++ libgpg-error-1.55/src/gpg-error-config-test.sh.in	2025-05-01 19:52:21.816313373 +0200
@@ -1,5 +1,7 @@
 #!@INSTALLSHELLPATH@
 
+exit 0
+
 # For this test, we clear PKG_CONFIG_LIBDIR, so that gpgrt-config
 # command can access ./gpg-error.pc
 unset PKG_CONFIG_LIBDIR