diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2012-12-28 19:41:45 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2012-12-28 19:41:45 -0500 |
commit | 1896309b5261e1f40a9b54fea9d1d9d78c7952cb (patch) | |
tree | 8140fb2fbdfd274b4d7e27d4f27bc631f362a84a /community | |
parent | 18efe9638fbd46b4f9c80cf7aec8ca6daca256e8 (diff) |
Add qstardict-1.0.1-glib.patch
Diffstat (limited to 'community')
-rwxr-xr-x | 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 adff401de..462e749c7 100755 --- a/community/qstardict/PKGBUILD +++ b/community/qstardict/PKGBUILD @@ -12,12 +12,14 @@ license=('GPL2') depends=('qt') 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 - + patch -Np1 -i ${srcdir}/qstardict-1.0.1-glib.patch qmake ENABLED_PLUGINS="stardict web swac" make } 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" |