From 84db6a1f14de3cb773dcca080a3b2bc2d80a778b Mon Sep 17 00:00:00 2001 From: dsomero Date: Sun, 2 Sep 2012 12:24:37 -0400 Subject: audio/volumeicon: Updated for version 0.4.6. Signed-off-by: dsomero --- audio/volumeicon/volumeicon-0.4.6-glib-2.31.patch | 28 +++++++++++++++++++++++ audio/volumeicon/volumeicon.SlackBuild | 5 +++- audio/volumeicon/volumeicon.info | 6 ++--- 3 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 audio/volumeicon/volumeicon-0.4.6-glib-2.31.patch diff --git a/audio/volumeicon/volumeicon-0.4.6-glib-2.31.patch b/audio/volumeicon/volumeicon-0.4.6-glib-2.31.patch new file mode 100644 index 0000000000..f62b49d586 --- /dev/null +++ b/audio/volumeicon/volumeicon-0.4.6-glib-2.31.patch @@ -0,0 +1,28 @@ +--- src/alsa_backend.c ++++ src/alsa_backend.c +@@ -22,10 +22,8 @@ + //############################################################################## + + #include +-#include ++#include + #include +-#include +-#include + + #include "alsa_backend.h" + +--- src/oss_backend.c ++++ src/oss_backend.c +@@ -26,10 +26,8 @@ + #include + #include + #include +-#include ++#include + #include +-#include +-#include + + #include "oss_backend.h" + diff --git a/audio/volumeicon/volumeicon.SlackBuild b/audio/volumeicon/volumeicon.SlackBuild index 5584f98228..9c93bf3902 100644 --- a/audio/volumeicon/volumeicon.SlackBuild +++ b/audio/volumeicon/volumeicon.SlackBuild @@ -5,7 +5,7 @@ # Written by Daniel Cash PRGNAM=volumeicon -VERSION=${VERSION:-0.4.5} +VERSION=${VERSION:-0.4.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -54,6 +54,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Fix includes. +patch -p0 -i $CWD/volumeicon-0.4.6-glib-2.31.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/audio/volumeicon/volumeicon.info b/audio/volumeicon/volumeicon.info index 834b44c1a6..adbb64d895 100644 --- a/audio/volumeicon/volumeicon.info +++ b/audio/volumeicon/volumeicon.info @@ -1,8 +1,8 @@ PRGNAM="volumeicon" -VERSION="0.4.5" +VERSION="0.4.6" HOMEPAGE="http://softwarebakery.com/maato/volumeicon.html" -DOWNLOAD="http://softwarebakery.com/maato/files/volumeicon/volumeicon-0.4.5.tar.gz" -MD5SUM="4758428004366a04a9617bd083f007b7" +DOWNLOAD="http://softwarebakery.com/maato/files/volumeicon/volumeicon-0.4.6.tar.gz" +MD5SUM="7fd6dffba823e9c529d151d4789ff992" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3