summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-12-06 15:33:06 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2009-12-06 15:33:06 +0100
commit89b5e0da050498c46e4ff9fe01c6c5e4c405bb08 (patch)
tree8faedfafd8f83440044e606fc6fd79d8871b4e1b
parent15961bb34ac8fefdeeb00b16e7116698d95be62d (diff)
downloadvdr-89b5e0da050498c46e4ff9fe01c6c5e4c405bb08.tar.gz
vdr-89b5e0da050498c46e4ff9fe01c6c5e4c405bb08.tar.bz2
Added defines for large files to the 'newplugin' script
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY1
-rwxr-xr-xnewplugin4
3 files changed, 5 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 5b43b1ef..eb77f68b 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -1651,6 +1651,7 @@ Udo Richter <udo_richter@gmx.de>
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 <svenk@kammer.uni-hannover.de>
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 <name>\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