From 049d74024c37f5069d40aa53f1caaa551ede5104 Mon Sep 17 00:00:00 2001 From: Patrick McLean Date: Thu, 1 Mar 2007 21:57:51 +0000 Subject: [PATCH] Add patch to fix compilation with -as-needed (bug #168769) Package-Manager: portage-2.1.2-r12 --- net-mail/courier-imap/ChangeLog | 6 +++- net-mail/courier-imap/Manifest | 30 ++++++++----------- .../courier-imap/courier-imap-4.1.2.ebuild | 5 +++- .../files/courier-imap-4.1.2-as-needed.patch | 12 ++++++++ 4 files changed, 33 insertions(+), 20 deletions(-) create mode 100644 net-mail/courier-imap/files/courier-imap-4.1.2-as-needed.patch diff --git a/net-mail/courier-imap/ChangeLog b/net-mail/courier-imap/ChangeLog index 186cd7b7468d..623905674bb3 100644 --- a/net-mail/courier-imap/ChangeLog +++ b/net-mail/courier-imap/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-mail/courier-imap # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/ChangeLog,v 1.144 2007/02/27 17:34:53 chutzpah Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/ChangeLog,v 1.145 2007/03/01 21:57:51 chutzpah Exp $ + + 01 Mar 2007; Patrick McLean + +files/courier-imap-4.1.2-as-needed.patch, courier-imap-4.1.2.ebuild: + Add patch to fix compilation with -as-needed (bug #168769) 27 Feb 2007; Patrick McLean +files/courier-imap-4.1.2-aclocal-fix.patch, diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest index 7a520f56b3b7..ec52d24d4b47 100644 --- a/net-mail/courier-imap/Manifest +++ b/net-mail/courier-imap/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX authdaemond-3.0.4-r1 1062 RMD160 5e9184dc8c8ccbb528252c0795b5cd62b1d1b9c8 SHA1 55180242453ee47c951d265615da7a0902a5dc1f SHA256 2731b87fec98ae4ecdb5cfdb5917894e28eaf768f68555462d801c116cfa2a0d MD5 71a551a4f772f4299f9752f3d043b8c5 files/authdaemond-3.0.4-r1 1062 RMD160 5e9184dc8c8ccbb528252c0795b5cd62b1d1b9c8 files/authdaemond-3.0.4-r1 1062 @@ -173,6 +170,10 @@ AUX courier-imap-4.1.2-aclocal-fix.patch 275 RMD160 ebc6b95d267aef24a93cf5dd9b65 MD5 97581e415917bb777ce4a8ee1624599a files/courier-imap-4.1.2-aclocal-fix.patch 275 RMD160 ebc6b95d267aef24a93cf5dd9b652708e1f60742 files/courier-imap-4.1.2-aclocal-fix.patch 275 SHA256 daec57c7ddcae3e70dac9fef192a72f45ebfd9e5b2d329ff94b7525df16af5f3 files/courier-imap-4.1.2-aclocal-fix.patch 275 +AUX courier-imap-4.1.2-as-needed.patch 398 RMD160 0cda873874a9261cd0f640703fdb0c7cfb79e044 SHA1 53ab7b464ed0daf167066c323827524a653964e0 SHA256 8d1185d1929ab1cce5216f188adeb66a52ede20fbcb95b45d9b7a39287f884e3 +MD5 d27cd20ea99b948a1e0feb88982d5605 files/courier-imap-4.1.2-as-needed.patch 398 +RMD160 0cda873874a9261cd0f640703fdb0c7cfb79e044 files/courier-imap-4.1.2-as-needed.patch 398 +SHA256 8d1185d1929ab1cce5216f188adeb66a52ede20fbcb95b45d9b7a39287f884e3 files/courier-imap-4.1.2-as-needed.patch 398 AUX courier-imap-4.1.2-db4-configure.in.patch 1497 RMD160 77a9ad984789ab56c5d91d8b276b5c34a0e3b909 SHA1 349ad8d16c05ba0c7a7231b092286f48fecca54b SHA256 53db1d9b267e2d753ca6e27149008b5f92e11ddea7260f44c616b7cc3327d67c MD5 3d90d6cacf8a4c23c09d3a198f509c62 files/courier-imap-4.1.2-db4-configure.in.patch 1497 RMD160 77a9ad984789ab56c5d91d8b276b5c34a0e3b909 files/courier-imap-4.1.2-db4-configure.in.patch 1497 @@ -259,14 +260,14 @@ EBUILD courier-imap-4.0.6.ebuild 10128 RMD160 ef2b87dd3905044dc01721e54bfa6d1c79 MD5 175193eaa4b40b00df0b16acc074c64d courier-imap-4.0.6.ebuild 10128 RMD160 ef2b87dd3905044dc01721e54bfa6d1c790b5e29 courier-imap-4.0.6.ebuild 10128 SHA256 48623443290cb6095f32eb70967d89213bd2eff2ca61abba164cd6a0d8cb6d10 courier-imap-4.0.6.ebuild 10128 -EBUILD courier-imap-4.1.2.ebuild 9940 RMD160 3d18fe393d8369a3e6c04a9463e31ce2dd8cd1d8 SHA1 15e81c9e3b0259589118b26129723ca53ce5d989 SHA256 33cbeb7412e9f61d730c6d8b0d14edd3c1bb85fe2c14cb47bfce114570fbf9ef -MD5 ec07f44d785a906ee5603ae0362a6515 courier-imap-4.1.2.ebuild 9940 -RMD160 3d18fe393d8369a3e6c04a9463e31ce2dd8cd1d8 courier-imap-4.1.2.ebuild 9940 -SHA256 33cbeb7412e9f61d730c6d8b0d14edd3c1bb85fe2c14cb47bfce114570fbf9ef courier-imap-4.1.2.ebuild 9940 -MISC ChangeLog 27786 RMD160 bd22b4f33835825b9828b65610684c5912f831cd SHA1 22aecdd5925c47a109bdc76f534cfd7677d67438 SHA256 c3820ac885af95c12a5f51c6da48107281a60781944b3558e5a1ad0182731f0b -MD5 a8bd8ed543296c3fe524330fa1fe39f8 ChangeLog 27786 -RMD160 bd22b4f33835825b9828b65610684c5912f831cd ChangeLog 27786 -SHA256 c3820ac885af95c12a5f51c6da48107281a60781944b3558e5a1ad0182731f0b ChangeLog 27786 +EBUILD courier-imap-4.1.2.ebuild 10015 RMD160 bd9bbd635b60a4955c03318dd4b45c8677c1c982 SHA1 c7c08e204ac785a43a63fecd2278d480e9eefdfe SHA256 f207c6520cc45f13b2e93f41fb4a43964ed9a27bb4b3d4293caa1b1713585d45 +MD5 5e7d2a73409830defbbdbdc1816b22dd courier-imap-4.1.2.ebuild 10015 +RMD160 bd9bbd635b60a4955c03318dd4b45c8677c1c982 courier-imap-4.1.2.ebuild 10015 +SHA256 f207c6520cc45f13b2e93f41fb4a43964ed9a27bb4b3d4293caa1b1713585d45 courier-imap-4.1.2.ebuild 10015 +MISC ChangeLog 27972 RMD160 0ad8be7cb43642a281274921dfce14d321a0b4cc SHA1 f95245ff588d38241551a91ffb19eaebab2fa099 SHA256 0cef541db13a0a62d9b15dba88ade2af23677a9d1fa5b770cc1ae0e8b699b8c7 +MD5 4890c2b0a036833e9cbfcf63f4837866 ChangeLog 27972 +RMD160 0ad8be7cb43642a281274921dfce14d321a0b4cc ChangeLog 27972 +SHA256 0cef541db13a0a62d9b15dba88ade2af23677a9d1fa5b770cc1ae0e8b699b8c7 ChangeLog 27972 MISC metadata.xml 280 RMD160 9f5cd4ae71c9c7e45161110dd38d67f6604cd7b8 SHA1 4b9a055d510dca2f97d61f7df74fcefbc0cc0a2c SHA256 1e7cf6dbb378d12f4d6569350ba23c49aa55a855240b78b5487532028b0ff540 MD5 9d0c568ea32cf6b45797c6e7c82b4a67 metadata.xml 280 RMD160 9f5cd4ae71c9c7e45161110dd38d67f6604cd7b8 metadata.xml 280 @@ -298,10 +299,3 @@ SHA256 3e0023761481fb070682400be05dfb6c3c02547c4a5db2fe0d8c1beffb37d7bf files/di MD5 c1fc1514f0256f3976cb49e9d420e478 files/digest-courier-imap-4.1.2 262 RMD160 931feb25d5903456270bbcbcfae5fa1b4a7e6402 files/digest-courier-imap-4.1.2 262 SHA256 334d2be842f306f500dd7da00eb8dbb4f433299a2d4f34c40093a28fa702f471 files/digest-courier-imap-4.1.2 262 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.2 (GNU/Linux) - -iD8DBQFF5GwmWt/XSf2CZdkRAjcJAJ4p1MrN5mlCjg/irt/1w9fm19VsxgCfQ3ub -K/mJSvI+h1ckuUmgrvDpOzo= -=1xsE ------END PGP SIGNATURE----- diff --git a/net-mail/courier-imap/courier-imap-4.1.2.ebuild b/net-mail/courier-imap/courier-imap-4.1.2.ebuild index 084cd0cd7d3d..7c946b342a2e 100644 --- a/net-mail/courier-imap/courier-imap-4.1.2.ebuild +++ b/net-mail/courier-imap/courier-imap-4.1.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/courier-imap-4.1.2.ebuild,v 1.3 2007/02/27 17:34:53 chutzpah Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/courier-imap-4.1.2.ebuild,v 1.4 2007/03/01 21:57:51 chutzpah Exp $ WANT_AUTOCONF="2.6" @@ -73,6 +73,9 @@ src_unpack() { # kill unneeded call to AC_PROG_SYSCONFTOOL (bug #168206) epatch "${FILESDIR}"/${P}-aclocal-fix.patch + # as-needed fix (bug #168769) + epatch "${FILESDIR}"/${P}-as-needed.patch + # These patches should fix problem detecting Berkeley DB. # We now can compile with db4 support. if use berkdb; then diff --git a/net-mail/courier-imap/files/courier-imap-4.1.2-as-needed.patch b/net-mail/courier-imap/files/courier-imap-4.1.2-as-needed.patch new file mode 100644 index 000000000000..3eff0a80300d --- /dev/null +++ b/net-mail/courier-imap/files/courier-imap-4.1.2-as-needed.patch @@ -0,0 +1,12 @@ +Index: courier-imap-4.1.2/gdbmobj/Makefile.am +=================================================================== +--- courier-imap-4.1.2.orig/gdbmobj/Makefile.am ++++ courier-imap-4.1.2/gdbmobj/Makefile.am +@@ -15,6 +15,7 @@ noinst_LTLIBRARIES=libgdbmobj.la + noinst_PROGRAMS=testgdbm + + libgdbmobj_la_SOURCES=$(LIBGDBMSOURCES) ++libgdbmobj_la_LIBADD=@LIBGDBM@ + + testgdbm_SOURCES=$(TESTGDBMSOURCES) + -- 2.26.2