summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-01-18 10:46:13 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2009-01-18 10:46:13 +0100
commit3def525dc45f52a5e50f29f0106fe16dcd1b85c9 (patch)
tree27eb1374c9b301b2e0caf4a83fe35c98429bb54e
parentc7ce1c37e34bce2b945fb484e3f20fcec1fac19c (diff)
downloadvdr-3def525dc45f52a5e50f29f0106fe16dcd1b85c9.tar.gz
vdr-3def525dc45f52a5e50f29f0106fe16dcd1b85c9.tar.bz2
Added "DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" to Make.config.template
-rw-r--r--CONTRIBUTORS3
-rw-r--r--HISTORY6
-rw-r--r--Make.config.template3
3 files changed, 10 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 335c5711..13692e0c 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -2402,3 +2402,6 @@ Edgar Hucek <gimli@dark-green.com>
Johann Friedrichs <johann.friedrichs@web.de>
for fixing incrementing the continuity counter in cPatPmtGenerator::GetPmt()
+ for pointing out that "DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
+ -D_LARGEFILE64_SOURCE" should be added to Make.config.
+ to Make.config.template (thanks to Johann Friedrichs for pointing this out).
diff --git a/HISTORY b/HISTORY
index 58756a34..84b8e43f 100644
--- a/HISTORY
+++ b/HISTORY
@@ -5912,7 +5912,7 @@ Video Disk Recorder Revision History
can handle DVB-S2. The #define is still there to allow people with older drivers
who don't need DVB-S2 to use this version without pathcing.
-2009-01-16: Version 1.7.4
+2009-01-18: Version 1.7.4
- Removed the '#define FE_CAN_2ND_GEN_MODULATION', since it was wrong and the
flag is now in the driver, anyway.
@@ -5935,3 +5935,7 @@ Video Disk Recorder Revision History
caused a problem with removing, no others were removed any more and an ongoing
recording could fill up the disk and cause other recordings to be deleted
automatically (reported by Reinhard Nissl).
+- Added "DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
+ to Make.config.template (thanks to Johann Friedrichs for pointing this out).
+ Plugin authors should add this line to their Makefile or Make.config if they use
+ file access functions that need special versions for 64 bit offsets.
diff --git a/Make.config.template b/Make.config.template
index 32284fca..758fc145 100644
--- a/Make.config.template
+++ b/Make.config.template
@@ -6,7 +6,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
-# $Id: Make.config.template 1.16 2008/01/13 12:54:09 kls Exp $
+# $Id: Make.config.template 2.1 2009/01/18 10:46:13 kls Exp $
### The C compiler and options:
@@ -19,6 +19,7 @@ CXXFLAGS = -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses
ifdef PLUGIN
CFLAGS += -fPIC
CXXFLAGS += -fPIC
+DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
endif
### The directory environment: