From 1896309b5261e1f40a9b54fea9d1d9d78c7952cb Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Fri, 28 Dec 2012 19:41:45 -0500 Subject: Add qstardict-1.0.1-glib.patch --- community/qstardict/PKGBUILD | 8 +++++--- community/qstardict/qstardict-1.0.1-glib.patch | 12 ++++++++++++ 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 community/qstardict/qstardict-1.0.1-glib.patch (limited to 'community') 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 + #include + #include +-#include +-#include ++#include + #include "lib.h" + #include "file.hpp" + #include "settingsdialog.h" -- cgit v1.2.3-54-g00ecf