summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2003-12-27 11:25:14 +0000
committerMartin Schlemmer <azarah@gentoo.org>2003-12-27 11:25:14 +0000
commit12465f2c2cdc93aa0e7b71c0a3ae0feb5c6b7cf2 (patch)
treea350271ecac763df95baccb24d290364a821fd4e /sys-fs/udev/files
parentAdded new ebuild with the migshm patch. Closes #32312. Cleaned out old ebuilds. (diff)
downloadgentoo-2-12465f2c2cdc93aa0e7b71c0a3ae0feb5c6b7cf2.tar.gz
gentoo-2-12465f2c2cdc93aa0e7b71c0a3ae0feb5c6b7cf2.tar.bz2
gentoo-2-12465f2c2cdc93aa0e7b71c0a3ae0feb5c6b7cf2.zip
Fix gcc-2.95.4 compat, bug #36556.
Diffstat (limited to 'sys-fs/udev/files')
-rw-r--r--sys-fs/udev/files/udev-011-namedev_c-gcc295-compat.patch13
1 files changed, 13 insertions, 0 deletions
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 */