[SCM] openni-sensor-primesense/master: Add patch for armhf

jspricke-guest at users.alioth.debian.org jspricke-guest at users.alioth.debian.org
Mon Jun 8 13:23:01 UTC 2015


The following commit has been merged in the master branch:
commit a1226ec206d4b4c1cf90ef8c1d98d12ccb9b0b61
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Mon Jun 8 15:16:13 2015 +0200

    Add patch for armhf

diff --git a/debian/patches/0010-Add-ARMhf-support.patch b/debian/patches/0010-Add-ARMhf-support.patch
new file mode 100644
index 0000000..b275a80
--- /dev/null
+++ b/debian/patches/0010-Add-ARMhf-support.patch
@@ -0,0 +1,39 @@
+From a9b5a6bde1bb7ccf5a3440f19f2ff9580dbbc8e2 Mon Sep 17 00:00:00 2001
+From: Joe Burmeister <joe at suaveairapps.co.uk>
+Date: Wed, 15 Oct 2014 12:00:05 +0000
+Subject: [PATCH 1/2] Add ARMhf support.
+
+---
+ Platform/Linux/Build/Common/Platform.Arm | 2 +-
+ Platform/Linux/CreateRedist/RedistMaker  | 2 ++
+ 2 files changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/Platform/Linux/Build/Common/Platform.Arm b/Platform/Linux/Build/Common/Platform.Arm
+index 32cc34d..ecc5540 100644
+--- a/Platform/Linux/Build/Common/Platform.Arm
++++ b/Platform/Linux/Build/Common/Platform.Arm
+@@ -1,7 +1,7 @@
+ ifeq "$(CFG)" "Release"
+ 
+     # Hardware specifying flags
+-    CFLAGS += -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp #-mcpu=cortex-a8
++    CFLAGS += -march=armv7-a -mtune=cortex-a8 -mfpu=neon #-mcpu=cortex-a8
+ 
+     # Optimization level, minus currently buggy optimizing methods (which break bit-exact)
+     CFLAGS += -O3 -fno-tree-pre -fno-strict-aliasing
+diff --git a/Platform/Linux/CreateRedist/RedistMaker b/Platform/Linux/CreateRedist/RedistMaker
+index 14fc068..d0530db 100755
+--- a/Platform/Linux/CreateRedist/RedistMaker
++++ b/Platform/Linux/CreateRedist/RedistMaker
+@@ -31,6 +31,8 @@ else
+ 		PLATFORM="Arm" ;;
+ 	ppc)
+ 		PLATFORM="Powerpc" ;;
++	arm*)
++		PLATFORM="Arm" ;;
+ 	*)
+ 		echo "Unknown machine type: $MACHINE_TYPE"
+ 		exit 1
+-- 
+2.1.4
+
diff --git a/debian/patches/series b/debian/patches/series
index 843d096..f12c235 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@
 0007-Remove-call-to-XnLockedServerStreamsHash.patch
 0008-Move-XnSensorServer-to-usr-lib-libopenni-sensor-prim.patch
 0009-Add-support-for-Powerpc-Thanks-to-Roland-Stigge.patch
+0010-Add-ARMhf-support.patch

-- 
openni-sensor-primesense packaging



More information about the pkg-multimedia-commits mailing list