summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2005-10-02 18:00:09 +0000
committerStefan Knoblich <stkn@gentoo.org>2005-10-02 18:00:09 +0000
commitf456e1f065bc26e8c6390f9d81cada4b4734f588 (patch)
treeb4e8cf58b99892f0a674a0c092c1c22710de8591 /net-misc
parentsci-biology/embassy-mse stable on ppc. (diff)
downloadgentoo-2-f456e1f065bc26e8c6390f9d81cada4b4734f588.tar.gz
gentoo-2-f456e1f065bc26e8c6390f9d81cada4b4734f588.tar.bz2
gentoo-2-f456e1f065bc26e8c6390f9d81cada4b4734f588.zip
Fix #107885, libresolv detection failed on amd64, see changelog for details.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/partysip/ChangeLog8
-rw-r--r--net-misc/partysip/files/partysip-2.2.3-libresolv-check.diff15
-rw-r--r--net-misc/partysip/partysip-2.2.3.ebuild8
3 files changed, 29 insertions, 2 deletions
diff --git a/net-misc/partysip/ChangeLog b/net-misc/partysip/ChangeLog
index e1efea746b94..7b7bafa4658d 100644
--- a/net-misc/partysip/ChangeLog
+++ b/net-misc/partysip/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/partysip
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/partysip/ChangeLog,v 1.10 2005/07/18 11:51:31 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/partysip/ChangeLog,v 1.11 2005/10/02 18:00:09 stkn Exp $
+
+ 02 Oct 2005; Stefan Knoblich <stkn@gentoo.org>
+ +files/partysip-2.2.3-libresolv-check.diff, partysip-2.2.3.ebuild:
+ Fix libresolv check in configure.in (#107885), search for the internal
+ function name instead of the alias name, because that one is not present in
+ the amd64 libresolv.so. Thanks to White_Angel@gmx.de for reporting this.
18 Jul 2005; David Holm <dholm@gentoo.org> partysip-2.2.3.ebuild:
Added to ~ppc.
diff --git a/net-misc/partysip/files/partysip-2.2.3-libresolv-check.diff b/net-misc/partysip/files/partysip-2.2.3-libresolv-check.diff
new file mode 100644
index 000000000000..44208e066eec
--- /dev/null
+++ b/net-misc/partysip/files/partysip-2.2.3-libresolv-check.diff
@@ -0,0 +1,15 @@
+--- partysip-2.2.3/configure.in.orig 2005-10-02 19:37:55.000000000 +0000
++++ partysip-2.2.3/configure.in 2005-10-02 19:38:50.000000000 +0000
+@@ -209,8 +209,10 @@
+ ;;
+ *)
+ CHECK_INADDR_NONE
+- AC_CHECK_LIB(resolv,res_query,[PARTYSIP_LIB="$PARTYSIP_LIB -lresolv"])
+- AC_CHECK_LIB(resolv,res_query,[PPL_LIB="$PPL_LIB -lresolv"])
++ # check for the internal names here, because they are the only ones showing up
++ # on amd64
++ AC_CHECK_LIB(resolv,__res_query,[PARTYSIP_LIB="$PARTYSIP_LIB -lresolv"])
++ AC_CHECK_LIB(resolv,__res_query,[PPL_LIB="$PPL_LIB -lresolv"])
+ ;;
+ esac
+
diff --git a/net-misc/partysip/partysip-2.2.3.ebuild b/net-misc/partysip/partysip-2.2.3.ebuild
index f8802cb18d0e..6f76ef9c2524 100644
--- a/net-misc/partysip/partysip-2.2.3.ebuild
+++ b/net-misc/partysip/partysip-2.2.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/partysip/partysip-2.2.3.ebuild,v 1.2 2005/07/18 11:51:31 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/partysip/partysip-2.2.3.ebuild,v 1.3 2005/10/02 18:00:09 stkn Exp $
IUSE="berkdb debug syslog"
@@ -25,6 +25,12 @@ src_unpack() {
cd ${S}
epatch ${FILESDIR}/${P}-configure.diff
+ # fix libresolv check in configure.in (#107885)
+ # instead of res_query, we search for the real (internal)
+ # function name __res_query, because res_query isn't in the symbol
+ # list of libresolv on amd64
+ epatch ${FILESDIR}/${P}-libresolv-check.diff
+
# put partysip binary into /usr/sbin
sed -i -e "s:^bin_PROGRAMS:sbin_PROGRAMS:" \
src/Makefile.am tools/Makefile.am