From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Feb 19 17:30:18 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51AE116A4CE for ; Sat, 19 Feb 2005 17:30:18 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F17CA43D54 for ; Sat, 19 Feb 2005 17:30:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j1JHUHNq040433 for ; Sat, 19 Feb 2005 17:30:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j1JHUH9U040418; Sat, 19 Feb 2005 17:30:17 GMT (envelope-from gnats) Resent-Date: Sat, 19 Feb 2005 17:30:17 GMT Resent-Message-Id: <200502191730.j1JHUH9U040418@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Johan van Selst Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CA1D16A4CE for ; Sat, 19 Feb 2005 17:29:10 +0000 (GMT) Received: from skynet.stack.nl (skynet.stack.nl [131.155.140.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47A6943D53 for ; Sat, 19 Feb 2005 17:29:09 +0000 (GMT) (envelope-from johans@stack.nl) Received: by skynet.stack.nl (Postfix, from userid 65534) id 12FB94005; Sat, 19 Feb 2005 18:29:12 +0100 (CET) Received: from mud.stack.nl (mud.stack.nl [IPv6:2001:610:1108:5011:207:e9ff:fe14:b498]) by skynet.stack.nl (Postfix) with ESMTP id 83B203FC3 for ; Sat, 19 Feb 2005 18:29:11 +0100 (CET) Received: by mud.stack.nl (Postfix, from userid 801) id D5968171DF; Sat, 19 Feb 2005 18:29:55 +0100 (CET) Message-Id: <20050219172955.D5968171DF@mud.stack.nl> Date: Sat, 19 Feb 2005 18:29:55 +0100 (CET) From: Johan van Selst To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/77739: math/it++: update to 3.8.0 and unbreak X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Johan van Selst List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Feb 2005 17:30:18 -0000 >Number: 77739 >Category: ports >Synopsis: math/it++: update to 3.8.0 and unbreak >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Feb 19 17:30:17 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Johan van Selst >Release: FreeBSD 5.3-STABLE i386 >Organization: >Environment: System: FreeBSD mud.stack.nl 5.3-STABLE FreeBSD 5.3-STABLE #0: Mon Jan 31 22:31:14 CET 2005 root@mud.stack.nl:/usr/obj/usr/src/sys/mud i386 >Description: Stable version is now 3.8.0 (Oct 2004). This compiles out of the box on FreeBSD-STABLE. For older systems set USE_GCC=3.3+ and supply a patchfile to actually use the new g++ And while we are at it, also fix compilation on amd64 (and probably ia64) architectures >How-To-Repeat: >Fix: This update introduces two new files: files/patch-configure files/patch-include_base_machdep.h diff -uNr it++/Makefile it++/Makefile --- it++/Makefile Sat Sep 18 19:49:01 2004 +++ it++/Makefile Sat Feb 19 18:18:33 2005 @@ -7,8 +7,7 @@ # PORTNAME= it++ -PORTVERSION= 3.7.1 -PORTREVISION= 1 +PORTVERSION= 3.8.0 CATEGORIES= math MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= itpp @@ -23,17 +22,10 @@ HAS_CONFIGURE= yes CONFIGURE_ARGS= opt USE_GMAKE= yes +USE_GCC= 3.3+ .include -.if ${OSVERSION} >= 502126 -BROKEN= "Does not compile on FreeBSD >= 5.x" -.endif - -.if ${ARCH} == "amd64" || ${ARCH} == "ia64" -BROKEN= "Does not compile on amd64 or ia64" -.endif - post-patch: @${REINPLACE_CMD} -e "s|sparc|__sparc__|" \ -e "s|alpha|__alpha__|" ${WRKSRC}/include/base/machdep.h @@ -43,5 +35,6 @@ ${INSTALL_SCRIPT} ${WRKSRC}/bin/it-config ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/lib/libit++.a ${PREFIX}/lib ${CP} -R ${WRKSRC}/include ${PREFIX}/include/it++ + ${FIND} ${PREFIX}/include/it++ -name \*.orig -delete .include diff -uNr it++/distinfo it++/distinfo --- it++/distinfo Thu Jan 29 17:10:06 2004 +++ it++/distinfo Sat Feb 19 15:52:14 2005 @@ -1,2 +1,2 @@ -MD5 (it++3.7.1.tar.gz) = 8e5b242af6ad323ec4abca9b8e7c4322 -SIZE (it++3.7.1.tar.gz) = 606748 +MD5 (it++3.8.0.tar.gz) = 0003d5db4c010e1d833f7f1f1a5b26c8 +SIZE (it++3.8.0.tar.gz) = 447140 diff -uNr it++/files/patch-configure it++/files/patch-configure --- it++/files/patch-configure Thu Jan 1 01:00:00 1970 +++ it++/files/patch-configure Sat Feb 19 17:37:42 2005 @@ -0,0 +1,11 @@ +--- configure.orig Sat Feb 19 17:35:18 2005 ++++ configure Sat Feb 19 17:35:04 2005 +@@ -328,7 +328,7 @@ HAVE_LAPACK = $lapack + HAVE_FFTW = $fftw + OS = $os + IT_DIR = $it_dir +-CXX = $compiler ++#CXX = $compiler + + PROF_FLAGS = -pg \$(OPTIMIZED_FLAGS) + DEBUG_FLAGS = -g -DASSERT_LEVEL=2 diff -uNr it++/files/patch-include_base_machdep.h it++/files/patch-include_base_machdep.h --- it++/files/patch-include_base_machdep.h Thu Jan 1 01:00:00 1970 +++ it++/files/patch-include_base_machdep.h Sat Feb 19 18:03:04 2005 @@ -0,0 +1,22 @@ +--- include/base/machdep.h.orig Sat Feb 19 17:57:11 2005 ++++ include/base/machdep.h Sat Feb 19 17:57:22 2005 +@@ -24,6 +24,7 @@ + #ifndef __machdep_h + #define __machdep_h + ++#include + #include "itconfig.h" + + namespace itpp { +@@ -71,9 +72,9 @@ namespace itpp { + inline void little_endian(it_s8 x, it_s8 &y) { y = x; } + inline void little_endian(it_u8 x, it_u8 &y) { y = x; } + +-#if defined(sparc) ++#if _BYTE_ORDER == _LITTLE_ENDIAN + #define __LITTLE_ENDIAN__ +-#elif defined(i386) || defined(_M_IX86) || defined(alpha) || defined(vms) ++#elif _BYTE_ORDER == _BIG_ENDIAN + #define __BIG_ENDIAN__ + #endif + diff -uNr it++/pkg-plist it++/pkg-plist --- it++/pkg-plist Sun Jan 4 16:14:59 2004 +++ it++/pkg-plist Sat Feb 19 17:17:47 2005 @@ -4,15 +4,26 @@ include/it++/base/binary.h include/it++/base/binfile.h include/it++/base/cblas.h +include/it++/base/cfix.h +include/it++/base/cfixed.h include/it++/base/cholesky.h include/it++/base/circular_buffer.h include/it++/base/converters.h include/it++/base/det.h include/it++/base/eigen.h include/it++/base/elmatfunc.h +include/it++/base/factory.h +include/it++/base/fastica.h include/it++/base/fastmath.h include/it++/base/filter.h +include/it++/base/fix.h +include/it++/base/fix_base.h +include/it++/base/fix_factory.h +include/it++/base/fix_functions.h +include/it++/base/fix_operators.h +include/it++/base/fixed.h include/it++/base/help_functions.h +include/it++/base/integration.h include/it++/base/inv.h include/it++/base/itassert.h include/it++/base/itfile.h @@ -25,13 +36,17 @@ include/it++/base/matfunc.h include/it++/base/operators.h include/it++/base/parser.h +include/it++/base/plot_pdf.h +include/it++/base/qr.h include/it++/base/random.h include/it++/base/scalfunc.h include/it++/base/sigfun.h include/it++/base/smat.h +include/it++/base/sort.h include/it++/base/source.h include/it++/base/specmat.h include/it++/base/stack.h +include/it++/base/stat.h include/it++/base/svd.h include/it++/base/svec.h include/it++/base/timing.h @@ -62,10 +77,12 @@ include/it++/itmex.h include/it++/itsrccode.h include/it++/matlab/matlab_engine.h -include/it++/srccode/audiodev.h include/it++/srccode/audiofile.h +include/it++/srccode/gmm.h include/it++/srccode/lpcfunc.h +include/it++/srccode/pnm.h include/it++/srccode/vq.h +include/it++/srccode/vqtrain.h lib/libit++.a @dirrm include/it++/srccode @dirrm include/it++/matlab >Release-Note: >Audit-Trail: >Unformatted: