[SCM] openni-sensor-avin2-sensorkinect/master: Add patch to disable SSE

jspricke-guest at users.alioth.debian.org jspricke-guest at users.alioth.debian.org
Thu Oct 23 13:44:31 UTC 2014


The following commit has been merged in the master branch:
commit d6c6c95e8db61660cb370535a065372b86e90cc9
Author: Jochen Sprickerhof <jochen at sprickerhof.de>
Date:   Wed Jul 11 16:22:24 2012 +0200

    Add patch to disable SSE

diff --git a/debian/patches/0002-Disable-SSE.patch b/debian/patches/0002-Disable-SSE.patch
new file mode 100644
index 0000000..1ed1a71
--- /dev/null
+++ b/debian/patches/0002-Disable-SSE.patch
@@ -0,0 +1,29 @@
+From: Jochen Sprickerhof <jochen at sprickerhof.de>
+Date: Wed, 11 Jul 2012 16:21:50 +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 1891a27..8d3a8e9 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 ad9878c..5e29b72 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Don-t-build-in-parallel-because-not-all-dependencies.patch
+0002-Disable-SSE.patch

-- 
openni-sensor-avin2-sensorkinect packaging



More information about the pkg-multimedia-commits mailing list