Bug#875796: openni-sensor-primesense: fix FTBFS on ppc64el/ppc64

Frédéric Bonnard frediz at linux.vnet.ibm.com
Thu Sep 14 14:23:00 UTC 2017


Package: src:openni-sensor-primesense
Version: 5.1.0.41-7
Tags: patch pending
User: debian-powerpc at lists.debian.org
Usertags: ppc64el 

--

Dear maintainer,

I see that the package fails to build ppc64[el].
Here is a small patch that seems to fix this.
I hope that helps, let me know if things need to be improved.

Regards.
F.
-------------- next part --------------
diff -Nru openni-sensor-primesense-5.1.0.41/debian/changelog openni-sensor-primesense-5.1.0.41/debian/changelog
--- openni-sensor-primesense-5.1.0.41/debian/changelog	2016-12-16 09:48:26.000000000 +0000
+++ openni-sensor-primesense-5.1.0.41/debian/changelog	2017-09-14 14:14:45.000000000 +0000
@@ -1,3 +1,10 @@
+openni-sensor-primesense (5.1.0.41-7.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add fix to handle ppc64 and ppc64el architectures
+
+ -- Frédéric Bonnard <frediz at linux.vnet.ibm.com>  Thu, 14 Sep 2017 14:14:45 +0000
+
 openni-sensor-primesense (5.1.0.41-7) unstable; urgency=medium
 
   * Fix watch file
diff -Nru openni-sensor-primesense-5.1.0.41/debian/patches/fix-ppc64el.patch openni-sensor-primesense-5.1.0.41/debian/patches/fix-ppc64el.patch
--- openni-sensor-primesense-5.1.0.41/debian/patches/fix-ppc64el.patch	1970-01-01 00:00:00.000000000 +0000
+++ openni-sensor-primesense-5.1.0.41/debian/patches/fix-ppc64el.patch	2017-09-14 14:14:14.000000000 +0000
@@ -0,0 +1,11 @@
+--- a/Platform/Linux/CreateRedist/RedistMaker
++++ b/Platform/Linux/CreateRedist/RedistMaker
+@@ -31,7 +31,7 @@
+ 		PLATFORM="Arm" ;;
+ 	aarch64)
+ 		PLATFORM="AArch64" ;;
+-	ppc)
++	ppc*)
+ 		PLATFORM="Powerpc" ;;
+ 	arm*)
+ 		PLATFORM="Arm" ;;
diff -Nru openni-sensor-primesense-5.1.0.41/debian/patches/series openni-sensor-primesense-5.1.0.41/debian/patches/series
--- openni-sensor-primesense-5.1.0.41/debian/patches/series	2016-12-16 09:09:31.000000000 +0000
+++ openni-sensor-primesense-5.1.0.41/debian/patches/series	2017-09-14 14:09:38.000000000 +0000
@@ -11,3 +11,4 @@
 0011-Add-Arm64-support-thanks-Edmund-Grimley-Evans.patch
 0012-Add-mips-support-thanks-Daniel-Knezevic.patch
 0013-Reproducible-builds.patch
+fix-ppc64el.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20170914/56b23cdf/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list