Version 4.0.0.1, tag libreoffice-4.0.0.1
[LibreOffice.git] / postgresql / postgresql-libs-leak.patch
blob8224137f1f97aebe7e04bad90c7a4e7d8ac5e583
1 diff --recursive -u misc/build/postgresql-9.1.1/configure.in misc/build/postgresql-9.1.1.patched/configure.in
2 --- misc/build/postgresql-9.1.1/configure.in 2011-09-22 23:57:57.000000000 +0200
3 +++ misc/build/postgresql-9.1.1.patched/configure.in 2012-02-03 11:42:45.000000000 +0100
4 @@ -903,18 +903,9 @@
5 *** Not using spinlocks will cause poor performance.])
6 fi
8 -if test "$with_gssapi" = yes ; then
9 - if test "$PORTNAME" != "win32"; then
10 - AC_SEARCH_LIBS(gss_init_sec_context, [gssapi_krb5 gss 'gssapi -lkrb5 -lcrypto'], [],
11 - [AC_MSG_ERROR([could not find function 'gss_init_sec_context' required for GSSAPI])])
12 - else
13 - LIBS="$LIBS -lgssapi32"
14 - fi
15 -fi
17 if test "$with_krb5" = yes ; then
18 if test "$PORTNAME" != "win32"; then
19 - AC_SEARCH_LIBS(com_err, [krb5 'krb5 -lcrypto -ldes -lasn1 -lroken' com_err 'com_err -lssl -lcrypto'], [],
20 + AC_SEARCH_LIBS(com_err, [com_err 'com_err -lssl -lcrypto' krb5 'krb5 -lcrypto -ldes -lasn1 -lroken'], [],
21 [AC_MSG_ERROR([could not find function 'com_err' required for Kerberos 5])])
22 AC_SEARCH_LIBS(krb5_sendauth, [krb5 'krb5 -lcrypto -ldes -lasn1 -lroken'], [],
23 [AC_MSG_ERROR([could not find function 'krb5_sendauth' required for Kerberos 5])])
24 @@ -924,6 +915,15 @@
28 +if test "$with_gssapi" = yes ; then
29 + if test "$PORTNAME" != "win32"; then
30 + AC_SEARCH_LIBS(gss_init_sec_context, [gssapi_krb5 gss 'gssapi -lkrb5 -lcrypto'], [],
31 + [AC_MSG_ERROR([could not find function 'gss_init_sec_context' required for GSSAPI])])
32 + else
33 + LIBS="$LIBS -lgssapi32"
34 + fi
35 +fi
37 if test "$with_openssl" = yes ; then
38 dnl Order matters!
39 if test "$PORTNAME" != "win32"; then