diff options
Diffstat (limited to 'source/ap')
-rwxr-xr-x | source/ap/mpg123/mpg123.SlackBuild | 8 | ||||
-rw-r--r-- | source/ap/mpg123/mpg123.lib64.diff | 12 |
2 files changed, 18 insertions, 2 deletions
diff --git a/source/ap/mpg123/mpg123.SlackBuild b/source/ap/mpg123/mpg123.SlackBuild index 8111ee5f7..5cca00ab5 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 000000000..e86ec24ef --- /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" |