openbsd-ports/misc/gnuwatch/patches/patch-watch_c
jasper ca734e49a5 update gnuwatch to 3.2.7
change my mail address
ok bernd
2006-09-17 20:16:00 +00:00

17 lines
350 B
Plaintext

$OpenBSD: patch-watch_c,v 1.3 2006/09/17 20:16:00 jasper Exp $
--- watch.c.orig Sat Jun 17 11:18:38 2006
+++ watch.c Sat Jul 29 17:37:50 2006
@@ -134,6 +134,12 @@ get_terminal_size(void)
}
}
+float
+strtof(const char * restrict nptr, char ** restrict endptr)
+{
+ return ((float)strtod(nptr, endptr));
+}
+
int
main(int argc, char *argv[])
{