summaryrefslogtreecommitdiffstats
path: root/libraries/yajl/yajl.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/yajl/yajl.SlackBuild')
-rw-r--r--libraries/yajl/yajl.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/libraries/yajl/yajl.SlackBuild b/libraries/yajl/yajl.SlackBuild
index b58cac47ef..0c2408c1ab 100644
--- a/libraries/yajl/yajl.SlackBuild
+++ b/libraries/yajl/yajl.SlackBuild
@@ -5,8 +5,9 @@
# Written by Eugene Wissner <belka.ew@gmail.com>
# Updated by Marcin Herda <mherda@slackword.net>
# Updated by Johannes Schoepfer
+# Modified by Ricardo J. Barberis
#
-# Copyright (c) 2019, Modified by: Ricardo J. Barberis <ricardo.barberis@gmail.com>
+# Copyright (c) 2023 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -29,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=yajl
VERSION=${VERSION:-2.1.0}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -82,6 +83,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+for i in $CWD/patches/* ; do patch -p1 < $i ; done
+
mkdir build
cd build
cmake .. \