illumos-packaging/uts/debian/patches/uts-include-path.patch

17 lines
798 B
Diff

Description: Make sure to find proper headers
We've patched some headers, e. g. rename gssapi/gssapi.h
to sys/gssapi.h, so make sure compiler can find it.
Index: b/usr/src/uts/Makefile.uts
===================================================================
--- a/usr/src/uts/Makefile.uts 2014-03-01 22:52:27.269848643 +0400
+++ b/usr/src/uts/Makefile.uts 2014-03-01 22:54:02.033070673 +0400
@@ -200,7 +200,7 @@
# the kernel code. This "=" removes the search path built in
# Makefile.master inside CPPFLAGS. Ditto for AS_CPPFLAGS.
#
-CPPFLAGS = $(ALWAYS_DEFS) $(ALL_DEFS) $(CONFIG_DEFS) \
+CPPFLAGS = -I$(ROOT)/usr/include $(ALWAYS_DEFS) $(ALL_DEFS) $(CONFIG_DEFS) \
$(INCLUDE_PATH) $(EXTRA_OPTIONS)
ASFLAGS += -P
AS_CPPFLAGS = $(ALWAYS_DEFS) $(ALL_DEFS) $(CONFIG_DEFS) $(AS_DEFS) \