- Fix plugin arg parsing (-e).

- Bump PORTREVISION.
This commit is contained in:
Juergen Lock 2011-08-05 22:27:42 +00:00
parent 6c56395fa6
commit 5d06f18a7c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=278982
2 changed files with 12 additions and 0 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= vdr-plugin-sleeptimer
PORTVERSION= 0.8.2
PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://projects.vdr-developer.org/attachments/download/652/
EXTRACT_SUFX= .tgz

View file

@ -0,0 +1,11 @@
--- a/sleeptimer.c
+++ b/sleeptimer.c
@@ -165,6 +165,8 @@ bool cPluginSleeptimer::ProcessArgs(int
{
// Implement command line argument processing here if applicable.
int c;
+ if (!strcmp(*argv, "sleeptimer"))
+ ++argv, --argc;
while((c = getopt(argc, argv, "e:")) != -1 ) {
switch(c) {
case 'e':