From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1110410-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id EB9EB138334
	for <garchives@archives.gentoo.org>; Thu, 12 Sep 2019 07:02:10 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 17E89E08E5;
	Thu, 12 Sep 2019 07:02:10 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id E3B99E08E5
	for <gentoo-commits@lists.gentoo.org>; Thu, 12 Sep 2019 07:02:09 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 9849E34AFD4
	for <gentoo-commits@lists.gentoo.org>; Thu, 12 Sep 2019 07:02:08 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 129B1615
	for <gentoo-commits@lists.gentoo.org>; Thu, 12 Sep 2019 07:02:06 +0000 (UTC)
From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" <tupone@gentoo.org>
Message-ID: <1568271710.ac0397adc5b4ddfc44e26de96c743f2e54a7a91a.tupone@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/glm/files/, media-libs/glm/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-libs/glm/files/glm-0.9.9.6-simd.patch media-libs/glm/glm-0.9.9.6.ebuild
X-VCS-Directories: media-libs/glm/ media-libs/glm/files/
X-VCS-Committer: tupone
X-VCS-Committer-Name: Alfredo Tupone
X-VCS-Revision: ac0397adc5b4ddfc44e26de96c743f2e54a7a91a
X-VCS-Branch: master
Date: Thu, 12 Sep 2019 07:02:06 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: b956ae90-975f-495f-9550-7245ff968206
X-Archives-Hash: 56b525ed5c3409890f5cd2db78136ddc

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 \