From 2ce38c289a1eacc9ee5475ffc5d54fa5f49b59e4 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Sat, 17 Jun 2017 09:08:42 +0200 Subject: desktop/searchmonkey: Patch for gcc >= 6.x. Signed-off-by: Matteo Bernardini --- desktop/searchmonkey/patch.txt | 11 +++++++++++ desktop/searchmonkey/searchmonkey.SlackBuild | 1 + 2 files changed, 12 insertions(+) create mode 100644 desktop/searchmonkey/patch.txt (limited to 'desktop') diff --git a/desktop/searchmonkey/patch.txt b/desktop/searchmonkey/patch.txt new file mode 100644 index 0000000000..08d9959efd --- /dev/null +++ b/desktop/searchmonkey/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; diff --git a/desktop/searchmonkey/searchmonkey.SlackBuild b/desktop/searchmonkey/searchmonkey.SlackBuild index ad3cfb261e..fe80e6f627 100644 --- a/desktop/searchmonkey/searchmonkey.SlackBuild +++ b/desktop/searchmonkey/searchmonkey.SlackBuild @@ -69,6 +69,7 @@ find -L . \ -exec chmod 644 {} \; patch -p1 --verbose <$CWD/searchmonkey-2.0.0-gcc4.7.patch +patch -p1 --verbose <$CWD/patch.txt qmake \ QMAKE_CFLAGS="$SLKCFLAGS" \ -- cgit v1.2.3