Package: lizardfs / 3.12.0+dfsg-3

655.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Last-Update: 2018-12-14
Forwarded: https://github.com/lizardfs/lizardfs/issues/655
Bug-Upstream: https://github.com/lizardfs/lizardfs/issues/655
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916194
Author: Dmitry Smirnov <onlyjob@member.fsf.org>
Description: fix FTBFS with glibc-2.28
~~~~
 src/chunkserver/iostat.h:112:26: error: 'makedev' was not declared in this scope
    auto it = stats_.find(makedev(major, minor));
                          ^~~~~~~
~~~~

--- a/src/chunkserver/iostat.h
+++ b/src/chunkserver/iostat.h
@@ -29,8 +29,9 @@
 #include <unordered_map>
 #include <vector>
 
 #include <sys/stat.h>
+#include <sys/sysmacros.h>  // makedev
 #include <sys/types.h>
 #include <unistd.h>
 
 #ifndef __linux__