aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kbuild/obstack.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/kbuild/obstack.patch')
-rw-r--r--testing/kbuild/obstack.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/kbuild/obstack.patch b/testing/kbuild/obstack.patch
new file mode 100644
index 0000000000..8301a427b0
--- /dev/null
+++ b/testing/kbuild/obstack.patch
@@ -0,0 +1,42 @@
+--- ./src/sed/Makefile.kmk.orig
++++ ./src/sed/Makefile.kmk
+@@ -56,36 +56,30 @@
+ sed/mbcs.c \
+ lib/getopt1.c \
+ lib/getopt.c \
++ lib/obstack.c \
+ lib/utils.c
+ kmk_sed_SOURCES.darwin = \
+ lib/strverscmp.c \
+- lib/obstack.c \
+ lib/getline.c
+ kmk_sed_SOURCES.dragonfly = \
+ lib/strverscmp.c \
+- lib/obstack.c \
+ lib/getline.c
+ kmk_sed_SOURCES.freebsd = \
+ lib/strverscmp.c \
+- lib/obstack.c \
+ lib/getline.c
+ kmk_sed_SOURCES.haiku = \
+- lib/strverscmp.c \
+- lib/obstack.c
++ lib/strverscmp.c
+ kmk_sed_SOURCES.openbsd = \
+ lib/strverscmp.c \
+- lib/obstack.c \
+ lib/getline.c
+ kmk_sed_SOURCES.solaris = \
+- lib/strverscmp.c \
+- lib/obstack.c
++ lib/strverscmp.c
+ ifdef KBUILD_SOLARIS_10
+ kmk_sed_SOURCES.solaris += \
+ lib/getline.c
+ endif
+ kmk_sed_SOURCES.win = \
+ lib/strverscmp.c \
+- lib/obstack.c \
+ lib/mkstemp.c \
+ lib/getline.c \
+ ../lib/startuphacks-win.c