summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/vc/files/vc-1.4.1-missing-include.patch16
-rw-r--r--dev-libs/vc/vc-1.4.1-r1.ebuild (renamed from dev-libs/vc/vc-1.4.1.ebuild)2
2 files changed, 18 insertions, 0 deletions
diff --git a/dev-libs/vc/files/vc-1.4.1-missing-include.patch b/dev-libs/vc/files/vc-1.4.1-missing-include.patch
new file mode 100644
index 000000000000..487705c9efb4
--- /dev/null
+++ b/dev-libs/vc/files/vc-1.4.1-missing-include.patch
@@ -0,0 +1,16 @@
+---
+ Vc/common/simdarray.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Vc/common/simdarray.h b/Vc/common/simdarray.h
+index adbe1b7d9..ba9daf27c 100644
+--- a/Vc/common/simdarray.h
++++ b/Vc/common/simdarray.h
+@@ -33,6 +33,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ //#include "../IO"
+
+ #include <array>
++#include <limits>
+
+ #include "writemaskedvector.h"
+ #include "simdarrayhelper.h"
diff --git a/dev-libs/vc/vc-1.4.1.ebuild b/dev-libs/vc/vc-1.4.1-r1.ebuild
index 6961ddd9b52f..8ac410c11b26 100644
--- a/dev-libs/vc/vc-1.4.1.ebuild
+++ b/dev-libs/vc/vc-1.4.1-r1.ebuild
@@ -10,6 +10,8 @@ HOMEPAGE="https://github.com/VcDevel/Vc"
SRC_URI="https://github.com/VcDevel/Vc/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/Vc-${PV}
+PATCHES=( "${FILESDIR}"/${P}-missing-include.patch )
+
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux ~x64-macos"