diff options
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, |