diff options
Diffstat (limited to 'debian/patches/0003-Include-the-notify-protocol-in-gnumach.msgids.patch')
| -rw-r--r-- | debian/patches/0003-Include-the-notify-protocol-in-gnumach.msgids.patch | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/debian/patches/0003-Include-the-notify-protocol-in-gnumach.msgids.patch b/debian/patches/0003-Include-the-notify-protocol-in-gnumach.msgids.patch new file mode 100644 index 0000000..a5efde2 --- /dev/null +++ b/debian/patches/0003-Include-the-notify-protocol-in-gnumach.msgids.patch @@ -0,0 +1,49 @@ +From a6bea87ed029ae3551fc1b92e482946ca0ffc938 Mon Sep 17 00:00:00 2001 +From: Justus Winter <4winter@informatik.uni-hamburg.de> +Date: Sun, 25 May 2014 16:26:42 +0200 +Subject: [PATCH 3/3] Include the notify protocol in gnumach.msgids + +* Makefrag.am (gnumach.msgids): Add notify.msgids as prerequisite. +* Makerules.mig.am: Add rule to generate the list of message ids when +neither the client nor the server stubs are required. +--- + Makefrag.am | 3 ++- + Makerules.mig.am | 8 ++++++++ + 2 files changed, 10 insertions(+), 1 deletion(-) + +diff --git a/Makefrag.am b/Makefrag.am +index d6dd77f..2c25dd2 100644 +--- a/Makefrag.am ++++ b/Makefrag.am +@@ -537,7 +537,8 @@ nodist_libkernel_a_SOURCES += \ + # rpctrace can make use of that. + MOSTLYCLEANFILES += \ + gnumach.msgids +-gnumach.msgids: $(filter %.msgids,$(nodist_libkernel_a_SOURCES)) ++gnumach.msgids: $(filter %.msgids,$(nodist_libkernel_a_SOURCES)) \ ++ include/mach/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 3060984..89e18de 100644 +--- a/Makerules.mig.am ++++ b/Makerules.mig.am +@@ -88,6 +88,14 @@ lib_dep_tr_for_defs_a_CPPFLAGS = $(AM_CPPFLAGS) \ + -list $*.user.msgids \ + < $< + ++# Stand-alone rule to generate the list of message ids when neither ++# the client nor the server stubs are required. ++%.msgids: %.defs ++ $(MIGCOM_V) $(CPP) $(AM_CPPFLAGS) $(CPPFLAGS) -E $< \ ++ | $(MIGCOM) $(MIGCOMFLAGS) $(MIGCOMSFLAGS) \ ++ -sheader /dev/null -server /dev/null \ ++ -list "$@" ++ + # 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. + +-- +2.0.0.rc2 + |
