summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichales Michaloudes <korgie@gmail.com>2012-09-10 10:50:32 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-10 16:35:36 -0500
commitef1142720ee59e5c2bc7091abded18eb70047852 (patch)
treec26ca0258fbd05efdd8da71c350da754a68f22eb
parent7f036bc82204eb5089f3aaf41776caef94b93c3f (diff)
downloadslackbuilds-ef1142720ee59e5c2bc7091abded18eb70047852.tar.gz
libraries/libtunepimp: Removed reference to deprecated curl header.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--libraries/libtunepimp/libtunepimp.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/libtunepimp/libtunepimp.SlackBuild b/libraries/libtunepimp/libtunepimp.SlackBuild
index b78b6a0096..0e502af12f 100644
--- a/libraries/libtunepimp/libtunepimp.SlackBuild
+++ b/libraries/libtunepimp/libtunepimp.SlackBuild
@@ -4,7 +4,7 @@
PRGNAM=libtunepimp
VERSION=${VERSION:-0.5.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -58,6 +58,9 @@ patch -p1 < $CWD/libtunepimp-0.5.3-gcc44.patch
# Patch for new libmp4v2
patch -p1 < $CWD/libtunepimp-0.5.3-libmp4v2.patch
+# A curl header is deprecated.
+sed -i '/include.*types.h/d' $TMP/$PRGNAM-$VERSION/lib/protocol.cpp
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \