summaryrefslogtreecommitdiffstats
path: root/base/udev/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/udev/Pkgfile')
-rw-r--r--base/udev/Pkgfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/base/udev/Pkgfile b/base/udev/Pkgfile
index 76a0dfee7..8d53f650e 100644
--- a/base/udev/Pkgfile
+++ b/base/udev/Pkgfile
@@ -10,7 +10,8 @@ version=166
release=1
_lfs_release=20100128
source=(ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/$name-$version.tar.bz2 \
-http://www.linuxfromscratch.org/lfs/downloads/development/udev-config-${_lfs_release}.tar.bz2)
+http://www.linuxfromscratch.org/lfs/downloads/development/udev-config-${_lfs_release}.tar.bz2 \
+http://nutyx.meticul.eu/files/patchs/$name/$name-166-linux-2.6.38-1.patch)
build() {
if ( pkginfo -i|grep "^glib " > /dev/null) then
EXTRA="--with-pci-ids-path=/usr/share/pci.ids.gz"
@@ -18,6 +19,7 @@ else
EXTRA="--disable-extras --disable-introspection"
fi
cd udev-$version
+patch -Np1 -i ../udev-166-linux-2.6.38-1.patch
install -dv $PKG/lib/{firmware,udev/devices/{pts,shm}}
ln -s /proc/self/fd $PKG/lib/udev/devices/fd