From 249ae83654e87816be38c794ebd68c6d7d43ca9a Mon Sep 17 00:00:00 2001 From: Michael Banck Date: Sun, 25 Sep 2005 08:52:24 +0000 Subject: * debian/patches/libstore_attribute.patch: New patch by Roland McGrath, taken from CVS. --- debian/changelog | 2 ++ debian/patches/libstore_attribute.patch | 29 +++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 debian/patches/libstore_attribute.patch 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 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 + + * 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 + 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 } + + -- cgit v1.2.3