--- autofs-5.0.1/Makefile.rules.fix-largefile-dumbness 2007-02-20 13:59:13.000000000 +0900
+++ autofs-5.0.1/Makefile.rules 2007-07-30 17:24:51.000000000 +0800
@@ -46,7 +46,7 @@ CXXFLAGS = $(CFLAGS)
LD = ld
SOLDFLAGS = -shared
-CFLAGS += -D_REENTRANT
+CFLAGS += -D_REENTRANT -D_FILE_OFFSET_BITS=64
LDFLAGS += -lpthread
ifdef DMALLOCLIB