source: patches/udev-098-lib64-1.patch@ 0ae51e6

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

Added: udev-098-lib64-1.patch

  • Property mode set to 100644
File size: 7.4 KB
  • Makefile

    Submitted By: Joe Gifford <jim@linuxfromscratch.org>
    Date: 2006-09-05
    Upstream Status: Unknown
    Origin: Jim Gifford
    Description: Change /lib/udev to /lib64/udev
    
    diff -Naur udev-098.orig/Makefile udev-098/Makefile
    old new  
    9696sbindir =       ${prefix}/sbin
    9797usrbindir =     ${prefix}/usr/bin
    9898usrsbindir =    ${prefix}/usr/sbin
    99 libudevdir =    ${prefix}/lib/udev
     99libudevdir =    ${prefix}/lib64/udev
    100100mandir =        ${prefix}/usr/share/man
    101101configdir =     ${etcdir}/udev
    102102udevdir =       /dev
  • extras/ata_id/Makefile

    diff -Naur udev-098.orig/extras/ata_id/Makefile udev-098/extras/ata_id/Makefile
    old new  
    1616sbindir =       ${prefix}/sbin
    1717usrbindir =     ${prefix}/usr/bin
    1818usrsbindir =    ${prefix}/usr/sbin
    19 libudevdir =    ${prefix}/lib/udev
     19libudevdir =    ${prefix}/lib64/udev
    2020mandir =        ${prefix}/usr/share/man
    2121configdir =     ${etcdir}/udev/
    2222
  • extras/cdrom_id/Makefile

    diff -Naur udev-098.orig/extras/cdrom_id/Makefile udev-098/extras/cdrom_id/Makefile
    old new  
    1616sbindir =       ${prefix}/sbin
    1717usrbindir =     ${prefix}/usr/bin
    1818usrsbindir =    ${prefix}/usr/sbin
    19 libudevdir =    ${prefix}/lib/udev
     19libudevdir =    ${prefix}/lib64/udev
    2020mandir =        ${prefix}/usr/share/man
    2121configdir =     ${etcdir}/udev/
    2222
  • extras/dasd_id/Makefile

    diff -Naur udev-098.orig/extras/dasd_id/Makefile udev-098/extras/dasd_id/Makefile
    old new  
    1616sbindir =       ${prefix}/sbin
    1717usrbindir =     ${prefix}/usr/bin
    1818usrsbindir =    ${prefix}/usr/sbin
    19 libudevdir =    ${prefix}/lib/udev
     19libudevdir =    ${prefix}/lib64/udev
    2020mandir =        ${prefix}/usr/share/man
    2121configdir =     ${etcdir}/udev/
    2222
  • extras/edd_id/Makefile

    diff -Naur udev-098.orig/extras/edd_id/Makefile udev-098/extras/edd_id/Makefile
    old new  
    1616sbindir =       ${prefix}/sbin
    1717usrbindir =     ${prefix}/usr/bin
    1818usrsbindir =    ${prefix}/usr/sbin
    19 libudevdir =    ${prefix}/lib/udev
     19libudevdir =    ${prefix}/lib64/udev
    2020mandir =        ${prefix}/usr/share/man
    2121configdir =     ${etcdir}/udev/
    2222
  • extras/firmware/Makefile

    diff -Naur udev-098.orig/extras/firmware/Makefile udev-098/extras/firmware/Makefile
    old new  
    1313sbindir =       ${prefix}/sbin
    1414usrbindir =     ${prefix}/usr/bin
    1515usrsbindir =    ${prefix}/usr/sbin
    16 libudevdir =    ${prefix}/lib/udev
     16libudevdir =    ${prefix}/lib64/udev
    1717mandir =        ${prefix}/usr/share/man
    1818configdir =     ${etcdir}/udev/
    1919
  • extras/floppy/Makefile

    diff -Naur udev-098.orig/extras/floppy/Makefile udev-098/extras/floppy/Makefile
    old new  
    1616sbindir =       ${prefix}/sbin
    1717usrbindir =     ${prefix}/usr/bin
    1818usrsbindir =    ${prefix}/usr/sbin
    19 libudevdir =    ${prefix}/lib/udev
     19libudevdir =    ${prefix}/lib64/udev
    2020mandir =        ${prefix}/usr/share/man
    2121configdir =     ${etcdir}/udev/
    2222
  • extras/path_id/Makefile

    diff -Naur udev-098.orig/extras/path_id/Makefile udev-098/extras/path_id/Makefile
    old new  
    1313sbindir =       ${prefix}/sbin
    1414usrbindir =     ${prefix}/usr/bin
    1515usrsbindir =    ${prefix}/usr/sbin
    16 libudevdir =    ${prefix}/lib/udev
     16libudevdir =    ${prefix}/lib64/udev
    1717mandir =        ${prefix}/usr/share/man
    1818configdir =     ${etcdir}/udev/
    1919
  • extras/run_directory/Makefile

    diff -Naur udev-098.orig/extras/run_directory/Makefile udev-098/extras/run_directory/Makefile
    old new  
    1515sbindir =       ${prefix}/sbin
    1616usrbindir =     ${prefix}/usr/bin
    1717usrsbindir =    ${prefix}/usr/sbin
    18 libudevdir =    ${prefix}/lib/udev
     18libudevdir =    ${prefix}/lib64/udev
    1919mandir =        ${prefix}/usr/share/man
    2020configdir =     ${etcdir}/udev/
    2121
  • extras/scsi_id/Makefile

    diff -Naur udev-098.orig/extras/scsi_id/Makefile udev-098/extras/scsi_id/Makefile
    old new  
    1919sbindir =       ${prefix}/sbin
    2020usrbindir =     ${prefix}/usr/bin
    2121usrsbindir =    ${prefix}/usr/sbin
    22 libudevdir =    ${prefix}/lib/udev
     22libudevdir =    ${prefix}/lib64/udev
    2323mandir =        ${prefix}/usr/share/man
    2424configdir =     ${etcdir}/udev/
    2525
  • extras/usb_id/Makefile

    diff -Naur udev-098.orig/extras/usb_id/Makefile udev-098/extras/usb_id/Makefile
    old new  
    1616sbindir =       ${prefix}/sbin
    1717usrbindir =     ${prefix}/usr/bin
    1818usrsbindir =    ${prefix}/usr/sbin
    19 libudevdir =    ${prefix}/lib/udev
     19libudevdir =    ${prefix}/lib64/udev
    2020mandir =        ${prefix}/usr/share/man
    2121configdir =     ${etcdir}/udev/
    2222
  • extras/volume_id/Makefile

    diff -Naur udev-098.orig/extras/volume_id/Makefile udev-098/extras/volume_id/Makefile
    old new  
    1414sbindir =       ${prefix}/sbin
    1515usrbindir =     ${prefix}/usr/bin
    1616usrsbindir =    ${prefix}/usr/sbin
    17 libudevdir =    ${prefix}/lib/udev
     17libudevdir =    ${prefix}/lib64/udev
    1818mandir =        ${prefix}/usr/share/man
    1919configdir =     ${etcdir}/udev/
    2020
  • extras/volume_id/lib/Makefile

    diff -Naur udev-098.orig/extras/volume_id/lib/Makefile udev-098/extras/volume_id/lib/Makefile
    old new  
    55# Released under the GNU General Public License, version 2.
    66#
    77includedir =    ${prefix}/usr/include
    8 libdir =        ${prefix}/lib
    9 usrlibdir =     ${prefix}/usr/lib
     8libdir =        ${prefix}/lib64
     9usrlibdir =     ${prefix}/usr/lib64
    1010
    1111INSTALL = /usr/bin/install -c
    1212INSTALL_DATA  = ${INSTALL} -m 644
  • udev_rules_parse.c

    diff -Naur udev-098.orig/udev_rules_parse.c udev-098/udev_rules_parse.c
    old new  
    432432                                if (pos)
    433433                                        pos[0] = '\0';
    434434
    435                                 /* allow programs in /lib/udev called without the path */
     435                                /* allow programs in /lib64/udev called without the path */
    436436                                if (strchr(file, '/') == NULL) {
    437                                         strlcpy(file, "/lib/udev/", sizeof(file));
     437                                        strlcpy(file, "/lib64/udev/", sizeof(file));
    438438                                        strlcat(file, value, sizeof(file));
    439439                                        pos = strchr(file, ' ');
    440440                                        if (pos)
  • udev_utils_run.c

    diff -Naur udev-098.orig/udev_utils_run.c udev-098/udev_utils_run.c
    old new  
    124124                }
    125125        }
    126126
    127         /* allow programs in /lib/udev called without the path */
     127        /* allow programs in /lib64/udev called without the path */
    128128        if (strchr(argv[0], '/') == NULL) {
    129                 strlcpy(program, "/lib/udev/", sizeof(program));
     129                strlcpy(program, "/lib64/udev/", sizeof(program));
    130130                strlcat(program, argv[0], sizeof(program));
    131131                argv[0] = program;
    132132        }
Note: See TracBrowser for help on using the repository browser.