diff --git a/srcpkgs/graphene/patches/0001-fix-comparision-in-graphene_ray_intersect_box.patch b/srcpkgs/graphene/patches/0001-fix-comparision-in-graphene_ray_intersect_box.patch new file mode 100644 index 00000000000..083146f9243 --- /dev/null +++ b/srcpkgs/graphene/patches/0001-fix-comparision-in-graphene_ray_intersect_box.patch @@ -0,0 +1,12 @@ +diff --git src/graphene-ray.c src/graphene-ray.c +index 66c3393..9151300 100644 +--- src/graphene-ray.c ++++ src/graphene-ray.c +@@ -563,7 +563,7 @@ graphene_ray_intersect_box (const graphene_ray_t *r, + #else + if (ty_min > tx_min || fpclassify (tx_min) == FP_NAN) + tx_min = ty_min; +- if (ty_max > tx_max || fpclassify (tx_max) == FP_NAN) ++ if (ty_max < tx_max || fpclassify (tx_max) == FP_NAN) + tx_max = ty_max; + #endif diff --git a/srcpkgs/graphene/template b/srcpkgs/graphene/template index e868239bfa0..db7ca1f7563 100644 --- a/srcpkgs/graphene/template +++ b/srcpkgs/graphene/template @@ -1,11 +1,11 @@ # Template file for 'graphene' pkgname=graphene -version=1.10.2 +version=1.10.6 revision=1 build_style=meson build_helper="gir" -configure_args="-Dtests=false -Dbenchmarks=false - -Dintrospection=$(vopt_if gir true false)" +configure_args="-Dbenchmarks=false -Dinstalled_tests=false + -Dintrospection=$(vopt_if gir enabled disabled) -Dsse2=true" hostmakedepends="pkg-config" makedepends="libglib-devel" short_desc="Thin layer of types for graphic libraries" @@ -13,7 +13,7 @@ maintainer="Enno Boland " license="MIT" homepage="https://github.com/ebassi/graphene" distfiles="${GNOME_SITE}/graphene/${version%.*}/graphene-${version}.tar.xz" -checksum=e97de8208f1aac4f913d4fa71ab73a7034e807186feb2abe55876e51c425a7f6 +checksum=80ae57723e4608e6875626a88aaa6f56dd25df75024bd16e9d77e718c3560b25 case "$XBPS_TARGET_MACHINE" in arm*) configure_args+=" -Darm_neon=false" ;;