academic/getdp: Updated for version 3.5.0.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Fellype do Nascimento 2022-08-12 03:19:58 +01:00 committed by Willy Sudiarto Raharjo
parent 557056a633
commit 53fbbc2bed
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 4 additions and 18 deletions

View file

@ -1,11 +0,0 @@
#diff a/Kernel/Operation_Broadcast.cpp b/Kernel/Operation_Broadcast.cpp
#--- a/Kernel/Operation_Broadcast.cpp
#+++ b/Kernel/Operation_Broadcast.cpp
@@ -5,6 +5,7 @@
#include <vector>
#include <string>
+#include <cstring> // for strncpy()
#include <sstream>
#include <stdio.h>
#include <stdlib.h>

View file

@ -23,7 +23,7 @@
cd $(dirname $0) ; CWD=$(pwd) cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=getdp PRGNAM=getdp
VERSION=${VERSION:-3.4.0} VERSION=${VERSION:-3.5.0}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz} PKGTYPE=${PKGTYPE:-tgz}
@ -77,9 +77,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Patch that allow compilation without a fail (credits to: DragonFlyBSD/DPorts)
patch -p1 < $CWD/Kernel_Operation__Broadcast.patch Kernel/Operation_Broadcast.cpp
mkdir build mkdir build
cd build cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \ cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \

View file

@ -1,8 +1,8 @@
PRGNAM="getdp" PRGNAM="getdp"
VERSION="3.4.0" VERSION="3.5.0"
HOMEPAGE="http://getdp.info/" HOMEPAGE="http://getdp.info/"
DOWNLOAD="http://getdp.info/src/getdp-3.4.0-source.tgz" DOWNLOAD="http://getdp.info/src/getdp-3.5.0-source.tgz"
MD5SUM="76472429f7741a42c3ca3d8626e74e30" MD5SUM="157d6604cc6a26ead0b0b4121216074a"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="arpack-ng OpenBLAS %README%" REQUIRES="arpack-ng OpenBLAS %README%"