summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-05-31 17:51:44 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-05-31 17:51:44 +0200
commit3ac8930abf67d294fd703d023a9a7aff0094b733 (patch)
tree3be608e84c036bb15423d16aff2124dd698073da /debian
parent5c7fa3595ddc63ac1922a456544cba28a347a455 (diff)
add patch series
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/docfix0001-ipc-include-the-notify-protocol-in-gnumach.msgids.patch82
-rw-r--r--debian/patches/series1
2 files changed, 83 insertions, 0 deletions
diff --git a/debian/patches/docfix0001-ipc-include-the-notify-protocol-in-gnumach.msgids.patch b/debian/patches/docfix0001-ipc-include-the-notify-protocol-in-gnumach.msgids.patch
new file mode 100644
index 0000000..e007856
--- /dev/null
+++ b/debian/patches/docfix0001-ipc-include-the-notify-protocol-in-gnumach.msgids.patch
@@ -0,0 +1,82 @@
+From 59ad8bed860fcebf678d10b1383d25217b23ac89 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 gnumach] ipc: 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.
+* ipc/notify.defs: New file.
+---
+ Makefrag.am | 3 ++-
+ Makerules.mig.am | 10 ++++++++++
+ ipc/notify.defs | 22 ++++++++++++++++++++++
+ 3 files changed, 34 insertions(+), 1 deletion(-)
+ create mode 100644 ipc/notify.defs
+
+diff --git a/Makefrag.am b/Makefrag.am
+index 023a4d1..0e4a917 100644
+--- a/Makefrag.am
++++ b/Makefrag.am
+@@ -547,7 +547,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)) \
++ ipc/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..085b247 100644
+--- a/Makerules.mig.am
++++ b/Makerules.mig.am
+@@ -88,6 +88,16 @@ lib_dep_tr_for_defs_a_CPPFLAGS = $(AM_CPPFLAGS) \
+ -list $*.user.msgids \
+ < $<
+
++vpath %.defs $(top_srcdir)
++
++# 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 "$*.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/ipc/notify.defs b/ipc/notify.defs
+new file mode 100644
+index 0000000..d34eb9c
+--- /dev/null
++++ b/ipc/notify.defs
+@@ -0,0 +1,22 @@
++/*
++ * Copyright (c) 2015 Free Software Foundation.
++ *
++ * This program is free software; you can redistribute it and/or modify
++ * it under the terms of the GNU General Public License as published by
++ * the Free Software Foundation; either version 2 of the License, or
++ * (at your option) any later version.
++ *
++ * This program is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU General Public License for more details.
++ *
++ * You should have received a copy of the GNU General Public License
++ * along with this program. If not, see <http://www.gnu.org/licenses/>.
++ */
++
++/* We use custom functions to send notifications. This functions can
++ be found in `ipc_notify.c'. We use this file merely to produce the
++ list of message ids. */
++
++#include <mach/notify.defs>
+--
+2.1.4
+
diff --git a/debian/patches/series b/debian/patches/series
index fa6ae31..badc966 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -12,3 +12,4 @@ sysenter0001-yyy-sysenter-prototype.patch
vm-cache-policy0001-VM-cache-policy-change.patch
vm-cache-policy0002-vm-keep-track-of-clean-pages.patch
vm-cache-policy0003-vm-evict-clean-pages-first.patch
+docfix0001-ipc-include-the-notify-protocol-in-gnumach.msgids.patch