1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00

rawtherapee: Fix segfault on close when started with filename argument

(This did not affect rawtherapee-cli.)

Obtained from:	e7a4ae3c9f
This commit is contained in:
Matthias Andree 2020-02-21 09:01:32 +00:00
parent 1b71c39829
commit b0e436a839
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=526615
2 changed files with 20 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= rawtherapee
PORTVERSION= 5.8
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= https://rawtherapee.com/shared/source/ \
LOCAL/mandree/

View File

@ -0,0 +1,19 @@
commit e7a4ae3c9fa987d625b537573fd811a9cb5d2fb8
Author: Ingo Weyrich <heckflosse67@gmx.de>
Date: Tue Feb 18 18:07:45 2020 +0100
Fix segfault on close of RT when RT was started with a filename as argument
diff --git a/rtgui/rtwindow.cc b/rtgui/rtwindow.cc
index 8cfeb8ec0..fc315e1b7 100644
--- rtgui/rtwindow.cc.orig 2020-02-04 06:39:52 UTC
+++ rtgui/rtwindow.cc
@@ -99,6 +99,8 @@ RTWindow::RTWindow ()
, bpanel (nullptr)
, splash (nullptr)
, btn_fullscreen (nullptr)
+ , iFullscreen (nullptr)
+ , iFullscreen_exit (nullptr)
, epanel (nullptr)
, fpanel (nullptr)
{