Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Mike Frysinger (vapier)" <vapier@g.o>
Subject: gentoo-x86 commit in sys-apps/watchdog/files: watchdog-5.6-headers.patch
Date: Sun, 22 Mar 2009 22:12:34 +0000
vapier      09/03/22 22:12:34

  Added:                watchdog-5.6-headers.patch
  Log:
  Version bump.
  (Portage version: 2.2_rc26/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  sys-apps/watchdog/files/watchdog-5.6-headers.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/watchdog/files/watchdog-5.6-headers.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/watchdog/files/watchdog-5.6-headers.patch?rev=1.1&content-type=text/plain

Index: watchdog-5.6-headers.patch
===================================================================
http://sourceforge.net/tracker/index.php?func=detail&aid=1791328&group_id=172030&atid=860196

pull in more headers for prototypes

--- watchdog-5.6/src/fstab.c
+++ watchdog-5.6/src/fstab.c
@@ -4,6 +4,7 @@
 #include "config.h"
 #endif
 
+#define _GNU_SOURCE /* for strsignal() */
 #include <unistd.h>
 #include <errno.h>
 #include <stdio.h>
--- watchdog-5.6/src/wd_keepalive.c
+++ watchdog-5.6/src/wd_keepalive.c
@@ -24,7 +25,7 @@
 #include <stdlib.h>
 #include <sys/mman.h>
 #include <sys/wait.h>
-#define __USE_GNU
+#include <libgen.h>
 #include <string.h>
 #include <syslog.h>
 
--- watchdog-5.6/src/watchdog.c
+++ watchdog-5.6/src/watchdog.c
@@ -26,12 +26,10 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <linux/watchdog.h>
-#define __USE_GNU
 #include <string.h>
 
-#if !defined(__GLIBC__)		/* __GLIBC__ */
-extern char *basename(const char *);
-#endif				/* __GLIBC__ */
+#include <sys/ioctl.h>
+#include <libgen.h>
 
 #include <unistd.h>
 





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
portage r13144 - main/trunk/pym/portage
Next by thread:
gentoo-x86 commit in sys-apps/watchdog: ChangeLog watchdog-5.6.ebuild
Previous by date:
portage r13144 - main/trunk/pym/portage
Next by date:
gentoo-x86 commit in sys-apps/watchdog: ChangeLog watchdog-5.6.ebuild


Updated Jan 26, 2011

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.