* Pull in upstream patch to avoid OOPS on linux 4.14 kernels.
(Closes: #884420)
+ * Pull in pending upstream patch to include stdint.h where needed.
+ This should allow Ubuntu to return to syncing openafs from Debian.
-- Benjamin Kaduk <kaduk@mit.edu> Thu, 14 Dec 2017 20:57:22 -0600
--- /dev/null
+From: =?utf-8?q?Michael_La=C3=9F?= <lass@mail.uni-paderborn.de>
+Date: Tue, 12 Sep 2017 19:33:15 +0200
+Subject: vol: add missing include of stdint.h to volinodes.h
+
+volinodes.h requires stdint.h for use of uintptr_t:
+
+In file included from vutil.c:55:0:
+volinodes.h: In function 'init_inode_info':
+volinodes.h:109:45: error: 'uintptr_t' undeclared (first use in this function); did you mean 'intptr_t'?
+ stuff[i].inode = (Inode*)((char*)header + (uintptr_t)stuff[i].inode);
+ ^~~~~~~~~
+ intptr_t
+
+Similar changes have been applied earlier in 1e53da3.
+
+This change does not apply to master since e2b4fde added an include of roken.h
+to all affected source files which in turn includes stdint.h.
+
+Change-Id: Iddd174e844583e06f66d910052e11feff928ba40
+---
+ src/vol/volinodes.h | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/src/vol/volinodes.h b/src/vol/volinodes.h
+index 181b441..2dec0ce 100644
+--- a/src/vol/volinodes.h
++++ b/src/vol/volinodes.h
+@@ -18,6 +18,9 @@
+ #define __volinodes_h_
+
+ #include <stddef.h>
++#ifdef HAVE_STDINT_H
++# include <stdint.h>
++#endif
+
+ /* Used by vutil.c and salvager.c */
+
0004-Linux-Use-kernel_read-kernel_write-when-__vfs-varian.patch
0005-afs-fix-kernel_write-kernel_read-arguments.patch
0006-Fix-macro-used-to-check-kernel_read-argument-order.patch
+0007-vol-add-missing-include-of-stdint.h-to-volinodes.h.patch