aboutsummaryrefslogtreecommitdiff
path: root/network/dclib/dclib.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-02-27 22:59:02 +1300
committerRobby Workman <rworkman@slackbuilds.org>2022-02-27 22:29:04 -0600
commit72e0b0cadda954021defe3ac8c39d7e70eb2bfa4 (patch)
tree7e18fb3ccd91553653187af8ea366b1b2a5b0dae /network/dclib/dclib.SlackBuild
parent22d558c18e015c69187fef567d039dd87e6805e7 (diff)
network/dclib: Fix build on 15.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'network/dclib/dclib.SlackBuild')
-rw-r--r--network/dclib/dclib.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/network/dclib/dclib.SlackBuild b/network/dclib/dclib.SlackBuild
index d8a90a9a2b2cf..e43b3d16828f0 100644
--- a/network/dclib/dclib.SlackBuild
+++ b/network/dclib/dclib.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dclib
VERSION=${VERSION:-0.3.23}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,7 +80,9 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Patch
-patch < "$CWD"/dclib-0.3.23.patch dclib/core/cssl.cpp
+patch -p0 < "$CWD"/dclib-0.3.23.patch
+# thanks freebsd maintainers
+patch -p0 < "$CWD"/patch-dclib_core_cssl.cpp.patch
# Configure and build
CFLAGS="$SLKCFLAGS" \