diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2017-06-17 09:08:42 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:58:03 -0500 |
commit | 2ce38c289a1eacc9ee5475ffc5d54fa5f49b59e4 (patch) | |
tree | 98ca694ee8e9a672263f7105fba6707ce6ac8df3 /desktop/searchmonkey | |
parent | 154b34ffcb8b4b39e3e31fa8b9d36a37a62288ba (diff) |
desktop/searchmonkey: Patch for gcc >= 6.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'desktop/searchmonkey')
-rw-r--r-- | desktop/searchmonkey/patch.txt | 11 | ||||
-rw-r--r-- | desktop/searchmonkey/searchmonkey.SlackBuild | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/desktop/searchmonkey/patch.txt b/desktop/searchmonkey/patch.txt new file mode 100644 index 000000000000..08d9959efd91 --- /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 ad3cfb261e6f..fe80e6f62752 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" \ |