Debian Codegraph @

debian/patches/update-gpg-error-call.patch

raw symbols SCIP
1 Description: gpgerror lib has stopped vendoring a gpg-error-config binary, and hence instead detect gpg-error
2 via a PKG_CHECK_MODULES call and choke if it is not found
3 Author: Nilesh Patra <[email protected]>
4 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022279
5 Last-Update: 2022-10-24
6 --- a/configure.ac
7 +++ b/configure.ac
8 @@ -143,16 +143,7 @@
9 fi
10 fi
11
12 -AC_PATH_PROG(GPG_ERROR_CONFIG, gpg-error-config, no)
13 -if test x"$GPG_ERROR_CONFIG" = xno; then
14 - AC_MSG_ERROR([gpg-error not found on system])
15 -else
16 - GPG_ERROR_CFLAGS=`$GPG_ERROR_CONFIG --cflags`
17 - GPG_ERROR_LIBS=`$GPG_ERROR_CONFIG --libs`
18 - AC_SUBST(GPG_ERROR_CFLAGS)
19 - AC_SUBST(GPG_ERROR_LIBS)
20 - AC_DEFINE(HAVE_LIBGPG_ERROR, 1, [Define to 1 if you have the gpg-error library])
21 -fi
22 +PKG_CHECK_MODULES([GPG_ERROR],[gpg-error >= 1.33], AC_DEFINE(HAVE_LIBGPG_ERROR, 1, [Define to 1 if you have the gpg-error library]), AC_MSG_ERROR([gpg-error not found on system]))
23
24 dnl libaacs (for bdplus_test)
25 AC_ARG_WITH([libaacs],