From 79a9ce05532093c0d7746faca6049f205f22edd9 Mon Sep 17 00:00:00 2001 From: Rene Ladan Date: Fri, 7 Mar 2014 17:57:07 +0000 Subject: Bring lang/mlton back into shape. From the PR submitter: - Update to 20100608 - Support amd64 natively - Update DISTFILES location to use Sourceforge - Add LICENSE_FILE - Ensure add-local-cross script is executable - Clean up old patches, replace trivial patches by REINPLACE_CMD - Mark SMLNJ option as broken for now. - Mark jobs unsafe. From myself: - Unexpire. - Add stage support - Add USE_GCC=any - Convert to USES - New LIB_DEPENDS format - Remove pre-FreeBSD 7.0 compatibility - Pass maintainership to submitter PR: ports/177406 Submitted by: Timothy Beyer Approved by: previous maintainer timeout (11 months) --- lang/mlton/files/patch-runtime-mingw.c | 43 ---------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 lang/mlton/files/patch-runtime-mingw.c (limited to 'lang/mlton/files/patch-runtime-mingw.c') diff --git a/lang/mlton/files/patch-runtime-mingw.c b/lang/mlton/files/patch-runtime-mingw.c deleted file mode 100644 index 2d1aaa9be883..000000000000 --- a/lang/mlton/files/patch-runtime-mingw.c +++ /dev/null @@ -1,43 +0,0 @@ ---- runtime/platform/mingw.c.orig 2008-04-27 11:10:10.000000000 +1000 -+++ runtime/platform/mingw.c 2008-04-27 11:10:33.000000000 +1000 -@@ -54,40 +54,6 @@ - } - - /* ------------------------------------------------- */ --/* Date */ --/* ------------------------------------------------- */ -- --#ifndef __GNUC__ --#define EPOCHFILETIME (116444736000000000i64) --#else --#define EPOCHFILETIME (116444736000000000LL) --#endif -- --/* Based on notes by Wu Yongwei: -- * http://mywebpage.netscape.com/yongweiwutime.htm -- */ --int gettimeofday (struct timeval *tv, struct timezone *tz) { -- FILETIME ft; -- LARGE_INTEGER li; -- __int64 t; -- static bool tzInit = FALSE; -- -- unless (tzInit) { -- tzInit = TRUE; -- _tzset(); -- } -- GetSystemTimeAsFileTime (&ft); -- li.LowPart = ft.dwLowDateTime; -- li.HighPart = ft.dwHighDateTime; -- t = li.QuadPart; -- t -= EPOCHFILETIME; -- t /= 10; -- tv->tv_sec = (long)(t / 1000000); -- tv->tv_usec = (long)(t % 1000000); -- return 0; --} -- --/* ------------------------------------------------- */ - /* MLton.Itimer */ - /* ------------------------------------------------- */ - -- cgit v1.2.3