summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-block/nbd/files/nbd-3.12.1-readit-and-weep.patch')
-rw-r--r--sys-block/nbd/files/nbd-3.12.1-readit-and-weep.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys-block/nbd/files/nbd-3.12.1-readit-and-weep.patch b/sys-block/nbd/files/nbd-3.12.1-readit-and-weep.patch
new file mode 100644
index 000000000000..6e0a31d6b4ea
--- /dev/null
+++ b/sys-block/nbd/files/nbd-3.12.1-readit-and-weep.patch
@@ -0,0 +1,16 @@
+--- a/cliserv.c
++++ b/cliserv.c
+@@ -81,6 +81,7 @@
+ hi = ntohl(hi);
+ return ((u64) lo) << 32U | hi;
+ }
++#endif
+
+ /**
+ * Read data from a file descriptor into a buffer
+@@ -103,5 +104,3 @@
+ }
+ }
+ }
+-
+-#endif