Now that we have strtof(), remove this hacky patch, the function was not
even used, and this could lead to conflicts. 'joah' jasper@ (MAINTAINER)
This commit is contained in:
parent
a393c180d8
commit
1afa06706b
@ -1,9 +1,9 @@
|
|||||||
# $OpenBSD: Makefile,v 1.3 2007/09/15 23:54:16 merdely Exp $
|
# $OpenBSD: Makefile,v 1.4 2008/06/14 15:49:21 landry Exp $
|
||||||
|
|
||||||
COMMENT= GNU watch command
|
COMMENT= GNU watch command
|
||||||
|
|
||||||
DISTNAME= procps-3.2.7
|
DISTNAME= procps-3.2.7
|
||||||
PKGNAME= ${DISTNAME:S/procps/gnuwatch/}
|
PKGNAME= ${DISTNAME:S/procps/gnuwatch/}p0
|
||||||
CATEGORIES= misc
|
CATEGORIES= misc
|
||||||
|
|
||||||
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
$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[])
|
|
||||||
{
|
|
Loading…
Reference in New Issue
Block a user