summaryrefslogtreecommitdiff
path: root/debian/patches/docfix0003-fu.patch
blob: c9bf135ad8c43de0afa1ca2718ffdb587d98f728 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
From 474fd79e296c3c77c6366c4b21ad8f8d676eb654 Mon Sep 17 00:00:00 2001
From: Justus Winter <4winter@informatik.uni-hamburg.de>
Date: Sun, 31 May 2015 16:27:31 +0200
Subject: [PATCH gnumach 3/3] fu

---
 Makefrag.am      | 2 +-
 Makerules.mig.am | 2 +-
 kern/notify.defs | 3 +++
 3 files changed, 5 insertions(+), 2 deletions(-)
 create mode 100644 kern/notify.defs

diff --git a/Makefrag.am b/Makefrag.am
index 1f58c6d..b4e4330 100644
--- a/Makefrag.am
+++ b/Makefrag.am
@@ -548,7 +548,7 @@ nodist_libkernel_a_SOURCES += \
 MOSTLYCLEANFILES += \
 	gnumach.msgids
 gnumach.msgids: $(filter %.msgids,$(nodist_libkernel_a_SOURCES)) \
-		include/mach/notify.msgids
+		kern/notify.msgids
 	$(AM_V_at) cat $^ > $@.new
 	$(AM_V_GEN) mv $@.new $@
 # `exec_' prefix, so that we don't try to build that file during when running
diff --git a/Makerules.mig.am b/Makerules.mig.am
index 503d657..085b247 100644
--- a/Makerules.mig.am
+++ b/Makerules.mig.am
@@ -96,7 +96,7 @@ vpath %.defs $(top_srcdir)
 	$(MIGCOM_V) $(CPP) $(AM_CPPFLAGS) $(CPPFLAGS) -E $<	\
 	| $(MIGCOM) $(MIGCOMFLAGS) $(MIGCOMSFLAGS)		\
 	  -sheader /dev/null -server /dev/null			\
-	  -list "$@"
+	  -list "$*.msgids"
 
 # This is how it should be done, but this is not integrated into GNU Automake
 # and is missing automatic inter-file dependency management because of that.
diff --git a/kern/notify.defs b/kern/notify.defs
new file mode 100644
index 0000000..a3d5909
--- /dev/null
+++ b/kern/notify.defs
@@ -0,0 +1,3 @@
+/* XXX */
+
+#include <mach/notify.defs>
-- 
2.1.4