Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Nov 2010 00:55:38 GMT
From:      Ruben <chromium@hybridsource.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/152088: port update: lang/ldc-devel r1655 -> r1697
Message-ID:  <201011100055.oAA0tcLk022438@www.freebsd.org>
Resent-Message-ID: <201011100100.oAA10JnD076491@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         152088
>Category:       ports
>Synopsis:       port update: lang/ldc-devel r1655 -> r1697
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 10 01:00:19 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Ruben
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
>Description:
Patch to fix the ldc compiler port, updating it to use llvm 2.8.  As before, since this port is composed of source from trunk of the ldc and tango repositories, I've packed two tarballs with the latest source and am hosting them myself.  ldc now generates debug symbols and while there are surely some bugs remaining, it generates working binaries most of the time.  This development port is meant for testing in preparation for the next release of ldc.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ru ldc-devel.orig/Makefile ldc-devel/Makefile
--- ldc-devel.orig/Makefile	2010-10-12 23:44:04.000000000 +0000
+++ ldc-devel/Makefile	2010-11-09 17:34:47.000000000 +0000
@@ -6,27 +6,24 @@
 #
 
 PORTNAME=	ldc
-DISTVERSION=	0.9.2r1655
+DISTVERSION=	0.9.2r1697
 CATEGORIES=	lang
 MASTER_SITES=	http://hybridsource.org/
 PKGNAMESUFFIX=	-devel
-DISTFILES=	ldc-0.9.2r1655.tar.bz2 tango-5525.tar.bz2
+DISTFILES=	ldc-0.9.2r1697.tar.bz2 tango-5599.tar.bz2
 
 MAINTAINER=	chromium@hybridsource.org
 COMMENT=	D frontend for llvm, with the Tango standard library
 
-BUILD_DEPENDS=	llvm>=2.7:${PORTSDIR}/devel/llvm
+BUILD_DEPENDS=	llvm>=2.8:${PORTSDIR}/devel/llvm
 LIB_DEPENDS=	config.9:${PORTSDIR}/devel/libconfig
 
-BROKEN=		does not build with llvm-2.8
-
 LICENSE_COMB=	multi
 LICENSE=	BSD ART10
 ONLY_FOR_ARCHS=	i386 amd64
 USE_BZIP2=	yes
 USE_PERL5_BUILD=yes
 USE_CMAKE=	2.6+
-CXXFLAGS+=	-DLLVM_REV=102413
 USE_GMAKE=	yes
 MAKE_JOBS_SAFE=	yes
 PORTDOCS=	LICENSE readme.txt tango/
diff -ru ldc-devel.orig/distinfo ldc-devel/distinfo
--- ldc-devel.orig/distinfo	2010-08-19 15:39:16.000000000 +0000
+++ ldc-devel/distinfo	2010-11-09 16:08:48.000000000 +0000
@@ -1,6 +1,4 @@
-MD5 (ldc-0.9.2r1655.tar.bz2) = 26cefa4ad0329634662a3e86dd875df7
-SHA256 (ldc-0.9.2r1655.tar.bz2) = a90880c52e9d51612726c692872cc1ba48d05b750aeabec7872d94d9f3ecc40f
-SIZE (ldc-0.9.2r1655.tar.bz2) = 1246512
-MD5 (tango-5525.tar.bz2) = 8047ba08103313ea2d4bf937db14be25
-SHA256 (tango-5525.tar.bz2) = 3804b50945f1d64ee772bb8a0e0c4f89bab1a51157e67df17791f8bdd86a50f9
-SIZE (tango-5525.tar.bz2) = 3025710
+SHA256 (ldc-0.9.2r1697.tar.bz2) = 550069a0e7a8f7a3338f520240aa25e1e10b7039d67439278f8650012f2f3298
+SIZE (ldc-0.9.2r1697.tar.bz2) = 1299280
+SHA256 (tango-5599.tar.bz2) = 9638efddb2d5f63b6b62d8e68366cdea0900d5cf8baf59d57d415a4ed7cea0cf
+SIZE (tango-5599.tar.bz2) = 2931114
diff -ru ldc-devel.orig/pkg-plist ldc-devel/pkg-plist
--- ldc-devel.orig/pkg-plist	2010-08-19 15:39:16.000000000 +0000
+++ ldc-devel/pkg-plist	2010-11-09 16:50:09.000000000 +0000
@@ -83,7 +83,7 @@
 include/d/tango/tango/core/rt/compiler/dmd/rt/qsort2.alt
 include/d/tango/tango/core/rt/compiler/dmd/rt/switch_.d
 include/d/tango/tango/core/rt/compiler/dmd/rt/trace.d
-include/d/tango/tango/core/rt/compiler/dmd/std/intrinsic.di
+include/d/tango/tango/core/rt/compiler/dmd/std/intrinsic.d
 include/d/tango/tango/core/rt/compiler/dmd/typeinfo/ti_AC.d
 include/d/tango/tango/core/rt/compiler/dmd/typeinfo/ti_Acdouble.d
 include/d/tango/tango/core/rt/compiler/dmd/typeinfo/ti_Acfloat.d
@@ -121,91 +121,39 @@
 include/d/tango/tango/core/rt/compiler/dmd/typeinfo/ti_wchar.d
 include/d/tango/tango/core/rt/compiler/dmd/win32.mak
 include/d/tango/tango/core/rt/compiler/dmd/windows/deh.c
-include/d/tango/tango/core/rt/compiler/gdc/Makefile.am
-include/d/tango/tango/core/rt/compiler/gdc/Makefile.in
 include/d/tango/tango/core/rt/compiler/gdc/OBJDEFS.inc
-include/d/tango/tango/core/rt/compiler/gdc/aApply.d
-include/d/tango/tango/core/rt/compiler/gdc/aApplyR.d
-include/d/tango/tango/core/rt/compiler/gdc/aaA.d
-include/d/tango/tango/core/rt/compiler/gdc/acinclude.m4
-include/d/tango/tango/core/rt/compiler/gdc/aclocal.m4
-include/d/tango/tango/core/rt/compiler/gdc/adi.d
-include/d/tango/tango/core/rt/compiler/gdc/arraycast.d
-include/d/tango/tango/core/rt/compiler/gdc/arraycat.d
-include/d/tango/tango/core/rt/compiler/gdc/cast.d
-include/d/tango/tango/core/rt/compiler/gdc/cmain.d
-include/d/tango/tango/core/rt/compiler/gdc/cmath2.d
-include/d/tango/tango/core/rt/compiler/gdc/compiler.d
-include/d/tango/tango/core/rt/compiler/gdc/config.guess
-include/d/tango/tango/core/rt/compiler/gdc/config.h.in
-include/d/tango/tango/core/rt/compiler/gdc/config.sub
-include/d/tango/tango/core/rt/compiler/gdc/config/config-head
-include/d/tango/tango/core/rt/compiler/gdc/config/config-mid
-include/d/tango/tango/core/rt/compiler/gdc/config/config-tail
-include/d/tango/tango/core/rt/compiler/gdc/config/darwin8/frag-gen
-include/d/tango/tango/core/rt/compiler/gdc/config/darwin8/frag-math
-include/d/tango/tango/core/rt/compiler/gdc/config/darwin8/frag-unix
-include/d/tango/tango/core/rt/compiler/gdc/config/darwin9/frag-gen
-include/d/tango/tango/core/rt/compiler/gdc/config/darwin9/frag-math
-include/d/tango/tango/core/rt/compiler/gdc/config/darwin9/frag-unix
-include/d/tango/tango/core/rt/compiler/gdc/config/gen_config1.c
-include/d/tango/tango/core/rt/compiler/gdc/config/gen_math.c
-include/d/tango/tango/core/rt/compiler/gdc/config/gen_unix.c
-include/d/tango/tango/core/rt/compiler/gdc/config/ldfuncs
-include/d/tango/tango/core/rt/compiler/gdc/config/ldfuncs-darwin
-include/d/tango/tango/core/rt/compiler/gdc/config/ldfuncs-ppclinux
-include/d/tango/tango/core/rt/compiler/gdc/config/ldfuncs33
-include/d/tango/tango/core/rt/compiler/gdc/config/makestruct.h
-include/d/tango/tango/core/rt/compiler/gdc/config/mingw/frag-gen
-include/d/tango/tango/core/rt/compiler/gdc/config/mingw/frag-math
-include/d/tango/tango/core/rt/compiler/gdc/config/noldfuncs
-include/d/tango/tango/core/rt/compiler/gdc/config/noldfuncs33
-include/d/tango/tango/core/rt/compiler/gdc/config/nosqrtf
-include/d/tango/tango/core/rt/compiler/gdc/config/skyos/frag-gen
-include/d/tango/tango/core/rt/compiler/gdc/config/skyos/frag-math
-include/d/tango/tango/core/rt/compiler/gdc/config/skyos/frag-unix
-include/d/tango/tango/core/rt/compiler/gdc/config/sqrtf
-include/d/tango/tango/core/rt/compiler/gdc/config/unix-head
-include/d/tango/tango/core/rt/compiler/gdc/config/unix-mid
-include/d/tango/tango/core/rt/compiler/gdc/configure
-include/d/tango/tango/core/rt/compiler/gdc/configure.in
 include/d/tango/tango/core/rt/compiler/gdc/critical.c
-include/d/tango/tango/core/rt/compiler/gdc/deh.c
-include/d/tango/tango/core/rt/compiler/gdc/dgccmain2.d
-include/d/tango/tango/core/rt/compiler/gdc/fpmath.d
-include/d/tango/tango/core/rt/compiler/gdc/frag-ac.in
-include/d/tango/tango/core/rt/compiler/gdc/gcc/aix_float.h
 include/d/tango/tango/core/rt/compiler/gdc/gcc/builtins.di
-include/d/tango/tango/core/rt/compiler/gdc/gcc/cbridge_fdset.c
-include/d/tango/tango/core/rt/compiler/gdc/gcc/cbridge_math.c
 include/d/tango/tango/core/rt/compiler/gdc/gcc/cbridge_stdio.c
-include/d/tango/tango/core/rt/compiler/gdc/gcc/cbridge_time.c
-include/d/tango/tango/core/rt/compiler/gdc/gcc/configext.d
 include/d/tango/tango/core/rt/compiler/gdc/gcc/deh.d
 include/d/tango/tango/core/rt/compiler/gdc/gcc/fpmath.d
 include/d/tango/tango/core/rt/compiler/gdc/gcc/support.d
-include/d/tango/tango/core/rt/compiler/gdc/gcc/threadsem.d
 include/d/tango/tango/core/rt/compiler/gdc/gcc/unwind.d
-include/d/tango/tango/core/rt/compiler/gdc/genobj.d
-include/d/tango/tango/core/rt/compiler/gdc/install-sh
+include/d/tango/tango/core/rt/compiler/gdc/gcc/unwind_pe.d
 include/d/tango/tango/core/rt/compiler/gdc/invariant.d
-include/d/tango/tango/core/rt/compiler/gdc/libgdc.spec.in
-include/d/tango/tango/core/rt/compiler/gdc/lifetime.d
 include/d/tango/tango/core/rt/compiler/gdc/mars.h
-include/d/tango/tango/core/rt/compiler/gdc/memory.d
-include/d/tango/tango/core/rt/compiler/gdc/memory_dyld.c
-include/d/tango/tango/core/rt/compiler/gdc/memory_freebsd.c
-include/d/tango/tango/core/rt/compiler/gdc/memset.d
-include/d/tango/tango/core/rt/compiler/gdc/minit.asm
-include/d/tango/tango/core/rt/compiler/gdc/missing
 include/d/tango/tango/core/rt/compiler/gdc/monitor.c
-include/d/tango/tango/core/rt/compiler/gdc/obj.d
-include/d/tango/tango/core/rt/compiler/gdc/phobos-ver-syms.in
-include/d/tango/tango/core/rt/compiler/gdc/qsort2.d
-include/d/tango/tango/core/rt/compiler/gdc/qsortg.d
-include/d/tango/tango/core/rt/compiler/gdc/rundmain.d
+include/d/tango/tango/core/rt/compiler/gdc/object_.d
+include/d/tango/tango/core/rt/compiler/gdc/rt/aApply.d
+include/d/tango/tango/core/rt/compiler/gdc/rt/aApplyR.d
+include/d/tango/tango/core/rt/compiler/gdc/rt/aaA.d
+include/d/tango/tango/core/rt/compiler/gdc/rt/adi.d
+include/d/tango/tango/core/rt/compiler/gdc/rt/arraybyte.d
+include/d/tango/tango/core/rt/compiler/gdc/rt/arraycast.d
+include/d/tango/tango/core/rt/compiler/gdc/rt/arraycat.d
+include/d/tango/tango/core/rt/compiler/gdc/rt/arraydouble.d
+include/d/tango/tango/core/rt/compiler/gdc/rt/arrayfloat.d
+include/d/tango/tango/core/rt/compiler/gdc/rt/arrayint.d
+include/d/tango/tango/core/rt/compiler/gdc/rt/arrayreal.d
+include/d/tango/tango/core/rt/compiler/gdc/rt/arrayshort.d
+include/d/tango/tango/core/rt/compiler/gdc/rt/cast_.d
+include/d/tango/tango/core/rt/compiler/gdc/rt/cmain.d
+include/d/tango/tango/core/rt/compiler/gdc/rt/dgccmain2.d
+include/d/tango/tango/core/rt/compiler/gdc/rt/lifetime.d
+include/d/tango/tango/core/rt/compiler/gdc/rt/memory.d
+include/d/tango/tango/core/rt/compiler/gdc/rt/qsortg.d
+include/d/tango/tango/core/rt/compiler/gdc/rt/switch_.d
 include/d/tango/tango/core/rt/compiler/gdc/std/intrinsic.d
-include/d/tango/tango/core/rt/compiler/gdc/switch.d
 include/d/tango/tango/core/rt/compiler/gdc/typeinfo/ti_AC.d
 include/d/tango/tango/core/rt/compiler/gdc/typeinfo/ti_Acdouble.d
 include/d/tango/tango/core/rt/compiler/gdc/typeinfo/ti_Acfloat.d
@@ -457,6 +405,7 @@
 include/d/tango/tango/stdc/posix/dirent.d
 include/d/tango/tango/stdc/posix/dlfcn.d
 include/d/tango/tango/stdc/posix/fcntl.d
+include/d/tango/tango/stdc/posix/grp.d
 include/d/tango/tango/stdc/posix/inttypes.d
 include/d/tango/tango/stdc/posix/langinfo.d
 include/d/tango/tango/stdc/posix/net/if_.d
@@ -742,11 +691,6 @@
 @dirrm include/d/tango/tango/core/rt/compiler/gdc/std
 @dirrm include/d/tango/tango/core/rt/compiler/gdc/rt
 @dirrm include/d/tango/tango/core/rt/compiler/gdc/gcc
-@dirrm include/d/tango/tango/core/rt/compiler/gdc/config/skyos
-@dirrm include/d/tango/tango/core/rt/compiler/gdc/config/mingw
-@dirrm include/d/tango/tango/core/rt/compiler/gdc/config/darwin9
-@dirrm include/d/tango/tango/core/rt/compiler/gdc/config/darwin8
-@dirrm include/d/tango/tango/core/rt/compiler/gdc/config
 @dirrm include/d/tango/tango/core/rt/compiler/gdc
 @dirrm include/d/tango/tango/core/rt/compiler/dmd/windows
 @dirrm include/d/tango/tango/core/rt/compiler/dmd/typeinfo


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011100055.oAA0tcLk022438>