Hello community, here is the log from the commit of package hdjmod for openSUSE:Factory checked in at 2017-11-27 22:17:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hdjmod (Old) and /work/SRC/openSUSE:Factory/.hdjmod.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hdjmod" Mon Nov 27 22:17:52 2017 rev:17 rq:545757 version:1.28 Changes: -------- --- /work/SRC/openSUSE:Factory/hdjmod/hdjmod.changes 2017-07-02 13:38:43.102491317 +0200 +++ /work/SRC/openSUSE:Factory/.hdjmod.new/hdjmod.changes 2017-11-27 22:17:52.683795578 +0100 @@ -1,0 +2,6 @@ +Sun Nov 26 19:44:30 UTC 2017 - ma...@marix.org + +- Added hdjmod_kernel_4.14.patch: Fixes build on Kernel 4.14 and + up. + +------------------------------------------------------------------- New: ---- hdjmod_kernel_4.14.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hdjmod.spec ++++++ --- /var/tmp/diff_new_pack.8B156O/_old 2017-11-27 22:17:53.507765672 +0100 +++ /var/tmp/diff_new_pack.8B156O/_new 2017-11-27 22:17:53.511765526 +0100 @@ -56,6 +56,8 @@ Patch9: hdjmod_kernel_4.11.patch # PATCH-FIX-UPSTREAM hdjmod_fix_buffer_overrun_in_device_name_handling.patch ma...@marix.org -- Fix build on kernel 4.11 and newer Patch10: hdjmod_fix_buffer_overrun_in_device_name_handling.patch +# PATCH-FIX-UPSTREAM hdjmod_kernel_4.14.patch ma...@marix.org -- Fix build on kernel 4.14 and newer +Patch11: hdjmod_kernel_4.14.patch %suse_kernel_module_package -p%_sourcedir/preamble @@ -80,6 +82,7 @@ %patch8 -p1 %patch9 -p1 %patch10 -p1 +%patch11 -p1 set -- * mkdir source mv "$@" source/ ++++++ hdjmod_kernel_4.14.patch ++++++ From: Matthias Bach <ma...@marix.org> Date: 2017-11-26 20:45:00 +0100 Subject: Fix compile on kernel 4.14 Upstream: to be done The module no longer compiled on 4.14 diff -Naru hdjmod-1.28o/bulk.c hdjmod-1.28/bulk.c --- hdjmod-1.28o/bulk.c 2009-01-27 15:25:50.000000000 +0100 +++ hdjmod-1.28/bulk.c 2017-11-26 20:41:31.941557776 +0100 @@ -23,6 +23,7 @@ #include <linux/kernel.h> #include <linux/errno.h> #include <linux/init.h> +#include <linux/sched.h> #include <linux/slab.h> #include <linux/module.h> #include <linux/kref.h> diff -Naru hdjmod-1.28o/device.c hdjmod-1.28/device.c --- hdjmod-1.28o/device.c 2009-01-27 15:25:50.000000000 +0100 +++ hdjmod-1.28/device.c 2017-11-26 20:38:50.262807031 +0100 @@ -29,6 +29,7 @@ #include <linux/version.h> /* For LINUX_VERSION_CODE */ #include <linux/errno.h> #include <linux/init.h> +#include <linux/sched.h> #include <linux/slab.h> #include <linux/module.h> #include <linux/kref.h> diff -Naru hdjmod-1.28o/midicapture.c hdjmod-1.28/midicapture.c --- hdjmod-1.28o/midicapture.c 2009-01-27 15:25:50.000000000 +0100 +++ hdjmod-1.28/midicapture.c 2017-11-26 20:42:47.007150108 +0100 @@ -27,6 +27,7 @@ #include <linux/version.h> /* For LINUX_VERSION_CODE */ #include <linux/errno.h> #include <linux/init.h> +#include <linux/sched.h> #include <linux/slab.h> #include <linux/module.h> #include <linux/kref.h> diff -Naru hdjmod-1.28o/midirender.c hdjmod-1.28/midirender.c --- hdjmod-1.28o/midirender.c 2009-01-27 15:25:50.000000000 +0100 +++ hdjmod-1.28/midirender.c 2017-11-26 20:43:18.906131711 +0100 @@ -26,6 +26,7 @@ #include <linux/version.h> /* For LINUX_VERSION_CODE */ #include <linux/errno.h> #include <linux/init.h> +#include <linux/sched.h> #include <linux/slab.h> #include <linux/module.h> #include <linux/kref.h>