diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 5b43b1ef..eb77f68b 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1651,6 +1651,7 @@ Udo Richter for reporting wrong variable types in cIndexFile for reporting a problem with cDevice::PlayTsVideo() and cDevice::PlayTsAudio() in case only part of the buffer has been accepted by the device + for reporting missing defines for large files in the 'newplugin' script Sven Kreiensen for his help in keeping 'channels.conf.terr' up to date diff --git a/HISTORY b/HISTORY index 5b4abd2a..d71008da 100644 --- a/HISTORY +++ b/HISTORY @@ -6213,3 +6213,4 @@ Video Disk Recorder Revision History - Added stream type 11172 AUDIO to cPatPmtParser::ParsePmt() (thanks to Johann Friedrichs). - Removed debug output of '-' from cTransfer::Receive(). +- Added defines for large files to the 'newplugin' script (reported by Udo Richter). diff --git a/newplugin b/newplugin index d4d82fe8..52ef72ea 100755 --- a/newplugin +++ b/newplugin @@ -12,7 +12,7 @@ # See the main source file 'vdr.c' for copyright information and # how to reach the author. # -# $Id: newplugin 1.41 2008/01/13 13:00:23 kls Exp $ +# $Id: newplugin 2.1 2009/12/06 15:31:58 kls Exp $ $PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin \n"; @@ -104,6 +104,8 @@ INCLUDES += -I\$(VDRDIR)/include DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"\$(PLUGIN)"' +DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE + ### The object files (add further files here): OBJS = \$(PLUGIN).o