diff options
Diffstat (limited to 'media-libs/glm')
-rw-r--r-- | media-libs/glm/files/glm-0.9.9.6-simd.patch | 11 | ||||
-rw-r--r-- | media-libs/glm/glm-0.9.9.6.ebuild | 2 |
2 files changed, 13 insertions, 0 deletions
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 000000000000..5ed2bf1f6d65 --- /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 89d9894cf71e..7049a117fce1 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 \ |