diff options
author | tnn <tnn@pkgsrc.org> | 2022-03-23 22:43:43 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2022-03-23 22:43:43 +0000 |
commit | 53cb270b1d07631f477bb83e1da826e535535f93 (patch) | |
tree | 0675803f1dade4d6e01e1d182ada66f78425e339 /graphics/babl | |
parent | b149b2f723247471500829d3850863df4fd37268 (diff) | |
download | pkgsrc-53cb270b1d07631f477bb83e1da826e535535f93.tar.gz |
babl: only use Linux-specific neon instruction set detection on Linux
Diffstat (limited to 'graphics/babl')
-rw-r--r-- | graphics/babl/distinfo | 3 | ||||
-rw-r--r-- | graphics/babl/patches/patch-babl_babl-cpuaccel.c | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/graphics/babl/distinfo b/graphics/babl/distinfo index 16906fc0795..e89392dcdab 100644 --- a/graphics/babl/distinfo +++ b/graphics/babl/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.34 2022/02/26 07:46:32 wiz Exp $ +$NetBSD: distinfo,v 1.35 2022/03/23 22:43:43 tnn Exp $ BLAKE2s (babl-0.1.90.tar.xz) = 73f2d51d2d720a799f8b70b6ce1e3b812d97c7f3034b6415e8770dac7647f115 SHA512 (babl-0.1.90.tar.xz) = c0eac3c7d5eb328de2f97ccc9743bc2f78d79c23dc4d3465e979d98827b1643a0f2a257f0445e4acd09f15a9f95c79f67d09cb18c2c94b4f3d290944a0341e3c Size (babl-0.1.90.tar.xz) = 309324 bytes +SHA1 (patch-babl_babl-cpuaccel.c) = e06c723627b5449e2311b6d1a8a68def9ddf7033 SHA1 (patch-babl_meson.build) = ff2ab73080b97cf442e7581932d22a612f4e3093 SHA1 (patch-extensions_gggl.c) = 4981d58c145a84a8b4f579127221e6289f13c036 diff --git a/graphics/babl/patches/patch-babl_babl-cpuaccel.c b/graphics/babl/patches/patch-babl_babl-cpuaccel.c new file mode 100644 index 00000000000..138bad1ac63 --- /dev/null +++ b/graphics/babl/patches/patch-babl_babl-cpuaccel.c @@ -0,0 +1,15 @@ +$NetBSD: patch-babl_babl-cpuaccel.c,v 1.1 2022/03/23 22:43:43 tnn Exp $ + +only use Linux-specific neon instruction set detection on Linux + +--- babl/babl-cpuaccel.c.orig 2022-02-21 21:30:17.000000000 +0000 ++++ babl/babl-cpuaccel.c +@@ -550,7 +550,7 @@ arch_accel (void) + + #endif /* ARCH_PPC && USE_ALTIVEC */ + +-#if defined(ARCH_ARM) ++#if defined(ARCH_ARM) && defined(__linux__) + + #include <unistd.h> + #include <fcntl.h> |