source: patches/udev-102-lib64-1.patch@ ea24374

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since ea24374 was be500de, checked in by Jim Gifford <clfs@…>, 18 years ago

Updated patches for ncurses and udev

  • Property mode set to 100644
File size: 7.8 KB
RevLine 
[2271acc]1Submitted By: Jim Gifford <jim@linuxfromscratch.org>
2Date: 2006-09-16
[2c088b4]3Upstream Status: Unknown
4Origin: Jim Gifford
5Description: Change /lib/udev to /lib64/udev
6
[2271acc]7diff -Naur udev-096.orig/extras/ata_id/Makefile udev-096/extras/ata_id/Makefile
8--- udev-096.orig/extras/ata_id/Makefile 2006-07-09 12:48:19.000000000 -0700
9+++ udev-096/extras/ata_id/Makefile 2006-09-16 14:40:50.000000000 -0700
[2c088b4]10@@ -16,7 +16,7 @@
11 sbindir = ${prefix}/sbin
12 usrbindir = ${prefix}/usr/bin
13 usrsbindir = ${prefix}/usr/sbin
14-libudevdir = ${prefix}/lib/udev
15+libudevdir = ${prefix}/lib64/udev
16 mandir = ${prefix}/usr/share/man
17 configdir = ${etcdir}/udev/
18
[2271acc]19diff -Naur udev-096.orig/extras/cdrom_id/Makefile udev-096/extras/cdrom_id/Makefile
20--- udev-096.orig/extras/cdrom_id/Makefile 2006-07-09 12:48:19.000000000 -0700
21+++ udev-096/extras/cdrom_id/Makefile 2006-09-16 14:40:50.000000000 -0700
[2c088b4]22@@ -16,7 +16,7 @@
23 sbindir = ${prefix}/sbin
24 usrbindir = ${prefix}/usr/bin
25 usrsbindir = ${prefix}/usr/sbin
26-libudevdir = ${prefix}/lib/udev
27+libudevdir = ${prefix}/lib64/udev
28 mandir = ${prefix}/usr/share/man
29 configdir = ${etcdir}/udev/
30
[2271acc]31diff -Naur udev-096.orig/extras/dasd_id/Makefile udev-096/extras/dasd_id/Makefile
32--- udev-096.orig/extras/dasd_id/Makefile 2006-07-09 12:48:19.000000000 -0700
33+++ udev-096/extras/dasd_id/Makefile 2006-09-16 14:40:50.000000000 -0700
[2c088b4]34@@ -16,7 +16,7 @@
35 sbindir = ${prefix}/sbin
36 usrbindir = ${prefix}/usr/bin
37 usrsbindir = ${prefix}/usr/sbin
38-libudevdir = ${prefix}/lib/udev
39+libudevdir = ${prefix}/lib64/udev
40 mandir = ${prefix}/usr/share/man
41 configdir = ${etcdir}/udev/
42
[2271acc]43diff -Naur udev-096.orig/extras/edd_id/Makefile udev-096/extras/edd_id/Makefile
44--- udev-096.orig/extras/edd_id/Makefile 2006-07-09 12:48:19.000000000 -0700
45+++ udev-096/extras/edd_id/Makefile 2006-09-16 14:40:50.000000000 -0700
[2c088b4]46@@ -16,7 +16,7 @@
47 sbindir = ${prefix}/sbin
48 usrbindir = ${prefix}/usr/bin
49 usrsbindir = ${prefix}/usr/sbin
50-libudevdir = ${prefix}/lib/udev
51+libudevdir = ${prefix}/lib64/udev
52 mandir = ${prefix}/usr/share/man
53 configdir = ${etcdir}/udev/
54
[2271acc]55diff -Naur udev-096.orig/extras/firmware/firmware.sh udev-096/extras/firmware/firmware.sh
56--- udev-096.orig/extras/firmware/firmware.sh 2006-07-09 12:48:19.000000000 -0700
57+++ udev-096/extras/firmware/firmware.sh 2006-09-16 14:41:40.000000000 -0700
58@@ -1,6 +1,6 @@
59 #!/bin/sh -e
60
61-FIRMWARE_DIRS="/lib/firmware /usr/local/lib/firmware"
62+FIRMWARE_DIRS="/lib64/firmware /usr/local/lib64/firmware"
63
64 err() {
65 echo "$@" >&2
66diff -Naur udev-096.orig/extras/firmware/Makefile udev-096/extras/firmware/Makefile
67--- udev-096.orig/extras/firmware/Makefile 2006-07-09 12:48:19.000000000 -0700
68+++ udev-096/extras/firmware/Makefile 2006-09-16 14:40:50.000000000 -0700
[2c088b4]69@@ -13,7 +13,7 @@
70 sbindir = ${prefix}/sbin
71 usrbindir = ${prefix}/usr/bin
72 usrsbindir = ${prefix}/usr/sbin
73-libudevdir = ${prefix}/lib/udev
74+libudevdir = ${prefix}/lib64/udev
75 mandir = ${prefix}/usr/share/man
76 configdir = ${etcdir}/udev/
77
[2271acc]78diff -Naur udev-096.orig/extras/floppy/Makefile udev-096/extras/floppy/Makefile
79--- udev-096.orig/extras/floppy/Makefile 2006-07-09 12:48:19.000000000 -0700
80+++ udev-096/extras/floppy/Makefile 2006-09-16 14:40:50.000000000 -0700
[2c088b4]81@@ -16,7 +16,7 @@
82 sbindir = ${prefix}/sbin
83 usrbindir = ${prefix}/usr/bin
84 usrsbindir = ${prefix}/usr/sbin
85-libudevdir = ${prefix}/lib/udev
86+libudevdir = ${prefix}/lib64/udev
87 mandir = ${prefix}/usr/share/man
88 configdir = ${etcdir}/udev/
89
[2271acc]90diff -Naur udev-096.orig/extras/path_id/Makefile udev-096/extras/path_id/Makefile
91--- udev-096.orig/extras/path_id/Makefile 2006-07-09 12:48:19.000000000 -0700
92+++ udev-096/extras/path_id/Makefile 2006-09-16 14:40:50.000000000 -0700
[2c088b4]93@@ -13,7 +13,7 @@
94 sbindir = ${prefix}/sbin
95 usrbindir = ${prefix}/usr/bin
96 usrsbindir = ${prefix}/usr/sbin
97-libudevdir = ${prefix}/lib/udev
98+libudevdir = ${prefix}/lib64/udev
99 mandir = ${prefix}/usr/share/man
100 configdir = ${etcdir}/udev/
101
[2271acc]102diff -Naur udev-096.orig/extras/run_directory/Makefile udev-096/extras/run_directory/Makefile
103--- udev-096.orig/extras/run_directory/Makefile 2006-07-09 12:48:19.000000000 -0700
104+++ udev-096/extras/run_directory/Makefile 2006-09-16 14:40:50.000000000 -0700
[2c088b4]105@@ -15,7 +15,7 @@
106 sbindir = ${prefix}/sbin
107 usrbindir = ${prefix}/usr/bin
108 usrsbindir = ${prefix}/usr/sbin
109-libudevdir = ${prefix}/lib/udev
110+libudevdir = ${prefix}/lib64/udev
111 mandir = ${prefix}/usr/share/man
112 configdir = ${etcdir}/udev/
113
[2271acc]114diff -Naur udev-096.orig/extras/scsi_id/Makefile udev-096/extras/scsi_id/Makefile
115--- udev-096.orig/extras/scsi_id/Makefile 2006-07-09 12:48:19.000000000 -0700
116+++ udev-096/extras/scsi_id/Makefile 2006-09-16 14:40:50.000000000 -0700
[2c088b4]117@@ -19,7 +19,7 @@
118 sbindir = ${prefix}/sbin
119 usrbindir = ${prefix}/usr/bin
120 usrsbindir = ${prefix}/usr/sbin
121-libudevdir = ${prefix}/lib/udev
122+libudevdir = ${prefix}/lib64/udev
123 mandir = ${prefix}/usr/share/man
124 configdir = ${etcdir}/udev/
125
[2271acc]126diff -Naur udev-096.orig/extras/usb_id/Makefile udev-096/extras/usb_id/Makefile
127--- udev-096.orig/extras/usb_id/Makefile 2006-07-09 12:48:19.000000000 -0700
128+++ udev-096/extras/usb_id/Makefile 2006-09-16 14:40:50.000000000 -0700
[2c088b4]129@@ -16,7 +16,7 @@
130 sbindir = ${prefix}/sbin
131 usrbindir = ${prefix}/usr/bin
132 usrsbindir = ${prefix}/usr/sbin
133-libudevdir = ${prefix}/lib/udev
134+libudevdir = ${prefix}/lib64/udev
135 mandir = ${prefix}/usr/share/man
136 configdir = ${etcdir}/udev/
137
[2271acc]138diff -Naur udev-096.orig/extras/volume_id/lib/Makefile udev-096/extras/volume_id/lib/Makefile
139--- udev-096.orig/extras/volume_id/lib/Makefile 2006-07-09 12:48:19.000000000 -0700
140+++ udev-096/extras/volume_id/lib/Makefile 2006-09-16 14:40:50.000000000 -0700
[2c088b4]141@@ -5,8 +5,8 @@
142 # Released under the GNU General Public License, version 2.
143 #
144 includedir = ${prefix}/usr/include
145-libdir = ${prefix}/lib
146-usrlibdir = ${prefix}/usr/lib
147+libdir = ${prefix}/lib64
148+usrlibdir = ${prefix}/usr/lib64
149
150 INSTALL = /usr/bin/install -c
151 INSTALL_DATA = ${INSTALL} -m 644
[2271acc]152diff -Naur udev-096.orig/extras/volume_id/Makefile udev-096/extras/volume_id/Makefile
153--- udev-096.orig/extras/volume_id/Makefile 2006-07-09 12:48:19.000000000 -0700
154+++ udev-096/extras/volume_id/Makefile 2006-09-16 14:40:50.000000000 -0700
155@@ -14,7 +14,7 @@
156 sbindir = ${prefix}/sbin
157 usrbindir = ${prefix}/usr/bin
158 usrsbindir = ${prefix}/usr/sbin
159-libudevdir = ${prefix}/lib/udev
160+libudevdir = ${prefix}/lib64/udev
161 mandir = ${prefix}/usr/share/man
162 configdir = ${etcdir}/udev/
163
164diff -Naur udev-096.orig/Makefile udev-096/Makefile
165--- udev-096.orig/Makefile 2006-07-09 12:48:19.000000000 -0700
166+++ udev-096/Makefile 2006-09-16 14:40:50.000000000 -0700
167@@ -98,7 +98,7 @@
168 sbindir = ${prefix}/sbin
169 usrbindir = ${prefix}/usr/bin
170 usrsbindir = ${prefix}/usr/sbin
171-libudevdir = ${prefix}/lib/udev
172+libudevdir = ${prefix}/lib64/udev
173 mandir = ${prefix}/usr/share/man
174 configdir = ${etcdir}/udev
175 udevdir = /dev
176diff -Naur udev-096.orig/udev_rules_parse.c udev-096/udev_rules_parse.c
177--- udev-096.orig/udev_rules_parse.c 2006-07-09 12:48:19.000000000 -0700
178+++ udev-096/udev_rules_parse.c 2006-09-16 14:40:50.000000000 -0700
179@@ -396,9 +396,9 @@
[2c088b4]180 if (pos)
181 pos[0] = '\0';
182
183- /* allow programs in /lib/udev called without the path */
184+ /* allow programs in /lib64/udev called without the path */
185 if (strchr(file, '/') == NULL) {
186- strlcpy(file, "/lib/udev/", sizeof(file));
187+ strlcpy(file, "/lib64/udev/", sizeof(file));
188 strlcat(file, value, sizeof(file));
189 pos = strchr(file, ' ');
190 if (pos)
[2271acc]191diff -Naur udev-096.orig/udev_utils_run.c udev-096/udev_utils_run.c
192--- udev-096.orig/udev_utils_run.c 2006-07-09 12:48:19.000000000 -0700
193+++ udev-096/udev_utils_run.c 2006-09-16 14:40:50.000000000 -0700
[2c088b4]194@@ -124,9 +124,9 @@
195 }
196 }
197
198- /* allow programs in /lib/udev called without the path */
199+ /* allow programs in /lib64/udev called without the path */
200 if (strchr(argv[0], '/') == NULL) {
201- strlcpy(program, "/lib/udev/", sizeof(program));
202+ strlcpy(program, "/lib64/udev/", sizeof(program));
203 strlcat(program, argv[0], sizeof(program));
204 argv[0] = program;
205 }
Note: See TracBrowser for help on using the repository browser.