public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-proxy/squid/files: squid-3.0.20-libmd5.patch squid-3.1.0.15_beta-libmd5.patch
@ 2009-11-29  8:53 Alin Nastac (mrness)
  0 siblings, 0 replies; only message in thread
From: Alin Nastac (mrness) @ 2009-11-29  8:53 UTC (permalink / raw
  To: gentoo-commits

mrness      09/11/29 08:53:09

  Added:                squid-3.0.20-libmd5.patch
                        squid-3.1.0.15_beta-libmd5.patch
  Log:
  Avoid linking with md5.so installed by libwww (#292406).
  (Portage version: 2.1.6.13/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  net-proxy/squid/files/squid-3.0.20-libmd5.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squid/files/squid-3.0.20-libmd5.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squid/files/squid-3.0.20-libmd5.patch?rev=1.1&content-type=text/plain

Index: squid-3.0.20-libmd5.patch
===================================================================
diff -Nru squid-3.0.STABLE20.orig/configure.in squid-3.0.STABLE20/configure.in
--- squid-3.0.STABLE20.orig/configure.in	2009-11-28 10:29:42.000000000 +0100
+++ squid-3.0.STABLE20/configure.in	2009-11-29 09:36:03.000000000 +0100
@@ -2426,7 +2426,11 @@
 AC_CHECK_LIB(crypt, crypt, [CRYPTLIB="-lcrypt"])
 
 dnl Solaris10 provides MD5 natively through libmd5
-AC_CHECK_LIB(md5, MD5Init, [CRYPTLIB="$CRYPTLIB -lmd5"])
+case "$host" in
+	*-solaris*)
+	    AC_CHECK_LIB(md5, MD5Init, [CRYPTLIB="$CRYPTLIB -lmd5"])
+	    ;;
+esac
 
 AC_SUBST(CRYPTLIB)
 



1.1                  net-proxy/squid/files/squid-3.1.0.15_beta-libmd5.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squid/files/squid-3.1.0.15_beta-libmd5.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squid/files/squid-3.1.0.15_beta-libmd5.patch?rev=1.1&content-type=text/plain

Index: squid-3.1.0.15_beta-libmd5.patch
===================================================================
diff -Nru squid-3.1.0.15.orig/configure.in squid-3.1.0.15/configure.in
--- squid-3.1.0.15.orig/configure.in	2009-11-23 04:11:00.000000000 +0100
+++ squid-3.1.0.15/configure.in	2009-11-29 09:44:37.000000000 +0100
@@ -2802,7 +2802,11 @@
 dnl libcrypt (eg FreeBSD)
 AC_CHECK_LIB(crypt, crypt, [CRYPTLIB="-lcrypt"])
 dnl Solaris10 provides MD5 natively through libmd5
-AC_CHECK_LIB(md5, MD5Init, [CRYPTLIB="$CRYPTLIB -lmd5"])
+case "$host" in
+	*-solaris*)
+	    AC_CHECK_LIB(md5, MD5Init, [CRYPTLIB="$CRYPTLIB -lmd5"])
+	    ;;
+esac
 AC_SUBST(CRYPTLIB)
 
 dnl Check for libdl, used by auth_modules/PAM






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-29  8:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-29  8:53 [gentoo-commits] gentoo-x86 commit in net-proxy/squid/files: squid-3.0.20-libmd5.patch squid-3.1.0.15_beta-libmd5.patch Alin Nastac (mrness)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox