summaryrefslogtreecommitdiff
path: root/system/gsmartcontrol/gsmartcontrol.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/gsmartcontrol/gsmartcontrol.SlackBuild')
-rw-r--r--system/gsmartcontrol/gsmartcontrol.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/system/gsmartcontrol/gsmartcontrol.SlackBuild b/system/gsmartcontrol/gsmartcontrol.SlackBuild
index d2281a368b..eb26c43f5a 100644
--- a/system/gsmartcontrol/gsmartcontrol.SlackBuild
+++ b/system/gsmartcontrol/gsmartcontrol.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gsmartcontrol
-VERSION=0.8.5
+VERSION=0.8.6
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,6 +61,12 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+# Fix build with gcc-4.7.x
+sed -i "s/\tdestroy/\tthis->destroy/" src/gsc_text_window.h
+
+# Patch from debian for glib >= 2.31
+patch -p1 < $CWD/04_glib2.31.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \