summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaha2016-09-06 21:13:02 -0400
committerTaha2016-09-06 21:13:02 -0400
commit5c1653d791f28da220b99787a80c8ff08df3fb2f (patch)
treeb4c8fee6e696d6f09cb289ca6892fdc9229c2a83
parent47708efc0c3a710440f7b13a10064be26114fc4b (diff)
downloadaur-searchmonkey.tar.gz
Fix compile error
-rw-r--r--PKGBUILD3
-rw-r--r--patch.txt11
2 files changed, 14 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 55d80b05d1e..228c58fc7c3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,14 +11,17 @@ license=('GPL3')
depends=('qt4')
source=(http://downloads.sourceforge.net/$pkgname/${pkgname}_v$pkgver.zip
$pkgname-$pkgver-gcc47.diff
+ patch.txt
$pkgname.desktop)
md5sums=('239a8171d54c10810da6b131ba5fbd64'
'86841c3796e149cd12e5b3a27cdfc170'
+ 'SKIP'
'5535ab5a696309d44cc68c8d15f59693')
build() {
cd "$srcdir/${pkgname}_v$pkgver"
patch -Np1 -i ../$pkgname-$pkgver-gcc47.diff
+ patch -p1 mainwindow.cpp -i ../patch.txt
qmake-qt4 && make
}
diff --git a/patch.txt b/patch.txt
new file mode 100644
index 00000000000..de37b7e69ad
--- /dev/null
+++ b/patch.txt
@@ -0,0 +1,11 @@
+--- mainwindow.cpp 2010-05-16 11:42:14.000000000 -0400
++++ mainwindow.cpp.new 2016-09-06 21:07:18.462298114 -0400
+@@ -781,7 +781,7 @@
+ ******************************************************************************/
+ void MainWindow::find () throw() {
+
+- auto autoSettingsReset asr(sui); // dtor calls sui->reset()
++
+
+ bool modeAdvanced = ui->actionAdvanced->isChecked();
+ qDebug() << "modeAdvanced-" << modeAdvanced;