summaryrefslogtreecommitdiff
path: root/dev-libs/gf2x
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-06-15 14:57:03 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-06-15 14:57:03 +0100
commitd18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch)
tree4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /dev-libs/gf2x
parente748ba9741f6540f4675c23e3e37b73e822c13a4 (diff)
gentoo resync : 15.06.2021
Diffstat (limited to 'dev-libs/gf2x')
-rw-r--r--dev-libs/gf2x/Manifest3
-rw-r--r--dev-libs/gf2x/files/gf2x-1.3.0-0001-src-tunefft.c-add-include-statement-for-MIN-and-MAX.patch29
-rw-r--r--dev-libs/gf2x/gf2x-1.3.0.ebuild7
3 files changed, 36 insertions, 3 deletions
diff --git a/dev-libs/gf2x/Manifest b/dev-libs/gf2x/Manifest
index c08cbe7e320f..89405692ba22 100644
--- a/dev-libs/gf2x/Manifest
+++ b/dev-libs/gf2x/Manifest
@@ -1,4 +1,5 @@
AUX fno-common.patch 1170 BLAKE2B 828fb26be2a3055d0dfb7fb5b0237c0a0b6f22143ed0a55e786b3cae6e39a5eca189856ce0a53d5a672194e2a418e76934ade60549aa7cc6d46ee436bc7583cc SHA512 c01d85b974b58accff169bdb34292d79d84b9035374a92933a503622f66cd2b08f407122c16b8c358d418626449df33083ae554a7e7a334ed6f32d500a7d7084
+AUX gf2x-1.3.0-0001-src-tunefft.c-add-include-statement-for-MIN-and-MAX.patch 812 BLAKE2B 169a9855a0ccdaed5bdc48175a75f801fec33a189640264b603afe3ae3f0231427106897ef8fa9fa3b57b0d7c83e85f307728c71446980b773e5cae633565210 SHA512 3c4b84757a7f3cfd14040cb30d3e9103f53092c2e02db2c81b912cefe83d45f66446fb331dec99758268d78fbb73f33d8a42a21fbaca05264c28d360754ffff2
DIST gf2x-1.3.0.tar.gz 727717 BLAKE2B 65f6596a09087708e4ae940b067cb375476c1e7b25a28bf12e9318c752cb326516edeb9363d0f98a9b4173f5bcefd204aa62e1cb87b3f27ad9c30b661edc7451 SHA512 4991568032483e0ecb4552a698e5b7d09f80875e54584a0060a9473be1f87e4e8f714e657f08fec0b9fcf493d969408e5a9000f900623b3694aba1ecf6dc239e
-EBUILD gf2x-1.3.0.ebuild 1537 BLAKE2B 547d75cc83b2013547f860aee5ac9f84dc5f80a47678b0a32ef0a41dba52331501a6faea3a21e5601137a2fb4f74c977bb3d1a81293e69ca91968f53229ef649 SHA512 bb8ef59e2b186bc642041fe2b77db5ac36adb8a84822acf16d8e9b6a0be34a3a65c1d6b8b4643b19a8c787a648b4497e2aaae1f9a6c82d786a9f7503c96617b8
+EBUILD gf2x-1.3.0.ebuild 1621 BLAKE2B aea03ad23616d78db41c6cf21980f6a72a40721ecd504a10a3c3513a79ff3b866920fa2f7da7f5e5986eee26c1b8394819465fbd0627f75bf0006e903c3354c2 SHA512 94bbd2e05dfd529251d00b423b5225684286d344a72a693cb32b7ed219389b5894e4cd03f834ce7fdcfd21700314608e42a216929f657ab2078c87da5a774865
MISC metadata.xml 754 BLAKE2B 53d2cdd4bf257213b6f431fd7692593d9577f0c146c2b40546846ef868a781f8ef40d82fc3c833edf7e0cb9c9805c67e1740af2ba205a2e50f767d3e7160303b SHA512 48a3afc2bef2fee5bce10f9d0f4580269bc0089855f2329cf74c3726ebf20ab05867e628dad5e05c57982433cee2a17782b30b16080a76ebc979373105e18803
diff --git a/dev-libs/gf2x/files/gf2x-1.3.0-0001-src-tunefft.c-add-include-statement-for-MIN-and-MAX.patch b/dev-libs/gf2x/files/gf2x-1.3.0-0001-src-tunefft.c-add-include-statement-for-MIN-and-MAX.patch
new file mode 100644
index 000000000000..cc1bd0f46a9d
--- /dev/null
+++ b/dev-libs/gf2x/files/gf2x-1.3.0-0001-src-tunefft.c-add-include-statement-for-MIN-and-MAX.patch
@@ -0,0 +1,29 @@
+From 292b5784d907f420886e50d5683517b8fe1abe3c Mon Sep 17 00:00:00 2001
+From: Bernd Waibel <waebbl-gentoo@posteo.net>
+Date: Sat, 5 Jun 2021 18:29:08 +0200
+Subject: [PATCH] src/tunefft.c: add include statement for MIN and MAX
+
+Add #include <sys/param.h> to have MIN and MAX available
+for next_step function.
+
+Bug: https://bugs.gentoo.org/719982
+Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
+---
+ src/tunefft.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/tunefft.c b/src/tunefft.c
+index a08d82a..f5abc82 100644
+--- a/src/tunefft.c
++++ b/src/tunefft.c
+@@ -65,6 +65,7 @@
+ #include <float.h> /* for DBL_MAX */
+ #include <time.h>
+ #include <sys/utsname.h> /* for uname */
++#include <sys/param.h> /* for MIN, MAX */
+ #include "gf2x.h"
+ #include "gf2x/gf2x-impl.h"
+ #include "timing.h"
+--
+2.31.1
+
diff --git a/dev-libs/gf2x/gf2x-1.3.0.ebuild b/dev-libs/gf2x/gf2x-1.3.0.ebuild
index 0ff8c7a7a428..d879f80de12f 100644
--- a/dev-libs/gf2x/gf2x-1.3.0.ebuild
+++ b/dev-libs/gf2x/gf2x-1.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -17,7 +17,10 @@ IUSE="fft static-libs custom-tune"
IUSE_CPU_FLAGS=" pclmul sse2 sse3 sse4_1 ssse3"
IUSE+=" ${IUSE_CPU_FLAGS// / cpu_flags_x86_}"
-PATCHES=( "${FILESDIR}/fno-common.patch" )
+PATCHES=(
+ "${FILESDIR}/fno-common.patch"
+ "${FILESDIR}/${P}-0001-src-tunefft.c-add-include-statement-for-MIN-and-MAX.patch"
+)
src_prepare() {
default