mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 14:17:02 +02:00
babl: fixed on ppc32
This by extension fixes gegl, gimp and so on.
This commit is contained in:
parent
3673b78715
commit
c215e7449a
2 changed files with 33 additions and 3 deletions
31
srcpkgs/babl/patches/fix-ppc32.patch
Normal file
31
srcpkgs/babl/patches/fix-ppc32.patch
Normal file
|
@ -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:
|
|
@ -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";;
|
||||
|
|
Loading…
Add table
Reference in a new issue