Commit f6f738b
committed
nbd: update to 3.27.0
- new version
- move from sourceforge to github
- add gnutls library
- fix compilation warning, by removing CFLAGS addition:
```
<command-line>: warning: "PROG_NAME" redefined
<command-line>: note: this is the location of the previous definition
```
- fix compilation by adding libnl3 which is detected by configure script
and defines macros modifying the code. Error was:
```
nbd-client.c: In function 'main':
nbd-client.c:1723:32: error: implicit declaration of function 'persist_mode_main' [-Wimplicit-function-declaration]
1723 | return persist_mode_main(index, sockfds, flags);
| ^~~~~~~~~~~~~~~~~
```
NETLINK-related compilation problem reported upstream, with a proposed fix:
NetworkBlockDevice/nbd#1831 parent 9bf66b2 commit f6f738b
1 file changed
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | 20 | | |
23 | 21 | | |
24 | 22 | | |
| |||
0 commit comments