summaryrefslogtreecommitdiff
path: root/debian/patches/no-large-file-support.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/no-large-file-support.diff')
-rw-r--r--debian/patches/no-large-file-support.diff18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/no-large-file-support.diff b/debian/patches/no-large-file-support.diff
new file mode 100644
index 0000000..78b9f12
--- /dev/null
+++ b/debian/patches/no-large-file-support.diff
@@ -0,0 +1,18 @@
+# DP: disable large file support for GNU/Hurd
+
+Index: b/configure.ac
+===================================================================
+--- a/configure.ac
++++ b/configure.ac
+@@ -2059,6 +2059,11 @@ if test "$sol_lfs_bug" = "yes"; then
+ use_lfs=no
+ fi
+
++# Don't use largefile support for GNU/Hurd
++case $ac_sys_system in GNU*)
++ use_lfs=no
++esac
++
+ if test "$use_lfs" = "yes"; then
+ # Two defines needed to enable largefile support on various platforms
+ # These may affect some typedefs