]> git.pld-linux.org Git - packages/gnutls.git/blob - gnutls-link.patch
- updated to 3.3.26 (fixes GNUTLS-SA-2017-1 GNUTLS-SA-2017-2)
[packages/gnutls.git] / gnutls-link.patch
1 --- gnutls-3.0.13/m4/lib-link.m4.orig   2008-05-17 07:44:04.000000000 +0200
2 +++ gnutls-3.0.13/m4/lib-link.m4        2011-04-02 11:29:18.159546509 +0200
3 @@ -322,7 +322,11 @@
4            fi
5            if test "X$found_dir" != "X"; then
6              dnl Found the library.
7 +            if test "X$found_dir" = "X/usr/$acl_libdirstem"; then
8 +                LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
9 +           else
10              LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
11 +           fi
12              if test "X$found_so" != "X"; then
13                dnl Linking with a shared library. We attempt to hardcode its
14                dnl directory into the executable's runpath, unless it's the
15 --- gnutls-3.3.26/lib/Makefile.am.orig  2017-01-09 08:11:25.000000000 +0100
16 +++ gnutls-3.3.26/lib/Makefile.am       2017-02-04 10:47:27.231553284 +0100
17 @@ -149,7 +149,7 @@
18  endif
19  
20  if ENABLE_TROUSERS
21 -thirdparty_libadd += $(LIBDL)
22 +thirdparty_libadd += $(LTLIBDL)
23  endif
24  
25  if ENABLE_OPENPGP
26 --- gnutls-3.3.26/configure.ac.orig     2017-01-09 07:42:13.000000000 +0100
27 +++ gnutls-3.3.26/configure.ac  2017-02-04 10:47:15.884886746 +0100
28 @@ -329,7 +329,7 @@
29  
30      AC_DEFINE([ENABLE_FIPS140], 1, [Enable FIPS140-2 mode])
31  
32 -    AC_SUBST([FIPS140_LIBS], $LIBDL)
33 +    AC_SUBST([FIPS140_LIBS], $LTLIBDL)
34    else
35      enable_fips=no
36      AC_MSG_WARN([[
This page took 0.025987 seconds and 3 git commands to generate.