1 |
commit: ba50097861ac4cac9ec20da7977258656cb94868 |
2 |
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 25 14:11:03 2021 +0000 |
4 |
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 25 14:11:37 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba500978 |
7 |
|
8 |
dev-libs/vc: add missing include, bug 789348 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/789348 |
11 |
Package-Manager: Portage-3.0.19, Repoman-3.0.3 |
12 |
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org> |
13 |
|
14 |
dev-libs/vc/files/vc-1.4.1-missing-include.patch | 16 ++++++++++++++++ |
15 |
dev-libs/vc/{vc-1.4.1.ebuild => vc-1.4.1-r1.ebuild} | 2 ++ |
16 |
2 files changed, 18 insertions(+) |
17 |
|
18 |
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 |
19 |
new file mode 100644 |
20 |
index 00000000000..487705c9efb |
21 |
--- /dev/null |
22 |
+++ b/dev-libs/vc/files/vc-1.4.1-missing-include.patch |
23 |
@@ -0,0 +1,16 @@ |
24 |
+--- |
25 |
+ Vc/common/simdarray.h | 1 + |
26 |
+ 1 file changed, 1 insertion(+) |
27 |
+ |
28 |
+diff --git a/Vc/common/simdarray.h b/Vc/common/simdarray.h |
29 |
+index adbe1b7d9..ba9daf27c 100644 |
30 |
+--- a/Vc/common/simdarray.h |
31 |
++++ b/Vc/common/simdarray.h |
32 |
+@@ -33,6 +33,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
33 |
+ //#include "../IO" |
34 |
+ |
35 |
+ #include <array> |
36 |
++#include <limits> |
37 |
+ |
38 |
+ #include "writemaskedvector.h" |
39 |
+ #include "simdarrayhelper.h" |
40 |
|
41 |
diff --git a/dev-libs/vc/vc-1.4.1.ebuild b/dev-libs/vc/vc-1.4.1-r1.ebuild |
42 |
similarity index 88% |
43 |
rename from dev-libs/vc/vc-1.4.1.ebuild |
44 |
rename to dev-libs/vc/vc-1.4.1-r1.ebuild |
45 |
index 6961ddd9b52..8ac410c11b2 100644 |
46 |
--- a/dev-libs/vc/vc-1.4.1.ebuild |
47 |
+++ b/dev-libs/vc/vc-1.4.1-r1.ebuild |
48 |
@@ -10,6 +10,8 @@ HOMEPAGE="https://github.com/VcDevel/Vc" |
49 |
SRC_URI="https://github.com/VcDevel/Vc/archive/${PV}.tar.gz -> ${P}.tar.gz" |
50 |
S="${WORKDIR}"/Vc-${PV} |
51 |
|
52 |
+PATCHES=( "${FILESDIR}"/${P}-missing-include.patch ) |
53 |
+ |
54 |
LICENSE="BSD" |
55 |
SLOT="0" |
56 |
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux ~x64-macos" |