aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
Diffstat (limited to 'science')
-rw-r--r--science/xcrysden/Makefile4
-rw-r--r--science/xcrysden/files/patch-F_gengeom.f13
2 files changed, 15 insertions, 2 deletions
diff --git a/science/xcrysden/Makefile b/science/xcrysden/Makefile
index 8f63d553cffc..a01b3f71218d 100644
--- a/science/xcrysden/Makefile
+++ b/science/xcrysden/Makefile
@@ -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
diff --git a/science/xcrysden/files/patch-F_gengeom.f b/science/xcrysden/files/patch-F_gengeom.f
new file mode 100644
index 000000000000..d62ba2a3cce5
--- /dev/null
+++ b/science/xcrysden/files/patch-F_gengeom.f
@@ -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),