-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This also comes with a patch to ensure the build succeeds, which I suspect can be dropped after the next release of gmic.
- Loading branch information
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
snap/local/patches/gmic-gimp-image-procedure-new-cast.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/src/Host/Gimp/host_gimp.cpp b/src/Host/Gimp/host_gimp.cpp | ||
index 166ff0c..86888d4 100644 | ||
--- a/src/Host/Gimp/host_gimp.cpp | ||
+++ b/src/Host/Gimp/host_gimp.cpp | ||
@@ -1205,7 +1205,7 @@ static GimpProcedure * gmic_qt_create_procedure(GimpPlugIn * plug_in, const gcha | ||
GimpProcedure * procedure = NULL; | ||
|
||
if (strcmp(name, PLUG_IN_PROC) == 0) { | ||
- procedure = gimp_image_procedure_new(plug_in, name, GIMP_PDB_PROC_TYPE_PLUGIN, gmic_qt_run, NULL, NULL); | ||
+ procedure = gimp_image_procedure_new(plug_in, name, GIMP_PDB_PROC_TYPE_PLUGIN, (GimpRunImageFunc) gmic_qt_run, NULL, NULL); | ||
|
||
gimp_procedure_set_image_types(procedure, "RGB*, GRAY*"); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters