summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2013-03-03 05:18:56 +0000
committerRyan Hill <dirtyepic@gentoo.org>2013-03-03 05:18:56 +0000
commitf7bddd7f04c47dfac5d8c2c76855ef4390e4cccc (patch)
tree4b5105644d570c64d5b31188280521203f89bc44
parentFix build with GCC 4.7 (bug #423215). (diff)
downloadgentoo-2-f7bddd7f04c47dfac5d8c2c76855ef4390e4cccc.tar.gz
gentoo-2-f7bddd7f04c47dfac5d8c2c76855ef4390e4cccc.tar.bz2
gentoo-2-f7bddd7f04c47dfac5d8c2c76855ef4390e4cccc.zip
Fix build with GCC 4.7 (bug #423813).
(Portage version: 2.2.0_alpha164/cvs/Linux x86_64, signed Manifest commit with key 957A8463)
-rw-r--r--net-libs/libnipper/ChangeLog8
-rw-r--r--net-libs/libnipper/files/libnipper-0.12.6-gcc47.patch16
-rw-r--r--net-libs/libnipper/libnipper-0.12.6-r1.ebuild5
3 files changed, 25 insertions, 4 deletions
diff --git a/net-libs/libnipper/ChangeLog b/net-libs/libnipper/ChangeLog
index ea47d25e616e..8ac40d75c87a 100644
--- a/net-libs/libnipper/ChangeLog
+++ b/net-libs/libnipper/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-libs/libnipper
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnipper/ChangeLog,v 1.10 2011/03/19 20:08:13 scarabeus Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnipper/ChangeLog,v 1.11 2013/03/03 05:18:56 dirtyepic Exp $
+
+ 03 Mar 2013; Ryan Hill <dirtyepic@gentoo.org> libnipper-0.12.6-r1.ebuild,
+ +files/libnipper-0.12.6-gcc47.patch:
+ Fix build with GCC 4.7 (bug #423813).
19 Mar 2011; Tomáš Chvátal <scarabeus@gentoo.org>
-libnipper-0.12.4.ebuild, -libnipper-0.12.5.ebuild, -libnipper-0.12.6.ebuild,
diff --git a/net-libs/libnipper/files/libnipper-0.12.6-gcc47.patch b/net-libs/libnipper/files/libnipper-0.12.6-gcc47.patch
new file mode 100644
index 000000000000..45b65b5e0383
--- /dev/null
+++ b/net-libs/libnipper/files/libnipper-0.12.6-gcc47.patch
@@ -0,0 +1,16 @@
+ https://bugs.gentoo.org/423813
+
+
+ device/device.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/device/device.cpp
++++ b/device/device.cpp
+@@ -31,6 +31,7 @@
+
+
+ // Includes...
++#include <unistd.h>
+ #include "../globaldefs.h"
+ #include "errortext.h"
+ #include "device.h"
diff --git a/net-libs/libnipper/libnipper-0.12.6-r1.ebuild b/net-libs/libnipper/libnipper-0.12.6-r1.ebuild
index cfe8c6298952..1a1e9d095a92 100644
--- a/net-libs/libnipper/libnipper-0.12.6-r1.ebuild
+++ b/net-libs/libnipper/libnipper-0.12.6-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2013 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.2 2011/03/19 20:08:13 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnipper/libnipper-0.12.6-r1.ebuild,v 1.3 2013/03/03 05:18:56 dirtyepic Exp $
EAPI=4
@@ -18,4 +18,5 @@ IUSE=""
PATCHES=(
"${FILESDIR}/${P}-glibc-2.10.patch"
+ "${FILESDIR}/${P}-gcc47.patch"
)