From 09ff1cc78c59279e7c2cd0caade2a614565bc792 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sun, 7 Oct 2007 02:18:49 +0000 Subject: Fix a malloc bug --- id3v2/build/id3v2.SlackBuild | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'id3v2/build') diff --git a/id3v2/build/id3v2.SlackBuild b/id3v2/build/id3v2.SlackBuild index 2eb28c08..2bb1f759 100755 --- a/id3v2/build/id3v2.SlackBuild +++ b/id3v2/build/id3v2.SlackBuild @@ -34,6 +34,9 @@ # * Initial build. # 0.1.11-2: 28/May/2007 by Eric Hameleers # * Revamped the SlackBuild for publication. +# 0.1.11-3: 07/Oct/2007 by Eric Hameleers +# * Slackware 120 package. Fix a bug in memory allocation that +# crashes the app (thanks to AbortRetryFail in ##slackware) # # Run 'sh id3v2.SlackBuild --cleanup' to build a Slackware package. # The package (.tgz) plus descriptive .txt file are created in /tmp . @@ -46,7 +49,7 @@ PRGNAM=id3v2 VERSION=${VERSION:-0.1.11} ARCH=${ARCH:-i486} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} DOCS="ChangeLog COPYING INSTALL README" @@ -161,10 +164,11 @@ if `file ${SOURCE} | grep -q ": bzip2"`; then elif `file ${SOURCE} | grep -q ": gzip"`; then tar -xzvf ${SOURCE} fi -chown -R root:root * -chmod -R u+w,go+r-w,a-s * - cd ${PRGNAM}-${VERSION} +# Fix a malloc bug: +patch -p0 < $SRCDIR/${PRGNAM}_malloc.patch +chown -R root:root . +chmod -R u+w,go+r-w,a-s . echo Building ... export LDFLAGS="$SLKLDFLAGS" -- cgit v1.2.3-65-gdbad