From owner-svn-ports-head@freebsd.org Sat Aug 27 15:55:32 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2D188B76813; Sat, 27 Aug 2016 15:55:32 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EC2CF8DE; Sat, 27 Aug 2016 15:55:31 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u7RFtVIN017662; Sat, 27 Aug 2016 15:55:31 GMT (envelope-from pawel@FreeBSD.org) Received: (from pawel@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u7RFtUHQ017657; Sat, 27 Aug 2016 15:55:30 GMT (envelope-from pawel@FreeBSD.org) Message-Id: <201608271555.u7RFtUHQ017657@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pawel set sender to pawel@FreeBSD.org using -f From: Pawel Pekala Date: Sat, 27 Aug 2016 15:55:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r420981 - in head/science/silo: . 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.22 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: Sat, 27 Aug 2016 15:55:32 -0000 Author: pawel Date: Sat Aug 27 15:55:30 2016 New Revision: 420981 URL: https://svnweb.freebsd.org/changeset/ports/420981 Log: - Update to 4.10.2 [1] - Add patches to fix build on head [1] - Change MASTER_SITES to new directory structure [1] - Take maintainership [1] - Register proxy dependencies found by stage-qa for QT4 option - Use options helpers PR: 212186 [1] Submitted by: Danilo G. Baio [1] Added: head/science/silo/files/ head/science/silo/files/patch-src_hdf5__drv_H5FDsilo.c (contents, props changed) head/science/silo/files/patch-src_silo_silo.c (contents, props changed) head/science/silo/files/patch-src_silo_silo__json.c (contents, props changed) Modified: head/science/silo/Makefile head/science/silo/distinfo Modified: head/science/silo/Makefile ============================================================================== --- head/science/silo/Makefile Sat Aug 27 15:49:01 2016 (r420980) +++ head/science/silo/Makefile Sat Aug 27 15:55:30 2016 (r420981) @@ -2,13 +2,12 @@ # $FreeBSD$ PORTNAME= silo -PORTVERSION= 4.10 +PORTVERSION= 4.10.2 DISTVERSIONSUFFIX= -bsd -PORTREVISION= 3 CATEGORIES= science -MASTER_SITES= https://wci.llnl.gov/codes/${PORTNAME}/silo-${PORTVERSION}/ +MASTER_SITES= http://wci.llnl.gov/content/assets/docs/simulation/computer-codes/${PORTNAME}/silo-${PORTVERSION}/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= dbaio@bsd.com.br COMMENT= Mesh and field I/O library and scientific database LICENSE= BSD3CLAUSE @@ -35,18 +34,14 @@ HDF5_PLIST_SUB_OFF= SUFX_HDF5="" PYTHON_CONFIGURE_ENABLE= pythonmodule PYTHON_USES= python:2 -QT4_USE= XORG=xext,xi,xmu,xt \ - QT4=gui,linguisttools_build,moc_build,uic_build +QT4_USE= XORG=ice,sm,x11,xext,xi,xmu,xt \ + QT4=corelib,gui,linguisttools_build,moc_build,uic_build QT4_CONFIGURE_ON= --with-Qt-dir=${QT_PREFIX} \ --with-Qt-lib="QtGui -lQtCore" QT4_CONFIGURE_ENABLE= silex - -.include - -.if ${PORT_OPTIONS:MQT4} -QT_NONSTANDARD= yes -DESKTOP_ENTRIES="Silex" "Silex browser for Silo files" "" "silex" "" true -.endif +QT4_VARS= QT_NONSTANDARD=yes +QT4_DESKTOP_ENTRIES= "Silex" "Silex browser for Silo files" \ + "" "silex" "" true post-extract: @${CHMOD} -R a+rX ${WRKSRC} Modified: head/science/silo/distinfo ============================================================================== --- head/science/silo/distinfo Sat Aug 27 15:49:01 2016 (r420980) +++ head/science/silo/distinfo Sat Aug 27 15:55:30 2016 (r420981) @@ -1,2 +1,3 @@ -SHA256 (silo-4.10-bsd.tar.gz) = e801f2c86de8e42059c09b2a274285ad8d30da1fff4134e359fadf70fd07aca0 -SIZE (silo-4.10-bsd.tar.gz) = 13067090 +TIMESTAMP = 1472243085 +SHA256 (silo-4.10.2-bsd.tar.gz) = 4b901dfc1eb4656e83419a6fde15a2f6c6a31df84edfad7f1dc296e01b20140e +SIZE (silo-4.10.2-bsd.tar.gz) = 13067837 Added: head/science/silo/files/patch-src_hdf5__drv_H5FDsilo.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/silo/files/patch-src_hdf5__drv_H5FDsilo.c Sat Aug 27 15:55:30 2016 (r420981) @@ -0,0 +1,39 @@ +--- src/hdf5_drv/H5FDsilo.c.orig 2014-10-14 00:22:32 UTC ++++ src/hdf5_drv/H5FDsilo.c +@@ -160,27 +160,15 @@ product endorsement purposes. + * xxx64 versions if available. + */ + #if !defined(HDfstat) || !defined(HDstat) +- #if H5_SIZEOF_OFF_T!=8 && H5_SIZEOF_OFF64_T==8 && defined(H5_HAVE_STAT64) +- #ifndef HDfstat +- #define HDfstat(F,B) fstat64(F,B) +- #endif /* HDfstat */ +- #ifndef HDstat +- #define HDstat(S,B) stat64(S,B) +- #endif /* HDstat */ +- typedef struct stat64 h5_stat_t; +- typedef off64_t h5_stat_size_t; +- #define H5_SIZEOF_H5_STAT_SIZE_T H5_SIZEOF_OFF64_T +- #else /* H5_SIZEOF_OFF_T!=8 && ... */ +- #ifndef HDfstat +- #define HDfstat(F,B) fstat(F,B) +- #endif /* HDfstat */ +- #ifndef HDstat +- #define HDstat(S,B) stat(S,B) +- #endif /* HDstat */ +- typedef struct stat h5_stat_t; +- typedef off_t h5_stat_size_t; +- #define H5_SIZEOF_H5_STAT_SIZE_T H5_SIZEOF_OFF_T +- #endif /* H5_SIZEOF_OFF_T!=8 && ... */ ++ #ifndef HDfstat ++ #define HDfstat(F,B) fstat(F,B) ++ #endif /* HDfstat */ ++ #ifndef HDstat ++ #define HDstat(S,B) stat(S,B) ++ #endif /* HDstat */ ++ typedef struct stat h5_stat_t; ++ typedef off_t h5_stat_size_t; ++ #define H5_SIZEOF_H5_STAT_SIZE_T H5_SIZEOF_OFF_T + #endif /* !defined(HDfstat) || !defined(HDstat) */ + #ifndef HDlseek + #ifdef H5_HAVE_LSEEK64 Added: head/science/silo/files/patch-src_silo_silo.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/silo/files/patch-src_silo_silo.c Sat Aug 27 15:55:30 2016 (r420981) @@ -0,0 +1,39 @@ +--- src/silo/silo.c.orig 2014-10-14 00:22:33 UTC ++++ src/silo/silo.c +@@ -226,12 +226,8 @@ typedef struct db_silo_stat_t { + #ifndef SIZEOF_OFF64_T + #error missing definition for SIZEOF_OFF64_T in silo_private.h + #else +-#if SIZEOF_OFF64_T > 4 +- struct stat64 s; +-#else + struct stat s; + #endif +-#endif + #ifdef _WIN32 + DWORD fileindexlo; + DWORD fileindexhi; +@@ -2283,11 +2279,7 @@ db_silo_stat_one_file(const char *name, + errno = 0; + memset(&(statbuf->s), 0, sizeof(statbuf->s)); + +-#if SIZEOF_OFF64_T > 4 +- retval = stat64(name, &(statbuf->s)); +-#else + retval = stat(name, &(statbuf->s)); +-#endif /* #if SIZEOF_OFF64_T > 4 */ + + #ifdef _WIN32 + if (retval == 0) +@@ -4225,11 +4217,7 @@ DBOpenReal(const char *name, int type, i + /********************************/ + /* System level error occured. */ + /********************************/ +-#if SIZEOF_OFF64_T > 4 +- printf("stat64() failed with error: "); +-#else + printf("stat() failed with error: "); +-#endif + switch (errno) + { + case EACCES: printf("EACCES\n"); break; Added: head/science/silo/files/patch-src_silo_silo__json.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/silo/files/patch-src_silo_silo__json.c Sat Aug 27 15:55:30 2016 (r420981) @@ -0,0 +1,15 @@ +--- src/silo/silo_json.c.orig 2014-10-14 00:22:33 UTC ++++ src/silo/silo_json.c +@@ -441,12 +441,8 @@ json_object_from_binary_file(char const + #ifndef SIZEOF_OFF64_T + #error missing definition for SIZEOF_OFF64_T in silo_private.h + #else +-#if SIZEOF_OFF64_T > 4 +- struct stat64 s; +-#else + struct stat s; + #endif +-#endif + + errno = 0; + memset(&s, 0, sizeof(s));