Add patch fixing segfault at startup

PR:		203297
Submitted by:	fbsd@opal.com
Approved by:	maintainer timeout
MFH:		2015Q4
This commit is contained in:
Pawel Pekala 2015-10-16 20:22:09 +00:00
parent 09ab3c6f80
commit 562d243d55
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399513
2 changed files with 12 additions and 1 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= rawstudio
PORTVERSION= 2.0
PORTREVISION= 11
PORTREVISION= 12
CATEGORIES= graphics
MASTER_SITES= http://rawstudio.org/files/release/

View File

@ -0,0 +1,11 @@
--- src/rs-batch.c.orig 2011-04-07 18:05:03 UTC
+++ src/rs-batch.c
@@ -830,7 +830,7 @@ static void
filetype_changed(gpointer active, gpointer user_data)
{
RS_QUEUE *queue = (RS_QUEUE *) user_data;
- GType filetype = GPOINTER_TO_INT(active);
+ GType filetype = (GType)active;
if (!filetype)
return;