summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Auty <ikelos@gentoo.org>2009-07-10 06:31:16 +0000
committerMike Auty <ikelos@gentoo.org>2009-07-10 06:31:16 +0000
commit1d1846f30b78874b50432571400c678d77550091 (patch)
treedb0bcf79ac2a32d08c2348d7689c1f265602d067 /net-libs/libnipper
parentVersion bump. (diff)
downloadgentoo-2-1d1846f30b78874b50432571400c678d77550091.tar.gz
gentoo-2-1d1846f30b78874b50432571400c678d77550091.tar.bz2
gentoo-2-1d1846f30b78874b50432571400c678d77550091.zip
Fix up bug 276886.
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'net-libs/libnipper')
-rw-r--r--net-libs/libnipper/ChangeLog10
-rw-r--r--net-libs/libnipper/files/libnipper-0.12.6-glibc-2.10.patch13
-rw-r--r--net-libs/libnipper/libnipper-0.12.6-r1.ebuild23
3 files changed, 44 insertions, 2 deletions
diff --git a/net-libs/libnipper/ChangeLog b/net-libs/libnipper/ChangeLog
index e7dd38eba5d4..53da69b9f142 100644
--- a/net-libs/libnipper/ChangeLog
+++ b/net-libs/libnipper/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-libs/libnipper
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnipper/ChangeLog,v 1.8 2008/12/30 17:59:29 ikelos Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnipper/ChangeLog,v 1.9 2009/07/10 06:31:16 ikelos Exp $
+
+*libnipper-0.12.6-r1 (10 Jul 2009)
+
+ 10 Jul 2009; Mike Auty <ikelos@gentoo.org> +libnipper-0.12.6-r1.ebuild,
+ +files/libnipper-0.12.6-glibc-2.10.patch:
+ Fix up bug 276886.
*libnipper-0.12.6 (30 Dec 2008)
diff --git a/net-libs/libnipper/files/libnipper-0.12.6-glibc-2.10.patch b/net-libs/libnipper/files/libnipper-0.12.6-glibc-2.10.patch
new file mode 100644
index 000000000000..332276e14329
--- /dev/null
+++ b/net-libs/libnipper/files/libnipper-0.12.6-glibc-2.10.patch
@@ -0,0 +1,13 @@
+diff --git a/device/common/misc.cpp b/device/common/misc.cpp
+index 7b3a7fb..612aacd 100644
+--- a/device/common/misc.cpp
++++ b/device/common/misc.cpp
+@@ -198,7 +198,7 @@ const char *Device::cidrToNetmask(const char *cidr)
+ unsigned int Device::ipAddressToNum(const char *address)
+ {
+ // Variables...
+- char *addressPointer = 0;
++ const char *addressPointer = 0;
+ unsigned int returnAddress = 0;
+ int tempInt = 0;
+
diff --git a/net-libs/libnipper/libnipper-0.12.6-r1.ebuild b/net-libs/libnipper/libnipper-0.12.6-r1.ebuild
new file mode 100644
index 000000000000..a286fd091727
--- /dev/null
+++ b/net-libs/libnipper/libnipper-0.12.6-r1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnipper/libnipper-0.12.6-r1.ebuild,v 1.1 2009/07/10 06:31:16 ikelos Exp $
+
+inherit eutils cmake-utils
+
+DESCRIPTION="A router configuration security analysis library"
+HOMEPAGE="http://nipper.titania.co.uk/"
+SRC_URI="mirror://sourceforge/nipper/${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+# DEPEND is implicitly set by cmake-utils
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-glibc-2.10.patch"
+}