summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-06-09 08:06:56 +0000
committerPeter Volkov <pva@gentoo.org>2008-06-09 08:06:56 +0000
commitd7d1c29871daab37cf80b8f06eb03e6e044e061f (patch)
tree5cb612dddcf6f91034f56bcca452fb73cfd1f9dc /dev-libs/libnl
parentAdded debian patches, fixed bugs 192474, 175414 and 122035. Added fonts herd ... (diff)
downloadgentoo-2-d7d1c29871daab37cf80b8f06eb03e6e044e061f.tar.gz
gentoo-2-d7d1c29871daab37cf80b8f06eb03e6e044e061f.tar.bz2
gentoo-2-d7d1c29871daab37cf80b8f06eb03e6e044e061f.zip
Fixes build with glibc-2.8, bug #225393, thank Tobias Senner and Jose daLuz for report.
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-libs/libnl')
-rw-r--r--dev-libs/libnl/ChangeLog7
-rw-r--r--dev-libs/libnl/files/libnl-1.1-glibc-2.8-ULONG_MAX.patch13
-rw-r--r--dev-libs/libnl/libnl-1.1-r1.ebuild3
3 files changed, 21 insertions, 2 deletions
diff --git a/dev-libs/libnl/ChangeLog b/dev-libs/libnl/ChangeLog
index 3b6a82a83189..e444048381bc 100644
--- a/dev-libs/libnl/ChangeLog
+++ b/dev-libs/libnl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/libnl
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/ChangeLog,v 1.26 2008/04/28 04:30:23 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/ChangeLog,v 1.27 2008/06/09 08:06:56 pva Exp $
+
+ 09 Jun 2008; Peter Volkov <pva@gentoo.org>
+ +files/libnl-1.1-glibc-2.8-ULONG_MAX.patch, libnl-1.1-r1.ebuild:
+ Fixes build with glibc-2.8, bug #225393, thank Tobias Senner and Jose
+ daLuz for report.
28 Apr 2008; Jeroen Roovers <jer@gentoo.org> libnl-1.1-r1.ebuild:
Marked ~sparc too.
diff --git a/dev-libs/libnl/files/libnl-1.1-glibc-2.8-ULONG_MAX.patch b/dev-libs/libnl/files/libnl-1.1-glibc-2.8-ULONG_MAX.patch
new file mode 100644
index 000000000000..6042067e741c
--- /dev/null
+++ b/dev-libs/libnl/files/libnl-1.1-glibc-2.8-ULONG_MAX.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/show_bug.cgi?id=225393
+
+--- include/netlink-local.h 2008-06-09 07:54:20 +0000
++++ include/netlink-local.h 2008-06-09 07:54:47 +0000
+@@ -26,6 +26,7 @@
+ #include <sys/socket.h>
+ #include <inttypes.h>
+ #include <assert.h>
++#include <limits.h>
+
+ #include <arpa/inet.h>
+ #include <netdb.h>
+
diff --git a/dev-libs/libnl/libnl-1.1-r1.ebuild b/dev-libs/libnl/libnl-1.1-r1.ebuild
index d0143bdef6b1..eba707d82186 100644
--- a/dev-libs/libnl/libnl-1.1-r1.ebuild
+++ b/dev-libs/libnl/libnl-1.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-1.1-r1.ebuild,v 1.3 2008/04/28 04:30:23 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-1.1-r1.ebuild,v 1.4 2008/06/09 08:06:56 pva Exp $
inherit eutils multilib linux-info
@@ -18,6 +18,7 @@ src_unpack() {
epatch "${FILESDIR}"/${P}-vlan-header.patch
epatch "${FILESDIR}"/${P}-minor-leaks.patch
+ epatch "${FILESDIR}"/${P}-glibc-2.8-ULONG_MAX.patch
}
src_install() {