diff --git a/srcpkgs/babl/patches/fix-ppc32.patch b/srcpkgs/babl/patches/fix-ppc32.patch new file mode 100644 index 00000000000..74d3f252722 --- /dev/null +++ b/srcpkgs/babl/patches/fix-ppc32.patch @@ -0,0 +1,31 @@ +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: diff --git a/srcpkgs/babl/template b/srcpkgs/babl/template index e7b7fe9c80e..68a0de4cef8 100644 --- a/srcpkgs/babl/template +++ b/srcpkgs/babl/template @@ -16,9 +16,8 @@ distfiles="https://download.gimp.org/pub/babl/${version%.*}/babl-${version}.tar. checksum=9a710b6950da37ada94cd9e2046cbce26de12473da32a7b79b7d1432fc66ce0e case "$XBPS_TARGET_MACHINE" in - ppc64*) ;; - ppc*) broken="gegl segfaults in babl when building gimp";; - arm*|aarch64*) + x86_64*|i686*) ;; + *) configure_args+=" -Denable-sse=false -Denable-sse2=false -Denable-sse3=false -Denable-sse4_1=false -Denable-avx2=false -Denable-f16c=false -Denable-mmx=false";;