public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/glm/files/, media-libs/glm/
Date: Thu, 12 Sep 2019 07:02:06 +0000 (UTC)	[thread overview]
Message-ID: <1568271710.ac0397adc5b4ddfc44e26de96c743f2e54a7a91a.tupone@gentoo> (raw)

commit:     ac0397adc5b4ddfc44e26de96c743f2e54a7a91a
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 12 07:01:50 2019 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Sep 12 07:01:50 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac0397ad

media-libs/glm: disable SSE2

Closes: https://bugs.gentoo.org/693954
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 media-libs/glm/files/glm-0.9.9.6-simd.patch | 11 +++++++++++
 media-libs/glm/glm-0.9.9.6.ebuild           |  2 ++
 2 files changed, 13 insertions(+)

diff --git a/media-libs/glm/files/glm-0.9.9.6-simd.patch b/media-libs/glm/files/glm-0.9.9.6-simd.patch
new file mode 100644
index 00000000000..5ed2bf1f6d6
--- /dev/null
+++ b/media-libs/glm/files/glm-0.9.9.6-simd.patch
@@ -0,0 +1,11 @@
+--- a/glm/simd/platform.h	2019-03-06 18:57:53.309630574 +0100
++++ b/glm/simd/platform.h	2019-03-06 18:58:30.796988006 +0100
+@@ -245,7 +245,7 @@
+ 
+ #define GLM_ARCH_NEON_BIT	(0x00000001)
+ #define GLM_ARCH_SSE_BIT	(0x00000002)
+-#define GLM_ARCH_SSE2_BIT	(0x00000004)
++#define GLM_ARCH_SSE2_BIT	(0x00000000)
+ #define GLM_ARCH_SSE3_BIT	(0x00000008)
+ #define GLM_ARCH_SSSE3_BIT	(0x00000010)
+ #define GLM_ARCH_SSE41_BIT	(0x00000020)

diff --git a/media-libs/glm/glm-0.9.9.6.ebuild b/media-libs/glm/glm-0.9.9.6.ebuild
index 89d9894cf71..7049a117fce 100644
--- a/media-libs/glm/glm-0.9.9.6.ebuild
+++ b/media-libs/glm/glm-0.9.9.6.ebuild
@@ -16,6 +16,8 @@ IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx cpu_flags_x86
 
 RDEPEND="virtual/opengl"
 
+PATCHES=( "${FILESDIR}"/${P}-simd.patch )
+
 src_prepare() {
 	cmake-utils_src_prepare
 	sed \


             reply	other threads:[~2019-09-12  7:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-12  7:02 Alfredo Tupone [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-06 22:10 [gentoo-commits] repo/gentoo:master commit in: media-libs/glm/files/, media-libs/glm/ Andreas Sturmlechner
2024-01-25  6:50 Alfredo Tupone
2020-01-08  7:33 Alfredo Tupone
2019-10-29 21:22 Alfredo Tupone
2019-09-10  6:48 Alfredo Tupone
2018-04-13 16:58 Alfredo Tupone
2018-01-26 23:53 Patrick McLean

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1568271710.ac0397adc5b4ddfc44e26de96c743f2e54a7a91a.tupone@gentoo \
    --to=tupone@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox