diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2006-08-18 06:31:27 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2006-08-18 06:31:27 +0000 |
commit | 98ddf4a993739dc9a814fdbdb56b136935b1f717 (patch) | |
tree | d774022f4cf4b8fed93a9c4402b19d4cb159fafc /misc/gnu-watch/files/extrapatch-watch.c | |
parent | Add unzip to BUILD_DEPENDS to try to unbreak on pointyhat. (diff) |
Update to 3.2.7
Diffstat (limited to 'misc/gnu-watch/files/extrapatch-watch.c')
-rw-r--r-- | misc/gnu-watch/files/extrapatch-watch.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/misc/gnu-watch/files/extrapatch-watch.c b/misc/gnu-watch/files/extrapatch-watch.c new file mode 100644 index 000000000000..de8c97abfa4a --- /dev/null +++ b/misc/gnu-watch/files/extrapatch-watch.c @@ -0,0 +1,16 @@ +--- watch.c.orig Sat Jun 4 02:34:34 2005 ++++ watch.c Sat Jun 4 02:34:38 2005 +@@ -147,6 +147,13 @@ + setlocale(LC_ALL, ""); + progname = argv[0]; + ++ float ++ strtof(const char * restrict nptr, char ** restrict endptr) ++ { ++ ++ return ((float)strtod(nptr, endptr)); ++ } ++ + while ((optc = getopt_long(argc, argv, "+d::hn:vt", longopts, (int *) 0)) + != EOF) { + switch (optc) { |