summaryrefslogtreecommitdiff
path: root/audio/volumeicon
diff options
context:
space:
mode:
Diffstat (limited to 'audio/volumeicon')
-rw-r--r--audio/volumeicon/volumeicon-0.4.6-glib-2.31.patch28
-rw-r--r--audio/volumeicon/volumeicon.SlackBuild5
-rw-r--r--audio/volumeicon/volumeicon.info6
3 files changed, 35 insertions, 4 deletions
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 <alsa/asoundlib.h>
+-#include <glib/gstring.h>
++#include <glib.h>
+ #include <glib/gstdio.h>
+-#include <glib/glist.h>
+-#include <glib/giochannel.h>
+
+ #include "alsa_backend.h"
+
+--- src/oss_backend.c
++++ src/oss_backend.c
+@@ -26,10 +26,8 @@
+ #include <fcntl.h>
+ #include <assert.h>
+ #include <stdlib.h>
+-#include <glib/gstring.h>
++#include <glib.h>
+ #include <glib/gstdio.h>
+-#include <glib/glist.h>
+-#include <glib/giochannel.h>
+
+ #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=""