From 50cd1f13a1535dfb1222be586d117bae5bbadfd8 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 22 Feb 2018 00:56:05 +0100 Subject: [PATCH] dmx_usb_module: fix build against kernel 4.14 The change should also work fine with older kernels, as has existed for a long time, and it includes . Signed-off-by: Matthias Schiffer --- libs/dmx_usb_module/Makefile | 2 +- libs/dmx_usb_module/patches/002-fix-build-4.14.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 libs/dmx_usb_module/patches/002-fix-build-4.14.patch diff --git a/libs/dmx_usb_module/Makefile b/libs/dmx_usb_module/Makefile index 4487437d3f..8f71840675 100644 --- a/libs/dmx_usb_module/Makefile +++ b/libs/dmx_usb_module/Makefile @@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=dmx_usb_module PKG_VERSION:=0.1.20130818 -PKG_RELEASE:=0.1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) diff --git a/libs/dmx_usb_module/patches/002-fix-build-4.14.patch b/libs/dmx_usb_module/patches/002-fix-build-4.14.patch new file mode 100644 index 0000000000..e3ae11e823 --- /dev/null +++ b/libs/dmx_usb_module/patches/002-fix-build-4.14.patch @@ -0,0 +1,11 @@ +--- a/dmx_usb.c ++++ b/dmx_usb.c +@@ -20,7 +20,7 @@ + #include + #include + #include +-#include ++#include + #include + #include +