aboutsummaryrefslogtreecommitdiff
path: root/audio/ario
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-18 18:21:47 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-20 15:12:40 +0700
commitdcdbcdf69b2b4a40d8b60452e9cabda5dc0cc89f (patch)
tree5f3b1809c218c09634f15614be8cad8874223a35 /audio/ario
parent799355d872d5adf208342ac24c7cbc0923ef24d0 (diff)
audio/ario: Fix 15.0 build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/ario')
-rw-r--r--audio/ario/ario.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/audio/ario/ario.SlackBuild b/audio/ario/ario.SlackBuild
index 239aeaf93c837..0fbfff5bee0ad 100644
--- a/audio/ario/ario.SlackBuild
+++ b/audio/ario/ario.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220218 bkw: Modified by SlackBuilds.org: fix build on 15.0.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ario
@@ -38,9 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -75,9 +74,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
# Check for Avahi
if $(pkg-config --exists avahi-core); then AVAHI="enable" ; else AVAHI="disable" ; fi
@@ -86,7 +85,7 @@ if $(pkg-config --exists avahi-core); then AVAHI="enable" ; else AVAHI="disable"
# include glib.h instead of individual headers.
patch -p1 -i $CWD/glib-single-include.patch
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \