diff options
Diffstat (limited to 'community/qstardict')
-rw-r--r-- | community/qstardict/PKGBUILD | 8 | ||||
-rw-r--r-- | community/qstardict/qstardict-1.0.1-glib.patch | 12 |
2 files changed, 17 insertions, 3 deletions
diff --git a/community/qstardict/PKGBUILD b/community/qstardict/PKGBUILD index c395cd17a..c6eaa15a2 100644 --- a/community/qstardict/PKGBUILD +++ b/community/qstardict/PKGBUILD @@ -6,14 +6,16 @@ pkgname=qstardict pkgver=1.0.1 pkgrel=2 pkgdesc="Qt4 clone of StarDict with full support of StarDict dictionaries" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://qstardict.ylsoftware.com/index.php" license=('GPL2') depends=('qt4') provides=('stardict') changelog=$pkgname.changelog -source=(http://qstardict.ylsoftware.com/files/$pkgname-$pkgver.tar.bz2) -sha256sums=('b778ace65a22e5b9724d687ad90c77ec98feb2671774f73cd51725ec7b59e62f') +source=(http://qstardict.ylsoftware.com/files/$pkgname-$pkgver.tar.bz2 + qstardict-1.0.1-glib.patch) +sha256sums=('b778ace65a22e5b9724d687ad90c77ec98feb2671774f73cd51725ec7b59e62f' + '30878282698dc90bf615ca383f4c01357ce49dfcdddd12c2e0b113ee51822c57') build() { cd "${srcdir}/$pkgname-$pkgver" diff --git a/community/qstardict/qstardict-1.0.1-glib.patch b/community/qstardict/qstardict-1.0.1-glib.patch new file mode 100644 index 000000000..9b163a025 --- /dev/null +++ b/community/qstardict/qstardict-1.0.1-glib.patch @@ -0,0 +1,12 @@ +--- qstardict-1.0.1.orig/plugins/stardict/stardict.cpp 2011-12-05 07:40:49.000000000 -0500 ++++ qstardict-1.0.1/plugins/stardict/stardict.cpp 2012-12-28 18:52:39.636340322 -0500 +@@ -28,8 +28,7 @@ + #include <QFile> + #include <QSettings> + #include <QStack> +-#include <glib/gmem.h> +-#include <glib/gstrfuncs.h> ++#include <glib.h> + #include "lib.h" + #include "file.hpp" + #include "settingsdialog.h" |