summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMichael Banck <mbanck@debian.org>2005-09-25 08:52:24 +0000
committerMichael Banck <mbanck@debian.org>2005-09-25 08:52:24 +0000
commit249ae83654e87816be38c794ebd68c6d7d43ca9a (patch)
treea71af18a783076512eaa8f97ab3959f3b07115a6 /debian
parente34ad89023e4639cdb643467ec61c27698bedf73 (diff)
* debian/patches/libstore_attribute.patch: New patch by Roland
McGrath, taken from CVS.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog2
-rw-r--r--debian/patches/libstore_attribute.patch29
2 files changed, 31 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 8e6a99a0..23a18aae 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ hurd (20050513-4+SVN) unreleased; urgency=low
* debian/patches/thread-throttle.patch: New patch by Sergio Lopez.
* debian/patches/gcc-4.0_fixes.patch: New patch by Thomas Schwinge.
+ * debian/patches/libstore_attribute.patch: New patch by Roland
+ McGrath, taken from CVS.
-- Michael Banck <mbanck@debian.org> Sat, 24 Sep 2005 13:34:26 +0200
diff --git a/debian/patches/libstore_attribute.patch b/debian/patches/libstore_attribute.patch
new file mode 100644
index 00000000..b052514c
--- /dev/null
+++ b/debian/patches/libstore_attribute.patch
@@ -0,0 +1,29 @@
+2005-09-24 Roland McGrath <roland@frob.com>
+
+ * store.h (STORE_STD_CLASS): Use __attribute_used__ macro
+ instead of `unused' attribute.
+
+===================================================================
+RCS file: /cvsroot/hurd/cvsroot/hurd/hurd/libstore/store.h,v
+retrieving revision 1.46
+retrieving revision 1.47
+diff -u -r1.46 -r1.47
+--- hurd/hurd/libstore/store.h 2004/09/07 21:35:45 1.46
++++ hurd/hurd/libstore/store.h 2005/09/25 00:38:07 1.47
+@@ -1,6 +1,6 @@
+ /* Store I/O
+
+- Copyright (C) 1995,96,97,98,99,2001,02,04 Free Software Foundation, Inc.
++ Copyright (C) 1995,96,97,98,99,2001,02,04,05 Free Software Foundation, Inc.
+ Written by Miles Bader <miles@gnu.org>
+ This file is part of the GNU Hurd.
+
+@@ -627,7 +627,7 @@
+
+ #define STORE_STD_CLASS(name) \
+ static const struct store_class *const store_std_classes_##name[] \
+- __attribute__ ((unused, section ("store_std_classes"))) \
++ __attribute_used__ __attribute__ ((section ("store_std_classes"))) \
+ = { &store_##name##_class }
+
+