diff options
-rw-r--r-- | sys-fs/udev/ChangeLog | 6 | ||||
-rw-r--r-- | sys-fs/udev/Manifest | 5 | ||||
-rw-r--r-- | sys-fs/udev/files/udev-011-namedev_c-gcc295-compat.patch | 13 | ||||
-rw-r--r-- | sys-fs/udev/udev-011.ebuild | 5 |
4 files changed, 25 insertions, 4 deletions
diff --git a/sys-fs/udev/ChangeLog b/sys-fs/udev/ChangeLog index 0727fdeb821e..fbabf7cbbb9b 100644 --- a/sys-fs/udev/ChangeLog +++ b/sys-fs/udev/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-fs/udev # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.13 2003/12/26 23:32:44 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.14 2003/12/27 11:24:46 azarah Exp $ + + 27 Dec 2003; Martin Schlemmer <azarah@gentoo.org> udev-011.ebuild, + files/udev-011-namedev_c-gcc295-compat.patch: + Fix gcc-2.95.4 compat, bug #36556. *udev-011 (27 Dec 2003) diff --git a/sys-fs/udev/Manifest b/sys-fs/udev/Manifest index dc9b8704fb45..911340e3d81f 100644 --- a/sys-fs/udev/Manifest +++ b/sys-fs/udev/Manifest @@ -1,7 +1,7 @@ MD5 45b0f8041be46a9e278397cd99ad9076 udev-009.ebuild 2411 -MD5 cb7f0cdff89972d47dcae271a6cb3922 ChangeLog 3876 +MD5 3e521a16ff912cd97c4b942e7e9f7163 ChangeLog 4031 MD5 bb2f3caf9ec4cb1394ae3c94f2ee7a8c udev-008.ebuild 2063 -MD5 b06a4fc7100a2009a778c8669d1fbb2a udev-011.ebuild 3256 +MD5 8a81572ee2a57c65edb84e9d7cee1eba udev-011.ebuild 3349 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 MD5 83a432ae3bb1162fe07c5dd0fa3d4fbe udev-007.ebuild 1976 MD5 dbe7dc643caeafddc845fe9269430123 files/udev-011-no-wait-for-sleep.patch 1053 @@ -11,6 +11,7 @@ MD5 ad8f3d1f8a8ca711cb8c064a260b4541 files/digest-udev-008 61 MD5 601051b266adc7ea02e420c337f985fd files/digest-udev-011 61 MD5 336d350d91bd382e036d6178cfddf53d files/digest-udev-009 61 MD5 fcb45730f317fcad0c3c577fd16243b2 files/udev-007-check-valid-mode.patch 372 +MD5 478505fe4446f893adbfc4d8db0b2038 files/udev-011-namedev_c-gcc295-compat.patch 529 MD5 915a7c2bcdf0cf3e3526ba49753936ec files/digest-udev-007 61 MD5 a4c9abce9b6a2c2beeeacff0a604e2e1 files/udev-009-scsi_id-new-sysfs.patch 4357 MD5 9f644f3f81dc2e5dfe46a169fcb9d659 files/udev.permissions 3253 diff --git a/sys-fs/udev/files/udev-011-namedev_c-gcc295-compat.patch b/sys-fs/udev/files/udev-011-namedev_c-gcc295-compat.patch new file mode 100644 index 000000000000..9c0fd9b71670 --- /dev/null +++ b/sys-fs/udev/files/udev-011-namedev_c-gcc295-compat.patch @@ -0,0 +1,13 @@ +--- namedev.c.orig 2003-12-26 21:03:21.367720136 -0500 ++++ namedev.c 2003-12-26 21:03:28.930570408 -0500 +@@ -655,9 +655,9 @@ + if (isdigit(class_dev->path[strlen(class_dev->path)-1])) { + temp = strrchr(filename, '/'); + if (temp) { ++ char *temp2 = strrchr(filename, '/'); + partition = 1; + *temp = 0x00; +- char *temp2 = strrchr(filename, '/'); + dbg("temp2 = %s", temp2); + if (temp2 && (strcmp(temp2, "/block") == 0)) { + /* oops, we have no parent block device, so go back to original directory */ diff --git a/sys-fs/udev/udev-011.ebuild b/sys-fs/udev/udev-011.ebuild index 0bc4558f6292..8427321b3667 100644 --- a/sys-fs/udev/udev-011.ebuild +++ b/sys-fs/udev/udev-011.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-011.ebuild,v 1.1 2003/12/26 23:32:44 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-011.ebuild,v 1.2 2003/12/27 11:24:46 azarah Exp $ # Note: Cannot use external libsysfs with klibc .. USE_KLIBC="no" @@ -74,6 +74,9 @@ src_unpack() { # First unlink an existing file/symlink/node/fifo/socket *before* # we create a symlink, else it will fail. epatch ${FILESDIR}/${P}-unlink-before-symlink.patch + + # Fix gcc-2.95.4 compat, bug #36556 + epatch ${FILESDIR}/${P}-namedev_c-gcc295-compat.patch } src_compile() { |