From bcf11b40a875d66fb8c56b631d8065371f9338f7 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Sun, 19 Sep 2021 00:13:58 +0000 Subject: Sun Sep 19 00:13:58 UTC 2021 a/kernel-generic-5.14.6-x86_64-1.txz: Upgraded. a/kernel-huge-5.14.6-x86_64-1.txz: Upgraded. a/kernel-modules-5.14.6-x86_64-1.txz: Upgraded. ap/mpg123-1.29.0-x86_64-2.txz: Rebuilt. Add ../lib64/mpg123 to the module search path. Thanks to Pithium. d/kernel-headers-5.14.6-x86-1.txz: Upgraded. k/kernel-source-5.14.6-noarch-1.txz: Upgraded. PINCTRL_CANNONLAKE n -> m Thanks to bassmadrigal. kde/kstars-3.5.5-x86_64-1.txz: Upgraded. l/libcap-2.58-x86_64-1.txz: Upgraded. n/bind-9.16.21-x86_64-2.txz: Rebuilt. rc.bind: make sure /etc/rndc.key has correct ownership. Thanks to marav. xfce/thunar-4.16.10-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt. --- source/ap/mpg123/mpg123.SlackBuild | 8 ++++++-- source/ap/mpg123/mpg123.lib64.diff | 12 ++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 source/ap/mpg123/mpg123.lib64.diff (limited to 'source/ap') diff --git a/source/ap/mpg123/mpg123.SlackBuild b/source/ap/mpg123/mpg123.SlackBuild index 8111ee5f..5cca00ab 100755 --- a/source/ap/mpg123/mpg123.SlackBuild +++ b/source/ap/mpg123/mpg123.SlackBuild @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2006-2018 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2006-2021 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=mpg123 VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} @@ -111,6 +111,10 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ +# Search for modules in lib64 first, then lib. This should work on pure 64-bit, +# pure 32-bit, and multilib. +zcat $CWD/mpg123.lib64.diff.gz | patch -p1 --verbose || exit 1 + # Configure: CFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/source/ap/mpg123/mpg123.lib64.diff b/source/ap/mpg123/mpg123.lib64.diff new file mode 100644 index 00000000..e86ec24e --- /dev/null +++ b/source/ap/mpg123/mpg123.lib64.diff @@ -0,0 +1,12 @@ +--- ./src/libout123/module.c.orig 2021-09-05 17:31:03.000000000 -0500 ++++ ./src/libout123/module.c 2021-09-18 14:46:42.800526245 -0500 +@@ -29,7 +29,8 @@ + to wide and then replace / by \. No need to define another list. */ + static const char* modulesearch[] = + { +- "../lib/mpg123" ++ "../lib64/mpg123" ++ ,"../lib/mpg123" + ,"plugins" + ,"libout123/modules/.libs" + ,"libout123/modules" -- cgit v1.2.3