From: Peter Michael Green Date: Thu, 28 Sep 2017 00:06:53 +0000 (+0000) Subject: Remove old raspbian patch that no longer applies, dgit will generate a new one. X-Git-Tag: archive/raspbian/2.2.0.33+dfsg-10+rpi1~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5e23fdcb08db0ec628fffa42b44116ff344bb22e;p=openni2.git Remove old raspbian patch that no longer applies, dgit will generate a new one. --- diff --git a/debian/patches/9999-raspbian.patch b/debian/patches/9999-raspbian.patch deleted file mode 100644 index 30aafab..0000000 --- a/debian/patches/9999-raspbian.patch +++ /dev/null @@ -1,60 +0,0 @@ -Description: Force PSCommon platform to Armv6l -Author: Peter Michael Green - -Index: openni2-2.2.0.33+dfsg/ThirdParty/PSCommon/BuildSystem/Platform.Arm -=================================================================== ---- openni2-2.2.0.33+dfsg.orig/ThirdParty/PSCommon/BuildSystem/Platform.Arm -+++ openni2-2.2.0.33+dfsg/ThirdParty/PSCommon/BuildSystem/Platform.Arm -@@ -4,7 +4,7 @@ export GLUT_SUPPORTED=1 - ifeq "$(CFG)" "Release" - - # Hardware specifying flags -- CFLAGS += -Wno-unused-local-typedefs -march=armv7-a -mtune=cortex-a9 -mfpu=neon #-mfloat-abi=softfp #-mcpu=cortex-a8 -+ CFLAGS += -Wno-unused-local-typedefs #-march=armv7-a #-mtune=cortex-a9 #-mfpu=neon #-mfloat-abi=softfp #-mcpu=cortex-a8 - - # Optimization level, minus currently buggy optimizing methods (which break bit-exact) - CFLAGS += -O3 -fno-tree-pre -fno-strict-aliasing -Index: openni2-2.2.0.33+dfsg/ThirdParty/PSCommon/BuildSystem/CommonDefs.mak -=================================================================== ---- openni2-2.2.0.33+dfsg.orig/ThirdParty/PSCommon/BuildSystem/CommonDefs.mak -+++ openni2-2.2.0.33+dfsg/ThirdParty/PSCommon/BuildSystem/CommonDefs.mak -@@ -6,23 +6,23 @@ ifndef CFG - CFG = Release - endif - --# find out the platform on which we're running --MACHINE = $(shell uname -m) --ifneq (,$(findstring x86_64,$(MACHINE))) -- HOST_PLATFORM = x64 --else ifneq (,$(findstring x86,$(MACHINE))) -- HOST_PLATFORM = x86 --else ifneq (,$(findstring i686,$(MACHINE))) -- HOST_PLATFORM = x86 --else ifneq (,$(findstring i386,$(MACHINE))) -- HOST_PLATFORM = x86 --else ifneq (,$(findstring armv6l,$(MACHINE))) -+## find out the platform on which we're running -+#MACHINE = $(shell uname -m) -+#ifneq (,$(findstring x86_64,$(MACHINE))) -+# HOST_PLATFORM = x64 -+#else ifneq (,$(findstring x86,$(MACHINE))) -+# HOST_PLATFORM = x86 -+#else ifneq (,$(findstring i686,$(MACHINE))) -+# HOST_PLATFORM = x86 -+#else ifneq (,$(findstring i386,$(MACHINE))) -+# HOST_PLATFORM = x86 -+#else ifneq (,$(findstring armv6l,$(MACHINE))) - HOST_PLATFORM = Armv6l --else ifneq (,$(findstring arm,$(MACHINE))) -- HOST_PLATFORM = Arm --else -- HOST_PLATFORM = generic --endif -+#else ifneq (,$(findstring arm,$(MACHINE))) -+# HOST_PLATFORM = Arm -+#else -+# HOST_PLATFORM = generic -+#endif - - # now check if this is a cross-compilation or not - ifeq "$(PLATFORM)" "" diff --git a/debian/patches/series b/debian/patches/series index 8636d11..17c1a0f 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -14,4 +14,3 @@ 0014-fix-format-overflow-for-GCC7.patch 0015-Initialize-variable-for-gcc7.patch 0016-Use-the-generic-platform-for-armel-armhf-NEON-is-not.patch -9999-raspbian.patch