mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Fix plugin arg parsing (-e).
- Bump PORTREVISION.
This commit is contained in:
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
|
@ -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
|
||||
|
|
11
multimedia/vdr-plugin-sleeptimer/files/patch-sleeptimer.c
Normal file
11
multimedia/vdr-plugin-sleeptimer/files/patch-sleeptimer.c
Normal 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':
|
Loading…
Add table
Reference in a new issue