summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/dahdi/files/dahdi-2.2.0.1-no-depmod.patch')
-rw-r--r--net-misc/dahdi/files/dahdi-2.2.0.1-no-depmod.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-misc/dahdi/files/dahdi-2.2.0.1-no-depmod.patch b/net-misc/dahdi/files/dahdi-2.2.0.1-no-depmod.patch
new file mode 100644
index 0000000..928beee
--- /dev/null
+++ b/net-misc/dahdi/files/dahdi-2.2.0.1-no-depmod.patch
@@ -0,0 +1,12 @@
+diff -uNr dahdi-linux-2.2.0.1.ORIG/Makefile dahdi-linux-2.1.0.4/Makefile
+--- dahdi-linux-2.2.0.1.ORIG/Makefile 2009-03-10 15:53:36.000000000 +0000
++++ dahdi-linux-2.2.0.1/Makefile 2009-03-10 15:53:59.000000000 +0000
+@@ -191,7 +191,7 @@
+ build_tools/uninstall-modules dahdi $(KVERS)
+ endif
+ $(KMAKE) INSTALL_MOD_PATH=$(DESTDIR) INSTALL_MOD_DIR=dahdi modules_install
+- [ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || :
++# [ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || :
+
+ uninstall-modules:
+ ifdef DESTDIR