summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog2
-rw-r--r--debian/patches/install-msgids.diff37
2 files changed, 39 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 186630c3..fb0d11eb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ hurd (20050513-6+SVN) unreleased; urgency=low
one from the parent directory) for group permissions of newly
created files by default.
* debian/rules (install/hurd::): Install motd.UTF8 into /etc.
+ * debian/patches/install-msgids.diff: New patch, install RPC message
+ IDs in $(datadir)/msgids, by Alfred M. Szmidt.
-- Michael Banck <mbanck@debian.org> Tue, 17 Jan 2006 22:16:33 +0100
diff --git a/debian/patches/install-msgids.diff b/debian/patches/install-msgids.diff
new file mode 100644
index 00000000..2e8c5715
--- /dev/null
+++ b/debian/patches/install-msgids.diff
@@ -0,0 +1,37 @@
+2005-08-25 Alfred M. Szmidt <ams@gnu.org>
+
+ * Makefile (MSGIDS): New variable.
+ (all, install-msgids, $(datadir)/msgids): New targets.
+ (install): Specify install-header and install-msgids as
+ prerequisites.
+
+===================================================================
+RCS file: /var/lib/cvs/sources/hurd/hurd/hurd/Makefile,v
+retrieving revision 1.28
+retrieving revision 1.28.2.1
+diff -u -r1.28 -r1.28.2.1
+--- hurd/hurd/hurd/Makefile 2002/08/22 21:25:04 1.28
++++ hurd/hurd/hurd/Makefile 2005/08/26 07:39:28 1.28.2.1
+@@ -22,15 +22,20 @@
+
+ INSTHDRS = hurd_types.h version.h ioctl_types.h paths.h shared.h console.h \
+ $(notdir $(wildcard $(srcdir)/*.defs))
++MSGIDS := hurd.msgids $(patsubst %.defs,%.msgids,$(filter %.defs,$(INSTHDRS)))
+
+ include ../Makeconf
+
+-install-headers install: $(includedir)/hurd \
++all: $(MSGIDS)
++
++install: install-msgids install-headers
++install-headers: $(includedir)/hurd \
+ $(addprefix $(includedir)/hurd/,$(INSTHDRS))
++install-msgids: $(MSGIDS) $(datadir)/msgids; $(INSTALL_DATA) $^
+
+ $(includedir)/hurd/%: $(srcdir)/%; $(INSTALL_DATA) $< $@
+
+-$(includedir)/hurd:;mkdir -p $@
++$(datadir)/msgids $(includedir)/hurd:;mkdir -p $@
+
+ %.msgids: $(srcdir)/%.defs
+ if grep -q '^subsystem' $<; \