diff options
author | Christian Heim <phreak@gentoo.org> | 2007-04-11 19:40:10 +0000 |
---|---|---|
committer | Christian Heim <phreak@gentoo.org> | 2007-04-11 19:40:10 +0000 |
commit | 3284c74b9cb733cc4cae8ea9fdeb5bd5022b5ba6 (patch) | |
tree | d82f746185621c323f2e2178fd601b82ffcb0cb1 /sys-apps/watchdog/files/watchdog-5.3.1-sundries.patch | |
parent | ppc stable, bug #144833 (diff) | |
download | historical-3284c74b9cb733cc4cae8ea9fdeb5bd5022b5ba6.tar.gz historical-3284c74b9cb733cc4cae8ea9fdeb5bd5022b5ba6.tar.bz2 historical-3284c74b9cb733cc4cae8ea9fdeb5bd5022b5ba6.zip |
Version bump, thanks to Martin von Gagern <Martin.vGagern at gmx.net> in #171786.
Package-Manager: portage-2.1.2.3
Diffstat (limited to 'sys-apps/watchdog/files/watchdog-5.3.1-sundries.patch')
-rw-r--r-- | sys-apps/watchdog/files/watchdog-5.3.1-sundries.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sys-apps/watchdog/files/watchdog-5.3.1-sundries.patch b/sys-apps/watchdog/files/watchdog-5.3.1-sundries.patch new file mode 100644 index 000000000000..cec4fb1f3502 --- /dev/null +++ b/sys-apps/watchdog/files/watchdog-5.3.1-sundries.patch @@ -0,0 +1,21 @@ +Index: watchdog-5.3.1/include/sundries.h +=================================================================== +--- watchdog-5.3.1.orig/include/sundries.h ++++ watchdog-5.3.1/include/sundries.h +@@ -46,16 +46,7 @@ char *xstrconcat2 (const char *, const c + char *xstrconcat3 (const char *, const char *, const char *); + char *xstrconcat4 (const char *, const char *, const char *, const char *); + +-/* Here is some serious cruft. */ +-#ifdef __GNUC__ +-#if defined(__GNUC_MINOR__) && __GNUC__ == 2 && __GNUC_MINOR__ >= 5 + void die (int errcode, const char *fmt, ...) __attribute__ ((noreturn)); +-#else /* GNUC < 2.5 */ +-void die (int errcode, const char *fmt, ...); +-#endif /* GNUC < 2.5 */ +-#else /* !__GNUC__ */ +-void die (int errcode, const char *fmt, ...); +-#endif /* !__GNUC__ */ + + #ifdef HAVE_NFS + int nfsmount (const char *spec, const char *node, int *flags, |