diff -Nru langford-0.0.20130228/debian/changelog langford-0.0.20130228/debian/changelog --- langford-0.0.20130228/debian/changelog 2017-07-28 13:36:21.000000000 +0000 +++ langford-0.0.20130228/debian/changelog 2017-09-17 19:55:38.000000000 +0000 @@ -1,9 +1,9 @@ -langford (0.0.20130228-5ubuntu1) artful; urgency=medium +langford (0.0.20130228-6) unstable; urgency=medium - * Fix module build with Linux 4.12 (LP: #1700794) - - debian/patches/fix-uaccess-include.patch + * Fix FTBFS with Linux 4.12 + debian/patches/uaccess.patch (Closes: #874750) - -- Seth Forshee Fri, 28 Jul 2017 08:36:21 -0500 + -- Simon Richter Sun, 17 Sep 2017 21:55:38 +0200 langford (0.0.20130228-5) unstable; urgency=medium diff -Nru langford-0.0.20130228/debian/patches/fix-uaccess-include.patch langford-0.0.20130228/debian/patches/fix-uaccess-include.patch --- langford-0.0.20130228/debian/patches/fix-uaccess-include.patch 2017-07-28 13:36:03.000000000 +0000 +++ langford-0.0.20130228/debian/patches/fix-uaccess-include.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,16 +0,0 @@ -Index: langford-0.0.20130228/langford.h -=================================================================== ---- langford-0.0.20130228.orig/langford.h -+++ langford-0.0.20130228/langford.h -@@ -20,7 +20,11 @@ - #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0) - #include - #endif -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 18) -+#include -+#else - #include -+#endif - #include "langford_ioctl.h" - - diff -Nru langford-0.0.20130228/debian/patches/series langford-0.0.20130228/debian/patches/series --- langford-0.0.20130228/debian/patches/series 2017-07-28 13:33:44.000000000 +0000 +++ langford-0.0.20130228/debian/patches/series 2017-09-17 19:55:38.000000000 +0000 @@ -7,4 +7,4 @@ fixbuild reproducible vmalloc.patch -fix-uaccess-include.patch +uaccess diff -Nru langford-0.0.20130228/debian/patches/uaccess langford-0.0.20130228/debian/patches/uaccess --- langford-0.0.20130228/debian/patches/uaccess 1970-01-01 00:00:00.000000000 +0000 +++ langford-0.0.20130228/debian/patches/uaccess 2017-09-17 19:55:38.000000000 +0000 @@ -0,0 +1,18 @@ +Description: Fix uaccess.h path + This should be addressed as , not . +Author: Simon Richter +Bug-Debian: https://bugs.debian.org/874750 +Forwarded: no +Last-Update: 2017-09-17 + +--- langford-0.0.20130228.orig/langford.h ++++ langford-0.0.20130228/langford.h +@@ -20,7 +20,7 @@ + #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0) + #include + #endif +-#include ++#include + #include "langford_ioctl.h" + +