diff options
author | ponce <matteo.bernardini@gmail.com> | 2012-07-24 21:05:04 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-08-21 08:55:31 -0500 |
commit | d8cc375543fea8adfe304e9a569491b740edc4c9 (patch) | |
tree | 43dbb1e7d58798a0d8c0e903d724454056f1f9c5 /system/gsmartcontrol/gsmartcontrol.SlackBuild | |
parent | 7283ec7d0bd7336f56260ba5e0d7d408d37b5f67 (diff) | |
download | slackbuilds-d8cc375543fea8adfe304e9a569491b740edc4c9.tar.gz |
system/gsmartcontrol: Updated for version 0.8.6.
Also adds a fix for gcc-4.7.x and a patch for glib >= 2.31.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/gsmartcontrol/gsmartcontrol.SlackBuild')
-rw-r--r-- | system/gsmartcontrol/gsmartcontrol.SlackBuild | 8 |
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 \ |