1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 05-configure_32-bit_lfs_fix.dpatch
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: Description: Fix large file support on 32-bit systems
6
## DP: Forwarded: not-needed
7
## DP: Author: Hannes von Haugwitz <hannes@vonhaugwitz.com>
8
## DP: Applied-Upstream: 0.16a1, http://aide.git.sourceforge.net/git/gitweb.cgi?p=aide/aide;a=commit;h=92c7878
9
## DP: Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=615111
10
## DP: Last-Update: 2011-03-11
13
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' aide~/configure aide/configure
14
--- aide~/configure 2011-03-11 06:23:39.000000000 +0000
15
+++ aide/configure 2011-03-11 06:29:11.000000000 +0000
17
if test "x$ac_cv_func_lstat64" = x""yes; then :
18
ac_fn_c_check_func "$LINENO" "stat64" "ac_cv_func_stat64"
19
if test "x$ac_cv_func_stat64" = x""yes; then :
20
- AIDE_DEFS="$AIDE_DEFS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS"
21
+ AIDE_DEFS="$AIDE_DEFS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
22
AIDE_LSTAT_FUNC="lstat64"
23
compoptionstring="${compoptionstring}WITH_LSTAT64\\n"
24
AIDE_STAT_FUNC="stat64"