From owner-svn-ports-head@FreeBSD.ORG Mon Feb 18 18:22:12 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 13315471; Mon, 18 Feb 2013 18:22:12 +0000 (UTC) (envelope-from rm@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id D6FC5DBD; Mon, 18 Feb 2013 18:22:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r1IIMBXp067152; Mon, 18 Feb 2013 18:22:11 GMT (envelope-from rm@svn.freebsd.org) Received: (from rm@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r1IIMBp7067149; Mon, 18 Feb 2013 18:22:11 GMT (envelope-from rm@svn.freebsd.org) Message-Id: <201302181822.r1IIMBp7067149@svn.freebsd.org> From: Ruslan Mahmatkhanov Date: Mon, 18 Feb 2013 18:22:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r312515 - in head/lang/mlton: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2013 18:22:12 -0000 Author: rm Date: Mon Feb 18 18:22:10 2013 New Revision: 312515 URL: http://svnweb.freebsd.org/changeset/ports/312515 Log: - fix build with newer math/gmp in ports tree. Newer versions of gmp do not define __gmp_const. This patch addresses the compile time errors with an ifndef. while here: - trim Makefile header - remove indefinite article from COMMENT - remove deprecated attribution from pkg-descr and make tab -> space change in WWW field PR: 176229 Submitted by: Timothy Beyer Approved by: maintainer (implicit, because the port was broken) Added: head/lang/mlton/files/patch-runtime_gc_int-inf.c (contents, props changed) Modified: head/lang/mlton/Makefile head/lang/mlton/pkg-descr Modified: head/lang/mlton/Makefile ============================================================================== --- head/lang/mlton/Makefile Mon Feb 18 17:48:29 2013 (r312514) +++ head/lang/mlton/Makefile Mon Feb 18 18:22:10 2013 (r312515) @@ -1,9 +1,5 @@ -# New ports collection makefile for: mlton -# Date created: 1 Oct 2002 -# Whom: Stephen Weeks -# +# Created by: Stephen Weeks # $FreeBSD$ -# # Because MLton is written in SML, it needs an SML compiler to build. # It is easiest to use another (earlier) binary version of MLton as @@ -22,7 +18,7 @@ EXTRACT_ONLY= ${SRC_DIST} # Other maintainer is Geoffrey Mainland (mainland@apeiron.net) MAINTAINER= jesper.louis.andersen@gmail.com -COMMENT= An optimizing Standard ML compiler +COMMENT= Optimizing Standard ML compiler LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp RUN_DEPENDS= bash:${PORTSDIR}/shells/bash Added: head/lang/mlton/files/patch-runtime_gc_int-inf.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/mlton/files/patch-runtime_gc_int-inf.c Mon Feb 18 18:22:10 2013 (r312515) @@ -0,0 +1,13 @@ +--- runtime/gc/int-inf.c.orig 2010-06-11 06:35:14.000000000 -0700 ++++ runtime/gc/int-inf.c 2013-02-17 15:45:47.000000000 -0800 +@@ -6,6 +6,10 @@ + * See the file MLton-LICENSE for details. + */ + ++#ifndef __gmp_const ++# define __gmp_const const ++#endif ++ + /* + * Test if a intInf is a fixnum. + */ \ No newline at end of file Modified: head/lang/mlton/pkg-descr ============================================================================== --- head/lang/mlton/pkg-descr Mon Feb 18 17:48:29 2013 (r312514) +++ head/lang/mlton/pkg-descr Mon Feb 18 18:22:10 2013 (r312515) @@ -4,6 +4,4 @@ code, has a fast C FFI, profiling, and m including an interface to the GNU multiprecision library. For more information, go to the MLton home page. -WWW: http://mlton.org/ - -Stephen Weeks +WWW: http://mlton.org/