Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 938810 Details for
Bug 1143912
libfreenect: build fails on s390(x) and ppc(64(le))
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch
0001-Adds-missing-defines-for-ppc-64-le-and-s390-x-based-.patch (text/plain), 8.51 KB, created by
Jakub Čajka
on 2014-09-18 08:56:58 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Jakub Čajka
Created:
2014-09-18 08:56:58 UTC
Size:
8.51 KB
patch
obsolete
>From 405d5a64da9bdc5001de635d5ad14cd5b6cfd49b Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Jakub=20=C4=8Cajka?= <jcajka@redhat.com> >Date: Thu, 18 Sep 2014 09:48:50 +0200 >Subject: [PATCH] Adds missing defines for ppc(64(le)) and s390(x) (based on > ARM) > >--- > libfreenect.spec | 7 +++- > secarch.patch | 111 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 117 insertions(+), 1 deletion(-) > create mode 100644 secarch.patch > >diff --git a/libfreenect.spec b/libfreenect.spec >index 6e474f9..8a0b91d 100644 >--- a/libfreenect.spec >+++ b/libfreenect.spec >@@ -8,7 +8,7 @@ > > Name: libfreenect > Version: 0.5.0 >-Release: 1%{?dist} >+Release: 2%{?dist} > Summary: Device driver for the Kinect > License: GPLv2+ or ASL 2.0 > URL: http://www.openkinect.org/ >@@ -22,6 +22,7 @@ Patch1: %{name}-0.4.1-openni2.patch > Patch2: %{name}-0.4.2-aarch64.patch > # Allow for proper libdir > Patch3: %{name}-0.4.2-libdir.patch >+Patch4: secarch.patch > > BuildRequires: cmake > BuildRequires: Cython >@@ -99,6 +100,7 @@ rm -rf platform/windows > %patch1 -p0 -b .openni2 > %patch2 -p0 -b .aarch64 > %patch3 -p0 -b .libdir >+%patch4 -p1 -b .secarch > > %build > mkdir build >@@ -188,6 +190,9 @@ mv %{buildroot}%{_libdir}/OpenNI2-FreenectDriver %{buildroot}%{_libdir}/openni2/ > %{_libdir}/openni2 > > %changelog >+* Thu Sep 18 2014 Jakub Äajka <jcajka@redhat.com> - 0.5.0-2 >+- Adds missing defines for ppc(64(le)) and s390(x) (based on ARM) >+ > * Tue Aug 19 2014 Jiri Kastner <jkastner /at/ redhat /dot/ com> - 0.5.0-1 > - update to release 0.5.0 (rhbz#1124171) > - Move openni plugin to libdir/openni2/Drivers (rhbz#1094787) >diff --git a/secarch.patch b/secarch.patch >new file mode 100644 >index 0000000..73bfd8b >--- /dev/null >+++ b/secarch.patch >@@ -0,0 +1,111 @@ >+diff -urN libfreenect/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Linux-ppc/OniPlatformLinux-PPC.h libfreenect.new/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Linux-ppc/OniPlatformLinux-PPC.h >+--- libfreenect/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Linux-ppc/OniPlatformLinux-PPC.h 1970-01-01 01:00:00.000000000 +0100 >++++ libfreenect.new/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Linux-ppc/OniPlatformLinux-PPC.h 2014-09-18 09:02:36.009121598 +0200 >+@@ -0,0 +1,41 @@ >++/***************************************************************************** >++* * >++* OpenNI 2.x Alpha * >++* Copyright (C) 2012 PrimeSense Ltd. * >++* * >++* This file is part of OpenNI. * >++* * >++* Licensed under the Apache License, Version 2.0 (the "License"); * >++* you may not use this file except in compliance with the License. * >++* You may obtain a copy of the License at * >++* * >++* http://www.apache.org/licenses/LICENSE-2.0 * >++* * >++* Unless required by applicable law or agreed to in writing, software * >++* distributed under the License is distributed on an "AS IS" BASIS, * >++* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * >++* See the License for the specific language governing permissions and * >++* limitations under the License. * >++* * >++*****************************************************************************/ >++#ifndef _ONI_PLATFORM_LINUX_PPC_H_ >++#define _ONI_PLATFORM_LINUX_PPC_H_ >++ >++// Start with Linux-x86, and override what's different >++#include "../Linux-x86/OniPlatformLinux-x86.h" >++ >++//--------------------------------------------------------------------------- >++// Platform Basic Definition >++//--------------------------------------------------------------------------- >++#undef ONI_PLATFORM >++#undef ONI_PLATFORM_STRING >++#define ONI_PLATFORM ONI_PLATFORM_LINUX_PPC >++#define ONI_PLATFORM_STRING "Linux-PowerPC" >++ >++#ifndef __powerpc64le__ >++#undef ONI_PLATFORM_ENDIAN_TYPE >++#define ONI_PLATFORM_ENDIAN_TYPE ONI_PLATFORM_IS_BIG_ENDIAN >++#endif >++ >++#endif //_ONI_PLATFORM_LINUX_PPC_H_ >++ >+diff -urN libfreenect/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Linux-s390/OniPlatformLinux-s390.h libfreenect.new/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Linux-s390/OniPlatformLinux-s390.h >+--- libfreenect/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Linux-s390/OniPlatformLinux-s390.h 1970-01-01 01:00:00.000000000 +0100 >++++ libfreenect.new/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Linux-s390/OniPlatformLinux-s390.h 2014-09-18 09:04:48.462527484 +0200 >+@@ -0,0 +1,39 @@ >++/***************************************************************************** >++* * >++* OpenNI 2.x Alpha * >++* Copyright (C) 2012 PrimeSense Ltd. * >++* * >++* This file is part of OpenNI. * >++* * >++* Licensed under the Apache License, Version 2.0 (the "License"); * >++* you may not use this file except in compliance with the License. * >++* You may obtain a copy of the License at * >++* * >++* http://www.apache.org/licenses/LICENSE-2.0 * >++* * >++* Unless required by applicable law or agreed to in writing, software * >++* distributed under the License is distributed on an "AS IS" BASIS, * >++* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * >++* See the License for the specific language governing permissions and * >++* limitations under the License. * >++* * >++*****************************************************************************/ >++#ifndef _ONI_PLATFORM_LINUX_s390_H_ >++#define _ONI_PLATFORM_LINUX_s390_H_ >++ >++// Start with Linux-x86, and override what's different >++#include "../Linux-x86/OniPlatformLinux-x86.h" >++ >++//--------------------------------------------------------------------------- >++// Platform Basic Definition >++//--------------------------------------------------------------------------- >++#undef ONI_PLATFORM >++#undef ONI_PLATFORM_STRING >++#define ONI_PLATFORM ONI_PLATFORM_LINUX_S390 >++#define ONI_PLATFORM_STRING "Linux-s390" >++ >++#undef ONI_PLATFORM_ENDIAN_TYPE >++#define ONI_PLATFORM_ENDIAN_TYPE ONI_PLATFORM_IS_BIG_ENDIAN >++ >++#endif //_ONI_PLATFORM_LINUX_s390_H_ >++ >+diff -urN libfreenect/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniPlatform.h libfreenect.new/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniPlatform.h >+--- libfreenect/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniPlatform.h 2014-09-18 08:55:33.895859870 +0200 >++++ libfreenect.new/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniPlatform.h 2014-09-18 09:04:32.795479474 +0200 >+@@ -27,6 +27,8 @@ >+ #define ONI_PLATFORM_LINUX_ARM 3 >+ #define ONI_PLATFORM_MACOSX 4 >+ #define ONI_PLATFORM_ANDROID_ARM 5 >++#define ONI_PLATFORM_LINUX_PPC 6 >++#define ONI_PLATFORM_LINUX_S390 7 >+ >+ #if (defined _WIN32) >+ # ifndef RC_INVOKED >+@@ -41,6 +43,10 @@ >+ # include "Linux-x86/OniPlatformLinux-x86.h" >+ #elif (__linux__ && (__arm__ || __aarch64__)) >+ # include "Linux-Arm/OniPlatformLinux-Arm.h" >++#elif (__linux__ && (__powerpc__ || __powerpc64__ || __powerpc64le__ )) >++# include "Linux-ppc/OniPlatformLinux-PPC.h" >++#elif (__linux__ && (__s390__ || __s390x__ )) >++# include "Linux-s390/OniPlatformLinux-s390.h" >+ #elif _ARC >+ # include "ARC/OniPlaformARC.h" >+ #elif (__APPLE__) >-- >1.9.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1143912
:
938810
|
938828