Skip to content

Commit

Permalink
science/octopus: update 11.4 → 13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed Nov 6, 2023
1 parent 6326ceb commit ffa8992
Show file tree
Hide file tree
Showing 4 changed files with 222 additions and 315 deletions.
8 changes: 3 additions & 5 deletions science/octopus/Makefile
@@ -1,12 +1,11 @@
PORTNAME= octopus
DISTVERSION= 11.4
PORTREVISION= 5
DISTVERSION= 13.0
CATEGORIES= science # chemistry
MASTER_SITES= https://octopus-code.org/download/${DISTVERSION}/

MAINTAINER= yuri@FreeBSD.org
COMMENT= Scientific program aimed at the ab initio virtual experimentation
WWW= https://octopus-code.org/wiki/Main_Page
WWW= https://octopus-code.org/new-site/main/

LICENSE= GPLv2

Expand Down Expand Up @@ -35,7 +34,6 @@ LIB_DEPENDS= libarpack.so:math/arpack-ng \
USES= compiler:c++14-lang fortran gmake jpeg libtool localbase:ldflags perl5 python shebangfix
USE_CXXSTD= c++14
USE_LDCONFIG= yes
USE_GCC= 11 # pending resolution of https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266196 (see also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266196)

SHEBANG_FILES= src/fdep/fortran_dependencies.pl testsuite/performance/create_combinations.py

Expand All @@ -47,7 +45,7 @@ LDFLAGS+= -lsymspg
FCFLAGS+= -I${LOCALBASE}/include -ffree-line-length-none

INSTALL_TARGET= install-strip
TEST_TARGET= check-short # some tests fail, see https://gitlab.com/octopus-code/octopus/-/issues/558
TEST_TARGET= check-short # some tests fail, see https://gitlab.com/octopus-code/octopus/-/issues/805

OPTIONS_DEFINE= OPENMP
OPTIONS_DEFAULT= OPENMP
Expand Down
6 changes: 3 additions & 3 deletions science/octopus/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1653983494
SHA256 (octopus-11.4.tar.gz) = 73bb872bff8165ddd8efc5b891f767cb3fe575b5a4b518416c834450a4492da7
SIZE (octopus-11.4.tar.gz) = 51465556
TIMESTAMP = 1699299691
SHA256 (octopus-13.0.tar.gz) = b4d0fd496c31a9c4aa4677360e631765049373131e61f396b00048235057aeb1
SIZE (octopus-13.0.tar.gz) = 43659771
8 changes: 5 additions & 3 deletions science/octopus/files/patch-src_basic_varinfo__low.c
@@ -1,9 +1,11 @@
--- src/basic/varinfo_low.c.orig 2020-04-04 23:41:39 UTC
- workaround for https://gitlab.com/octopus-code/octopus/-/issues/804

--- src/basic/varinfo_low.c.orig 2023-11-06 19:46:44 UTC
+++ src/basic/varinfo_low.c
@@ -26,6 +26,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <fortran_types.h>
+#include <sys/types.h>

#include "string_f.h" /* fortran <-> c string compatibility issues */
Expand Down

0 comments on commit ffa8992

Please sign in to comment.