diff options
author | Nick Hadaway <raker@gentoo.org> | 2002-10-29 16:48:49 +0000 |
---|---|---|
committer | Nick Hadaway <raker@gentoo.org> | 2002-10-29 16:48:49 +0000 |
commit | ec3edb79b7c5a04b9fb4fe6989a7d2065f294b3e (patch) | |
tree | 4eb8887384aa030a6f0aa3856da7d58cd72532d6 /app-admin/watchdog/files | |
parent | HOMEPAGE fix #9902 (diff) | |
download | gentoo-2-ec3edb79b7c5a04b9fb4fe6989a7d2065f294b3e.tar.gz gentoo-2-ec3edb79b7c5a04b9fb4fe6989a7d2065f294b3e.tar.bz2 gentoo-2-ec3edb79b7c5a04b9fb4fe6989a7d2065f294b3e.zip |
Added a fix for compiling. See bug #8567
Diffstat (limited to 'app-admin/watchdog/files')
-rw-r--r-- | app-admin/watchdog/files/sundries.diff | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app-admin/watchdog/files/sundries.diff b/app-admin/watchdog/files/sundries.diff new file mode 100644 index 000000000000..e018571a4d00 --- /dev/null +++ b/app-admin/watchdog/files/sundries.diff @@ -0,0 +1,20 @@ +diff -urN watchdog-5.2/include/sundries.h watchdog-5.2-modified/include/sundries.h +--- watchdog-5.2/include/sundries.h 1998-09-10 10:19:11.000000000 -0500 ++++ watchdog-5.2-modified/include/sundries.h 2002-10-29 10:30:49.000000000 -0600 +@@ -46,16 +46,7 @@ + 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 volatile 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, |