Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sip/
Date: Sun, 07 Oct 2018 13:46:28
Message-Id: 1538919969.9762d3f55df73a6cefd1b2885d9d875343e440f3.floppym@gentoo
1 commit: 9762d3f55df73a6cefd1b2885d9d875343e440f3
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 7 13:46:09 2018 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 7 13:46:09 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9762d3f5
7
8 dev-python/sip: add -fno-strict-aliasing for python2
9
10 Package-Manager: Portage-2.3.50_p14, Repoman-2.3.11_p21
11 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
12
13 dev-python/sip/sip-4.19.12.ebuild | 6 +++++-
14 dev-python/sip/sip-4.19.13.ebuild | 4 ++++
15 dev-python/sip/sip-4.19.8.ebuild | 6 +++++-
16 dev-python/sip/sip-4.9999.ebuild | 6 +++++-
17 4 files changed, 19 insertions(+), 3 deletions(-)
18
19 diff --git a/dev-python/sip/sip-4.19.12.ebuild b/dev-python/sip/sip-4.19.12.ebuild
20 index 6707912b376..3313a4fac4d 100644
21 --- a/dev-python/sip/sip-4.19.12.ebuild
22 +++ b/dev-python/sip/sip-4.19.12.ebuild
23 @@ -1,4 +1,4 @@
24 -# Copyright 1999-2018 Gentoo Foundation
25 +# Copyright 1999-2018 Gentoo Authors
26 # Distributed under the terms of the GNU General Public License v2
27
28 EAPI=6
29 @@ -69,6 +69,10 @@ src_prepare() {
30
31 src_configure() {
32 configuration() {
33 + if ! python_is_python3; then
34 + local CFLAGS="${CFLAGS} -fno-strict-aliasing"
35 + fi
36 +
37 local myconf=(
38 "${PYTHON}"
39 "${S}"/configure.py
40
41 diff --git a/dev-python/sip/sip-4.19.13.ebuild b/dev-python/sip/sip-4.19.13.ebuild
42 index 728a604c424..3313a4fac4d 100644
43 --- a/dev-python/sip/sip-4.19.13.ebuild
44 +++ b/dev-python/sip/sip-4.19.13.ebuild
45 @@ -69,6 +69,10 @@ src_prepare() {
46
47 src_configure() {
48 configuration() {
49 + if ! python_is_python3; then
50 + local CFLAGS="${CFLAGS} -fno-strict-aliasing"
51 + fi
52 +
53 local myconf=(
54 "${PYTHON}"
55 "${S}"/configure.py
56
57 diff --git a/dev-python/sip/sip-4.19.8.ebuild b/dev-python/sip/sip-4.19.8.ebuild
58 index 973f1ae60a0..bd65f8202bb 100644
59 --- a/dev-python/sip/sip-4.19.8.ebuild
60 +++ b/dev-python/sip/sip-4.19.8.ebuild
61 @@ -1,4 +1,4 @@
62 -# Copyright 1999-2018 Gentoo Foundation
63 +# Copyright 1999-2018 Gentoo Authors
64 # Distributed under the terms of the GNU General Public License v2
65
66 EAPI=6
67 @@ -69,6 +69,10 @@ src_prepare() {
68
69 src_configure() {
70 configuration() {
71 + if ! python_is_python3; then
72 + local CFLAGS="${CFLAGS} -fno-strict-aliasing"
73 + fi
74 +
75 local myconf=(
76 "${PYTHON}"
77 "${S}"/configure.py
78
79 diff --git a/dev-python/sip/sip-4.9999.ebuild b/dev-python/sip/sip-4.9999.ebuild
80 index 3fe2c1981bd..4df03eb6f4e 100644
81 --- a/dev-python/sip/sip-4.9999.ebuild
82 +++ b/dev-python/sip/sip-4.9999.ebuild
83 @@ -1,4 +1,4 @@
84 -# Copyright 1999-2018 Gentoo Foundation
85 +# Copyright 1999-2018 Gentoo Authors
86 # Distributed under the terms of the GNU General Public License v2
87
88 EAPI=6
89 @@ -69,6 +69,10 @@ src_prepare() {
90
91 src_configure() {
92 configuration() {
93 + if ! python_is_python3; then
94 + local CFLAGS="${CFLAGS} -fno-strict-aliasing"
95 + fi
96 +
97 local myconf=(
98 "${PYTHON}"
99 "${S}"/configure.py