aboutsummaryrefslogtreecommitdiff
path: root/libraries/libxdg-basedir/libxdg-basedir.SlackBuild
diff options
context:
space:
mode:
authornewHeiko <35038740+newHeiko@users.noreply.github.com>2022-02-04 22:28:11 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-05 08:49:33 +0700
commit85b464784df0f2b58075f787dbcc817b4c87b8d8 (patch)
tree4de250debe9000fd0259c76e257c243dfe120741 /libraries/libxdg-basedir/libxdg-basedir.SlackBuild
parent8d1df38af68937a2ebd36943daf3dbc98e55f9b7 (diff)
libraries/libxdg-basedir: Update for version 1.2.2.
Also switched to a better maitained fork. This version already includes the patch. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libxdg-basedir/libxdg-basedir.SlackBuild')
-rw-r--r--libraries/libxdg-basedir/libxdg-basedir.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/libraries/libxdg-basedir/libxdg-basedir.SlackBuild b/libraries/libxdg-basedir/libxdg-basedir.SlackBuild
index 44c6425f062db..8d22bc78ff14c 100644
--- a/libraries/libxdg-basedir/libxdg-basedir.SlackBuild
+++ b/libraries/libxdg-basedir/libxdg-basedir.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libxdg-basedir
-# Copyright 2013-2020 Heiko Rosemann Germany
+# Copyright 2013-2021 Heiko Rosemann Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,8 +27,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libxdg-basedir
-VERSION=${VERSION:-1.2.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.2.2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -75,10 +75,6 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
-# Fix upstream bug in wrong memory allocation:
-# https://sources.debian.org/patches/libxdg-basedir/1.2.0-2/alloc_buffer.patch/
-patch -p1 < $CWD/alloc_buffer.patch
-
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -88,7 +84,8 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./autogen.sh \
+./autogen.sh
+./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \