aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/kbuild/glob.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/kbuild/glob.patch')
-rw-r--r--unmaintained/kbuild/glob.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/unmaintained/kbuild/glob.patch b/unmaintained/kbuild/glob.patch
new file mode 100644
index 0000000000..57b4dafadc
--- /dev/null
+++ b/unmaintained/kbuild/glob.patch
@@ -0,0 +1,19 @@
+--- ./src/kmk/Makefile.kmk.orig
++++ ./src/kmk/Makefile.kmk
+@@ -60,6 +60,7 @@
+ TEMPLATE_BIN-KMK_INCS.haiku = glob
+ TEMPLATE_BIN-KMK_INCS.openbsd = glob
+ TEMPLATE_BIN-KMK_INCS.solaris = glob
++TEMPLATE_BIN-KMK_INCS.linux = glob
+ TEMPLATE_BIN-KMK_LIBS = $(TEMPLATE_BIN-THREADED_LIBS) $(kmkmissing_1_TARGET) $(LIB_KUTIL)
+ ifdef ELECTRIC_HEAP # for electric heap (see electric.c) - windows only.
+ ifeq ($(KBUILD_TARGET),win)
+@@ -108,7 +109,7 @@
+ glob/fnmatch.c
+
+ kmkmissing_SOURCES.linux += \
+- kmkbuiltin/strlcpy.c
++ glob/glob.c getloadavg.c
+
+ kmkmissing_SOURCES.openbsd = \
+ kmkbuiltin/openbsd.c \