This enables large disks to work in librump.
---
debian/patches/Wno-error.diff | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/debian/patches/Wno-error.diff b/debian/patches/Wno-error.diff
index 1b54758e..d8cef536 100644
--- a/debian/patches/Wno-error.diff
+++ b/debian/patches/Wno-error.diff
@@ -16,3 +16,12 @@
if ! cppdefines __ELF__; then
${TITANMODE} || die ELF required as target object format
fi
+@@ -1126,7 +1131,7 @@ evalplatform ()
+ *-gnu*)
+ EXTRA_RUMPCOMMON='-ldl'
+ EXTRA_RUMPCLIENT='-lpthread'
+- appendvar EXTRA_CFLAGS -DMAXHOSTNAMELEN=256 -DPATH_MAX=1024
++ appendvar EXTRA_CFLAGS -D_FILE_OFFSET_BITS=64
-DMAXHOSTNAMELEN=256 -DPATH_MAX=1024
+ ;;
+ *-openbsd*)
+ EXTRA_RUMPCLIENT='-lpthread'
--
2.32.0