summaryrefslogtreecommitdiff
path: root/libraries/id3lib/id3lib.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/id3lib/id3lib.SlackBuild')
-rw-r--r--libraries/id3lib/id3lib.SlackBuild16
1 files changed, 10 insertions, 6 deletions
diff --git a/libraries/id3lib/id3lib.SlackBuild b/libraries/id3lib/id3lib.SlackBuild
index 6648f4bed7..9c036b3e4a 100644
--- a/libraries/id3lib/id3lib.SlackBuild
+++ b/libraries/id3lib/id3lib.SlackBuild
@@ -27,7 +27,7 @@
PRGNAM=id3lib
VERSION=${VERSION:-3.8.3}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -72,13 +72,17 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Apply all available patches provided by Debian
-# https://sources.debian.org/patches/id3lib3.8.3/3.8.3-16.2/
-find $CWD/patches/ -type f | sort -n |
- while read patch; do patch -p1 -i $patch; done
+# Apply patches from Slackware-current:
+patch -p1 -i $CWD/patches/id3lib.cppheaders.patch
+patch -p1 -i $CWD/patches/id3lib.manpages.patch
+patch -p1 -i $CWD/patches/id3lib.utf8_writing.patch
+patch -p1 -i $CWD/patches/id3lib.mkstemp.patch
+patch -p1 -i $CWD/patches/id3lib.c_wrapper.patch
+patch -p1 -i $CWD/patches/id3lib.nullpointer_check.patch
+patch -p1 -i $CWD/patches/id3lib.vbr_stack_smash.patch
# iomanip.h is obsolete; use the standard C++ header:
-sed -i "s%iomanip.h%iomanip%g" configure
+sed -e "s%iomanip.h%iomanip%g" -i configure
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \