source: patches/udev-103-lib64-1.patch@ fc90d77

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

Updated CLFS patches

  • Property mode set to 100644
File size: 7.8 KB
  • extras/ata_id/Makefile

    Submitted By: Jim Gifford <jim@linuxfromscratch.org>
    Date: 2006-09-16
    Upstream Status: Unknown
    Origin: Jim Gifford
    Description: Change /lib/udev to /lib64/udev
    
    diff -Naur udev-096.orig/extras/ata_id/Makefile udev-096/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-096.orig/extras/cdrom_id/Makefile udev-096/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-096.orig/extras/dasd_id/Makefile udev-096/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-096.orig/extras/edd_id/Makefile udev-096/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/firmware.sh

    diff -Naur udev-096.orig/extras/firmware/firmware.sh udev-096/extras/firmware/firmware.sh
    old new  
    11#!/bin/sh -e
    22
    3 FIRMWARE_DIRS="/lib/firmware /usr/local/lib/firmware"
     3FIRMWARE_DIRS="/lib64/firmware /usr/local/lib64/firmware"
    44
    55err() {
    66    echo "$@" >&2
  • extras/firmware/Makefile

    diff -Naur udev-096.orig/extras/firmware/Makefile udev-096/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-096.orig/extras/floppy/Makefile udev-096/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-096.orig/extras/path_id/Makefile udev-096/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-096.orig/extras/run_directory/Makefile udev-096/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-096.orig/extras/scsi_id/Makefile udev-096/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-096.orig/extras/usb_id/Makefile udev-096/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/lib/Makefile

    diff -Naur udev-096.orig/extras/volume_id/lib/Makefile udev-096/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
  • extras/volume_id/Makefile

    diff -Naur udev-096.orig/extras/volume_id/Makefile udev-096/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
  • Makefile

    diff -Naur udev-096.orig/Makefile udev-096/Makefile
    old new  
    9898sbindir =       ${prefix}/sbin
    9999usrbindir =     ${prefix}/usr/bin
    100100usrsbindir =    ${prefix}/usr/sbin
    101 libudevdir =    ${prefix}/lib/udev
     101libudevdir =    ${prefix}/lib64/udev
    102102mandir =        ${prefix}/usr/share/man
    103103configdir =     ${etcdir}/udev
    104104udevdir =       /dev
  • udev_rules_parse.c

    diff -Naur udev-096.orig/udev_rules_parse.c udev-096/udev_rules_parse.c
    old new  
    396396                                if (pos)
    397397                                        pos[0] = '\0';
    398398
    399                                 /* allow programs in /lib/udev called without the path */
     399                                /* allow programs in /lib64/udev called without the path */
    400400                                if (strchr(file, '/') == NULL) {
    401                                         strlcpy(file, "/lib/udev/", sizeof(file));
     401                                        strlcpy(file, "/lib64/udev/", sizeof(file));
    402402                                        strlcat(file, value, sizeof(file));
    403403                                        pos = strchr(file, ' ');
    404404                                        if (pos)
  • udev_utils_run.c

    diff -Naur udev-096.orig/udev_utils_run.c udev-096/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.