diff options
author | ponce <matteo.bernardini@gmail.com> | 2012-07-24 09:24:43 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-08-21 16:23:43 -0500 |
commit | 741dddbe94b04897119e475b56f5b8d83e44ddc6 (patch) | |
tree | b1767e814a86f7c0ae6472ce8f62288128fa42a6 /system/qstardict/qstardict.SlackBuild | |
parent | 6d78ed31024e84aace293a52622a82dc1034a5a8 (diff) |
system/qstardict: Updated for version 1.0.1.
This fixes build with gcc-4.7.x when coupled with
the added patch for glib > 2.30.x.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/qstardict/qstardict.SlackBuild')
-rw-r--r-- | system/qstardict/qstardict.SlackBuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/system/qstardict/qstardict.SlackBuild b/system/qstardict/qstardict.SlackBuild index afbf663c4ace9..f1095c62bc37e 100644 --- a/system/qstardict/qstardict.SlackBuild +++ b/system/qstardict/qstardict.SlackBuild @@ -6,7 +6,7 @@ # Modified by Branko Grubic <branko.grubic@gmail.com> PRGNAM=qstardict -VERSION=${VERSION:-0.13.1} +VERSION=${VERSION:-1.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -51,13 +51,15 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Patch for glib > 2.30.x +# http://sourceforge.net/tracker/?func=detail&aid=3471473&group_id=200786&atid=974933 +patch -p0 < $CWD/qstardict-1.0.1-glib_includes.patch + # qstardict only have "stardict" and "web" plugins enabled by default. # Actually there are swac and multitran plugins in addition. # Uncomment the following line to get full plugins. # enabled_plugins="stardict web swac multitran" -patch -p1 <$CWD/gcc4.4.patch - qmake QMAKE_CXXFLAGS="$SLKCFLAGS" \ PLUGINS_DIR=/usr/lib${LIBDIRSUFFIX}/qstardict/plugins \ DOCS_DIR=/usr/doc/$PRGNAM-$VERSION \ |