From 964cd46baa4a5bec7cf3e54f911686112b6cc799 Mon Sep 17 00:00:00 2001 From: Wayne Cuddy Date: Fri, 13 Sep 2019 23:21:22 +0700 Subject: network/open-iscsi: Patched to build on current. Signed-off-by: Willy Sudiarto Raharjo --- network/open-iscsi/open-iscsi.SlackBuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'network/open-iscsi/open-iscsi.SlackBuild') diff --git a/network/open-iscsi/open-iscsi.SlackBuild b/network/open-iscsi/open-iscsi.SlackBuild index 00883e1321070..54dda75cd6ed8 100644 --- a/network/open-iscsi/open-iscsi.SlackBuild +++ b/network/open-iscsi/open-iscsi.SlackBuild @@ -22,9 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# 2019/09/08 - add patch to support building on Slackware "current" +# + PRGNAM=open-iscsi VERSION=${VERSION:-2.0.875} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -62,6 +66,10 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION + +# Allow this SB to work on "current", benign on 14.2. +patch -p1 <$CWD/include_sysmacros.patch + chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -- cgit v1.2.3