mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
audio/aacgain: Fixed applying of patches.
This because of the new /usr/bin/patch Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
732050978d
commit
4208b170d6
1 changed files with 7 additions and 3 deletions
|
@ -24,7 +24,7 @@
|
|||
|
||||
PRGNAM=aacgain
|
||||
VERSION=1.9
|
||||
BUILD=${BUILD:-2}
|
||||
BUILD=${BUILD:-3}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -97,9 +97,11 @@ cd $PRGNAM
|
|||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
|
||||
patch -p0 -i mp4v2.patch
|
||||
|
||||
# The new patch program forces us to change a little how patches are applied
|
||||
cd ../mp3gain
|
||||
patch -p3 -i ../$PRGNAM/linux/mp3gain.patch
|
||||
cd ../mp4v2
|
||||
patch -p2 -i ../$PRGNAM/mp4v2.patch
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
|
@ -121,6 +123,8 @@ make
|
|||
|
||||
cd ../../aacgain/linux
|
||||
|
||||
# This don't work
|
||||
sed -i "s|^patch|#patch|" ./prepare.sh
|
||||
chmod +x ./prepare.sh
|
||||
./prepare.sh
|
||||
|
||||
|
|
Loading…
Reference in a new issue