freebsd-ports/devel/dmake/files/patch-configure
Sergey Matveychuk f22193f56a - Update to 4.4
PR:		ports/96608
Submitted by:	Gabor Kovesdan <gabor.kovesdan@t-hosting.hu>
2006-05-01 20:21:13 +00:00

17 lines
489 B
Text

--- configure.old Thu Apr 20 22:28:24 2006
+++ configure Thu Apr 20 22:32:50 2006
@@ -6420,12 +6420,13 @@
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
$ac_includes_default
+#include <utime.h>
int
main ()
{
struct stat s, t;
exit (!(stat ("conftest.data", &s) == 0
- && utime ("conftest.data", (long *)0) == 0
+ && utime ("conftest.data", (void *)0) == 0
&& stat ("conftest.data", &t) == 0
&& t.st_mtime >= s.st_mtime
&& t.st_mtime - s.st_mtime < 120));