[SCM] openni/master: Add patch to disable SSE
eighthave at users.alioth.debian.org
eighthave at users.alioth.debian.org
Mon May 20 03:25:50 UTC 2013
The following commit has been merged in the master branch:
commit 95da0711476d5b51be9d46ba6935ffa5c8c7a5b0
Author: Jochen Sprickerhof <jochen at sprickerhof.de>
Date: Fri Jul 6 14:20:25 2012 +0200
Add patch to disable SSE
diff --git a/debian/patches/0004-Disable-SSE.patch b/debian/patches/0004-Disable-SSE.patch
new file mode 100644
index 0000000..6ddf6c6
--- /dev/null
+++ b/debian/patches/0004-Disable-SSE.patch
@@ -0,0 +1,29 @@
+From: Jochen Sprickerhof <jochen at sprickerhof.de>
+Date: Tue, 3 Jul 2012 16:21:11 +0200
+Subject: Disable SSE
+
+---
+ Platform/Linux/Build/Common/Platform.x86 | 4 +---
+ 1 file changed, 1 insertion(+), 3 deletions(-)
+
+diff --git a/Platform/Linux/Build/Common/Platform.x86 b/Platform/Linux/Build/Common/Platform.x86
+index 04dd480..0dcf3c9 100644
+--- a/Platform/Linux/Build/Common/Platform.x86
++++ b/Platform/Linux/Build/Common/Platform.x86
+@@ -2,7 +2,7 @@
+ export GLUT_SUPPORTED=1
+
+ ifndef SSE_GENERATION
+- SSE_GENERATION = 3
++ SSE_GENERATION = 0
+ endif
+
+ ifeq ("$(OSTYPE)","Darwin")
+@@ -19,7 +19,5 @@ else
+ ifeq ($(SSSE3_ENABLED), 1)
+ CFLAGS += -mssse3
+ endif
+- else
+- DUMMY:=($error "Only SSE2 and SSE3 are supported")
+ endif
+ endif
diff --git a/debian/patches/series b/debian/patches/series
index fd424b5..545b654 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
0001-do-not-build-mono-samples.patch
0002-Add-SONAME-to-libraries.patch
0003-Change-path-of-config-files-to-etc-openni.patch
+0004-Disable-SSE.patch
--
openni packaging
More information about the pkg-multimedia-commits
mailing list