Package: src:openni-sensor-primesense
Version: 5.1.0.41-7
Tags: patch pending
User: debian-powe...@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.
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 <fre...@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

Attachment: pgpi_klgVR04K.pgp
Description: PGP signature

_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to