Date: Sun, 4 Nov 2018 17:46:23 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484113 - in head/science/xcrysden: . files Message-ID: <201811041746.wA4HkN7B057586@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Sun Nov 4 17:46:23 2018 New Revision: 484113 URL: https://svnweb.freebsd.org/changeset/ports/484113 Log: science/xcrysden: Fix GCC 8 build failure Add custom patch expanding arrays passed as function argument in question. Also add USES=gl. PR: 232960 Reported by: gerald Added: head/science/xcrysden/files/patch-F_gengeom.f (contents, props changed) Modified: head/science/xcrysden/Makefile Modified: head/science/xcrysden/Makefile ============================================================================== --- head/science/xcrysden/Makefile Sun Nov 4 17:18:38 2018 (r484112) +++ head/science/xcrysden/Makefile Sun Nov 4 17:46:23 2018 (r484113) @@ -2,7 +2,7 @@ PORTNAME= xcrysden DISTVERSION= 1.5.60 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= science MASTER_SITES= http://www.xcrysden.org/download/ @@ -19,7 +19,7 @@ RUN_DEPENDS= bwidget>0:x11-toolkits/bwidget \ ppmtompeg:graphics/netpbm \ xwd:x11/xwd -USES= fortran gmake localbase:ldflags tcl tk +USES= fortran gl gmake localbase:ldflags tcl tk USE_GL= gl glu USE_XORG= x11 xmu Added: head/science/xcrysden/files/patch-F_gengeom.f ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/xcrysden/files/patch-F_gengeom.f Sun Nov 4 17:46:23 2018 (r484113) @@ -0,0 +1,13 @@ +Temporary fix for gcc8 breakage: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232960 + +--- F/gengeom.f.orig 2018-11-04 17:34:02 UTC ++++ F/gengeom.f +@@ -674,7 +674,7 @@ c print *,'READFTN34_END' + include 'param.inc' + CHARACTER*80 FILE2 + INTEGER NAT(NAC) +- REAL*8 AC(3,2),BC(3,2),CC(3,2),FC(3,4),IC(3,2),RC(3,3),HC(3,3), ++ REAL*8 AC(3,4),BC(3,4),CC(3,4),FC(3,4),IC(3,4),RC(3,4),HC(3,4), + $ CSTMC(3,4), + * DVC(3,3),SOP(3,3,48),TRX(48),TRY(48),TRZ(48), + * XC(NAC,4),YC(NAC,4),ZC(NAC,4),
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811041746.wA4HkN7B057586>