24 lines
747 B
Diff
24 lines
747 B
Diff
diff --git a/sys-apps/kmod/files/kmod-15-dynamic-kmod.patch b/sys-apps/kmod/files/kmod-15-dynamic-kmod.patch
|
|
new file mode 100644
|
|
index 0000000..c93bea6
|
|
--- /dev/null
|
|
+++ b/sys-apps/kmod/files/kmod-15-dynamic-kmod.patch
|
|
|
|
@@ -0,0 +1,16 @@
|
|
+do not statically link kmod against its own libraries
|
|
+
|
|
+https://bugs.gentoo.org/493630
|
|
+http://thread.gmane.org/gmane.linux.kernel.modules/1206
|
|
+
|
|
+--- a/Makefile.in
|
|
++++ b/Makefile.in
|
|
+@@ -817,7 +817,7 @@
|
|
+ @BUILD_TOOLS_TRUE@ tools/static-nodes.c
|
|
+
|
|
+ @BUILD_TOOLS_TRUE@tools_kmod_LDADD = libkmod/libkmod-util.la \
|
|
+-@BUILD_TOOLS_TRUE@ libkmod/libkmod-internal.la
|
|
++@BUILD_TOOLS_TRUE@ libkmod/libkmod.la
|
|
+
|
|
+
|
|
+ # ------------------------------------------------------------------------------
|