summaryrefslogtreecommitdiff
path: root/graphics/rawstudio/files/patch-src_rs-batch.c
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2021-03-04 14:46:55 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2021-03-04 14:46:55 +0000
commit92e06c2342d3be46f9c133f3649fd1aca43a5361 (patch)
treec134b937a9a4a26e9e59e96a32f11dc7fc8b423a /graphics/rawstudio/files/patch-src_rs-batch.c
parentdevel/libvirt: update to 7.1.0 (diff)
- Revivify and unbreak by fixing problematic code and
suppressing dreaded C++11 narrowing warnings/errors - Convert to USES+=localbase and optimize away LIBS+= - Remove excessive vertical whitespace from one patch - Chase HTTP redirection in the WWW line of pkg-descr
Diffstat (limited to 'graphics/rawstudio/files/patch-src_rs-batch.c')
-rw-r--r--graphics/rawstudio/files/patch-src_rs-batch.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/rawstudio/files/patch-src_rs-batch.c b/graphics/rawstudio/files/patch-src_rs-batch.c
new file mode 100644
index 000000000000..5350facf8b74
--- /dev/null
+++ b/graphics/rawstudio/files/patch-src_rs-batch.c
@@ -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;