summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-08-04 01:38:03 +0000
committerJeroen Roovers <jer@gentoo.org>2010-08-04 01:38:03 +0000
commit8b4e9fe923e0348106109eef89c2616c8f009628 (patch)
treed086b54c24d1364f9a4c32a539de8264936f8a50 /net-analyzer/net-snmp
parentMasking media-video/tsmuxer for 64bit no-multilib profiles (diff)
downloadgentoo-2-8b4e9fe923e0348106109eef89c2616c8f009628.tar.gz
gentoo-2-8b4e9fe923e0348106109eef89c2616c8f009628.tar.bz2
gentoo-2-8b4e9fe923e0348106109eef89c2616c8f009628.zip
Fix toolchain quadruplet detection (bug #330353).
(Portage version: 2.2_rc67/cvs/Linux i686)
Diffstat (limited to 'net-analyzer/net-snmp')
-rw-r--r--net-analyzer/net-snmp/ChangeLog6
-rw-r--r--net-analyzer/net-snmp/files/net-snmp-5.4.2.1-perlcc-hppa.patch12
-rw-r--r--net-analyzer/net-snmp/net-snmp-5.4.2.1-r4.ebuild5
3 files changed, 21 insertions, 2 deletions
diff --git a/net-analyzer/net-snmp/ChangeLog b/net-analyzer/net-snmp/ChangeLog
index 7e4fd295df63..444af49abfdc 100644
--- a/net-analyzer/net-snmp/ChangeLog
+++ b/net-analyzer/net-snmp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/net-snmp
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/ChangeLog,v 1.214 2010/07/13 22:08:03 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/ChangeLog,v 1.215 2010/08/04 01:38:02 jer Exp $
+
+ 04 Aug 2010; Jeroen Roovers <jer@gentoo.org> net-snmp-5.4.2.1-r4.ebuild,
+ +files/net-snmp-5.4.2.1-perlcc-hppa.patch:
+ Fix toolchain quadruplet detection (bug #330353).
13 Jul 2010; Jeroen Roovers <jer@gentoo.org> net-snmp-5.5.ebuild:
Remove unneeded autotools eclass.
diff --git a/net-analyzer/net-snmp/files/net-snmp-5.4.2.1-perlcc-hppa.patch b/net-analyzer/net-snmp/files/net-snmp-5.4.2.1-perlcc-hppa.patch
new file mode 100644
index 000000000000..40a0d1bbe7f3
--- /dev/null
+++ b/net-analyzer/net-snmp/files/net-snmp-5.4.2.1-perlcc-hppa.patch
@@ -0,0 +1,12 @@
+diff -uNr net-snmp-5.4.2.1.orig/configure.in net-snmp-5.4.2.1/configure.in
+--- net-snmp-5.4.2.1.orig/configure.in 2010-07-29 12:05:12.619347954 +0200
++++ net-snmp-5.4.2.1/configure.in 2010-07-29 12:05:38.358857068 +0200
+@@ -2986,7 +2986,7 @@
+ if test "xenable_perl_cc_checks" != "xno" ; then
+ AC_MSG_CHECKING([for Perl cc])
+ changequote(, )
+- PERLCC=`$myperl -V:cc | $myperl -n -e 'print if (s/^\s*cc=.([-=\w\s\/]+).;\s*/$1/);'`
++ PERLCC=`$myperl -V:cc | $myperl -n -e 'print if (s/^\s*cc=.([-=\w\s\/\.]+).;\s*/$1/);'`
+ changequote([, ])
+ if test "x$PERLCC" != "x" ; then
+ AC_MSG_RESULT([$PERLCC])
diff --git a/net-analyzer/net-snmp/net-snmp-5.4.2.1-r4.ebuild b/net-analyzer/net-snmp/net-snmp-5.4.2.1-r4.ebuild
index 3805f721ef56..f4d4bf8c62b4 100644
--- a/net-analyzer/net-snmp/net-snmp-5.4.2.1-r4.ebuild
+++ b/net-analyzer/net-snmp/net-snmp-5.4.2.1-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1-r4.ebuild,v 1.8 2010/07/12 19:56:51 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1-r4.ebuild,v 1.9 2010/08/04 01:38:02 jer Exp $
EAPI=2
@@ -77,6 +77,9 @@ src_prepare() {
# Fix version number:
sed -i -e "s:NetSnmpVersionInfo = \".*\":NetSnmpVersionInfo = \"${PV}\":" \
snmplib/snmp_version.c || die "sedding version failed"
+
+ # Fix toolchain quadruplet detection, bug #330353
+ epatch "${FILESDIR}/${P}-perlcc-hppa.patch"
eautoreconf