summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-10-15 18:23:05 +0000
committerMike Frysinger <vapier@gentoo.org>2010-10-15 18:23:05 +0000
commit9870118c1ee8f6a00282f6894d3e854ea6753c00 (patch)
tree5701de7d04911b022f92c2499ca0377eeea8afb3 /sys-apps/makedev
parentAdd missing blocker for upgrade path (diff)
downloadhistorical-9870118c1ee8f6a00282f6894d3e854ea6753c00.tar.gz
historical-9870118c1ee8f6a00282f6894d3e854ea6753c00.tar.bz2
historical-9870118c1ee8f6a00282f6894d3e854ea6753c00.zip
Fix building with newer glibc #339674 by Ruediger Kramolisch.
Package-Manager: portage-2.2_rc96/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/makedev')
-rw-r--r--sys-apps/makedev/ChangeLog8
-rw-r--r--sys-apps/makedev/Manifest15
-rw-r--r--sys-apps/makedev/files/makedev-3.23.1-headers.patch12
-rw-r--r--sys-apps/makedev/makedev-3.23.1.ebuild12
4 files changed, 40 insertions, 7 deletions
diff --git a/sys-apps/makedev/ChangeLog b/sys-apps/makedev/ChangeLog
index 990fd046dae1..f86c1eea7bc1 100644
--- a/sys-apps/makedev/ChangeLog
+++ b/sys-apps/makedev/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/makedev
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/makedev/ChangeLog,v 1.2 2007/08/07 14:51:37 uberlord Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/makedev/ChangeLog,v 1.3 2010/10/15 18:23:05 vapier Exp $
+
+ 15 Oct 2010; Mike Frysinger <vapier@gentoo.org> makedev-3.23.1.ebuild,
+ +files/makedev-3.23.1-headers.patch:
+ Fix building with newer glibc #339674 by Ruediger Kramolisch.
07 Aug 2007; Roy Marples <uberlord@gentoo.org> makedev-3.23.1.ebuild:
Block on <baselayout-2, #187766 thanks to Jakub Moc
diff --git a/sys-apps/makedev/Manifest b/sys-apps/makedev/Manifest
index ffedff69b91f..7418e395e545 100644
--- a/sys-apps/makedev/Manifest
+++ b/sys-apps/makedev/Manifest
@@ -1,4 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX makedev-3.23.1-headers.patch 265 RMD160 c36af9bf4536a32bb546e0269d4469eeedbf4d1a SHA1 06787717b75e95c98cfd09a03c9b5b74957cd7c7 SHA256 56877f863c26aa5f6990aac62e1fd1579776489c6298e1850fd09d34f16faf65
DIST MAKEDEV-3.23-1.tar.gz 122613 RMD160 059850d224ec02d608c21bc6cd7c21938309b3ef SHA1 8fb64a73182ca561cd6e42a5f8108126b373fdaf SHA256 46cebf1e5e36838a5637bdd2b7af07eb1773599e1288c2d1c777e2875d721965
-EBUILD makedev-3.23.1.ebuild 1071 RMD160 99ba53c81807a85796ba4969148d5c8aa752eddf SHA1 3b3cb3ae2fb6afd193d822fb8a18982115a28ab3 SHA256 98644070ed65cec959666b6e15d47c5c504e19d80cb9c170733060e698f4c28a
-MISC ChangeLog 460 RMD160 51cd36f0c8d37a30e0f411c86313d2a5de4c05cf SHA1 fdfb2aaa57330b7a9e43fcea4346398976e1f955 SHA256 9743271e9dcf2ce22868689751c74199882e5e244e5f20af494635fb84055e2a
+EBUILD makedev-3.23.1.ebuild 1154 RMD160 81bf1b2796246fdc24665d8617d4038e045f07e0 SHA1 2cdd77aadd386a0716e7bfd2880d0bdd4258f2e0 SHA256 4dea963257d3e753d15e6e4d17f08c4d450410cdcf02b03f5881254cf85716a7
+MISC ChangeLog 635 RMD160 bc1371522ae38ffe93b41f3d53c16cb6f9047966 SHA1 acca0fd06a794877b0fc64741d61406885b6e9f0 SHA256 f2f8bc3294bd80b3b109bc07c35f4df1c0d5ca249e8ae58faa5030936e16bcc0
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iF4EAREIAAYFAky4m/sACgkQTwhj9JtAlp4MFwD+Kp0ApWI3lIEOKag82U6+zGmo
+Ahglfw6Fy2e/EEFIpwABAMU7Iup25CdlSIlYtrbL7RTyUFsSlR+rXddezKdBaBJ3
+=wmEH
+-----END PGP SIGNATURE-----
diff --git a/sys-apps/makedev/files/makedev-3.23.1-headers.patch b/sys-apps/makedev/files/makedev-3.23.1-headers.patch
new file mode 100644
index 000000000000..fac3fb1b711c
--- /dev/null
+++ b/sys-apps/makedev/files/makedev-3.23.1-headers.patch
@@ -0,0 +1,12 @@
+http://bugs.gentoo.org/339674
+
+--- a/MAKEDEV-3.23/sel.h
++++ b/MAKEDEV-3.23/sel.h
+@@ -18,6 +18,7 @@
+ */
+
+ #ifdef MAKEDEV_SELINUX
++#include <limits.h>
+ #include <selinux/selinux.h>
+ static char secontextname[PATH_MAX + 2];
+ static char secontextflag[PATH_MAX + 7];
diff --git a/sys-apps/makedev/makedev-3.23.1.ebuild b/sys-apps/makedev/makedev-3.23.1.ebuild
index a8f5f78eb95e..8f1141cab63c 100644
--- a/sys-apps/makedev/makedev-3.23.1.ebuild
+++ b/sys-apps/makedev/makedev-3.23.1.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/makedev/makedev-3.23.1.ebuild,v 1.4 2007/08/07 14:51:37 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/makedev/makedev-3.23.1.ebuild,v 1.5 2010/10/15 18:23:05 vapier Exp $
-inherit toolchain-funcs
+EAPI="2"
+
+inherit eutils toolchain-funcs
MY_PN="MAKEDEV"
MY_VER=${PV%.*}
@@ -22,6 +24,10 @@ DEPEND=""
S=${WORKDIR}/${MY_P}
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-headers.patch #339674
+}
+
src_compile() {
use selinux && export SELINUX=1
emake CC=$(tc-getCC) OPTFLAGS="${CFLAGS}" || die