void-packages/srcpkgs/babl/patches/fix-ppc32.patch
q66 c215e7449a babl: fixed on ppc32
This by extension fixes gegl, gimp and so on.
2020-02-15 19:23:20 +01:00

31 lines
1.2 KiB
Diff

Source: https://gitlab.gnome.org/GNOME/babl/issues/24#note_712527
--- babl/babl-fish-path.c
+++ babl/babl-fish-path.c
@@ -404,7 +404,7 @@ alias_conversion (Babl *babl,
(void*)conv->source, (void*)space),
babl_remodel_with_space (
(void*)conv->destination, (void*)space),
- "linear", conv->function,
+ "linear", conv->function.linear,
NULL);
break;
case BABL_CONVERSION_PLANAR:
@@ -413,7 +413,7 @@ alias_conversion (Babl *babl,
(void*)conv->source, (void*)space),
babl_remodel_with_space (
(void*)conv->destination, (void*)space),
- "planar", conv->function,
+ "planar", conv->function.planar,
NULL);
break;
case BABL_CONVERSION_PLANE:
@@ -422,7 +422,7 @@ alias_conversion (Babl *babl,
(void*)conv->source, (void*)space),
babl_remodel_with_space (
(void*)conv->destination, (void*)space),
- "plane", conv->function,
+ "plane", conv->function.plane,
NULL);
break;
default: