diff options
| author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-06-17 13:21:16 +0200 |
|---|---|---|
| committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-06-17 13:21:16 +0200 |
| commit | 7fca92379f0ca5be105dc5e429e0cf422e3d3c86 (patch) | |
| tree | 44b33edcb8525e63162c84a9665b042ea7aa3628 /debian/patches/david-fix-mach_debug.patch | |
| parent | cf7d28c6c620e09f68fc29de18f630f350f2b86e (diff) | |
add davids patches
Diffstat (limited to 'debian/patches/david-fix-mach_debug.patch')
| -rw-r--r-- | debian/patches/david-fix-mach_debug.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/debian/patches/david-fix-mach_debug.patch b/debian/patches/david-fix-mach_debug.patch new file mode 100644 index 00000000..017548de --- /dev/null +++ b/debian/patches/david-fix-mach_debug.patch @@ -0,0 +1,51 @@ +Hi, + +The hard-coded /usr/include vpath will break building with sysroot +headers. Can the mach_debug defs files be handled like the others? + +Thanks. + +David + + Makeconf | 4 ++++ + procfs/Makefile | 3 --- + 2 files changed, 4 insertions(+), 3 deletions(-) + +diff --git a/Makeconf b/Makeconf +index 5cf995d..32eec13 100644 +--- a/Makeconf ++++ b/Makeconf +@@ -576,13 +576,17 @@ vpath %.defs $(top_srcdir)/hurd + mach_defs_names = bootstrap exc mach mach4 \ + mach_host mach_port mach_timer_reply memory_object \ + memory_object_default notify ++mach_debug_defs_names = mach_debug + device_defs_names = dev_forward device device_reply device_request + + mach_defs = $(addsuffix .defs,$(mach_defs_names)) ++mach_debug_defs = $(addsuffix .defs,$(mach_debug_defs_names)) + device_defs = $(addsuffix .defs,$(device_defs_names)) + + $(mach_defs): %.defs: + echo '#include <mach/$@>' > $@ ++$(mach_debug_defs): %.defs: ++ echo '#include <mach_debug/$@>' > $@ + $(device_defs): %.defs: + echo '#include <device/$@>' > $@ + +diff --git a/procfs/Makefile b/procfs/Makefile +index 6d7ca48..78f20c4 100644 +--- a/procfs/Makefile ++++ b/procfs/Makefile +@@ -28,7 +28,4 @@ OBJS = $(SRCS:.c=.o) + HURDLIBS = netfs fshelp iohelp ps ports ihash shouldbeinlibc + OTHERLIBS = -lpthread + +-# Where to find .defs files. +-vpath %.defs /usr/include/mach_debug +- + include ../Makeconf +-- +1.9.3 + + |
