mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
QuiteRSS: workaround a crash on quit
This commit is contained in:
31
net-news/quiterss/patches/quiterss-0.18.12.patchset
Normal file
31
net-news/quiterss/patches/quiterss-0.18.12.patchset
Normal file
@@ -0,0 +1,31 @@
|
||||
From 38d78bb149104ad44a0fd70dfd4dd34061d0c96a Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Reznikov <diver@gelios.net>
|
||||
Date: Tue, 2 Oct 2018 15:12:39 +0300
|
||||
Subject: Workaround for a crash on quit
|
||||
|
||||
|
||||
diff --git a/src/application/logfile.cpp b/src/application/logfile.cpp
|
||||
index 04c9c13..03711b7 100644
|
||||
--- a/src/application/logfile.cpp
|
||||
+++ b/src/application/logfile.cpp
|
||||
@@ -36,7 +36,8 @@ void LogFile::msgHandler(QtMsgType type, const QMessageLogContext &, const QStri
|
||||
if (!mainApp->dataDirInitialized())
|
||||
return;
|
||||
|
||||
- QFile file;
|
||||
+}
|
||||
+/* QFile file;
|
||||
file.setFileName(mainApp->dataDir() + "/debug.log");
|
||||
QIODevice::OpenMode openMode = QIODevice::WriteOnly | QIODevice::Text;
|
||||
|
||||
@@ -74,6 +75,7 @@ void LogFile::msgHandler(QtMsgType type, const QMessageLogContext &, const QStri
|
||||
file.close();
|
||||
}
|
||||
}
|
||||
+*/
|
||||
#else
|
||||
void LogFile::msgHandler(QtMsgType type, const char *msg)
|
||||
{
|
||||
--
|
||||
2.19.0
|
||||
|
||||
@@ -15,11 +15,12 @@ restart application)
|
||||
HOMEPAGE="https://quiterss.org/"
|
||||
COPYRIGHT="2011-2018 QuiteRSS Team"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/QuiteRSS/quiterss/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="120de0d640e2c417d664872b8b8881c85c3e76aec9b76d235f0e12e5ee78f01f"
|
||||
SOURCE_FILENAME="quiterss-$portVersion.tar.gz"
|
||||
ADDITIONAL_FILES="quiterss.rdef.in"
|
||||
PATCHES="quiterss-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
Reference in New Issue
Block a user