aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2011-08-06 06:27:42 +0800
committernox <nox@FreeBSD.org>2011-08-06 06:27:42 +0800
commit7aa79dfd7fed3c917bc9a7eac95d93a6bc4de6a1 (patch)
tree648216a3a6765a8e49f267b8a512f6371d53e708
parent91eb2f8c949d43984cca8239eae0ae2ab1300c58 (diff)
downloadfreebsd-ports-gnome-7aa79dfd7fed3c917bc9a7eac95d93a6bc4de6a1.tar.gz
freebsd-ports-gnome-7aa79dfd7fed3c917bc9a7eac95d93a6bc4de6a1.tar.zst
freebsd-ports-gnome-7aa79dfd7fed3c917bc9a7eac95d93a6bc4de6a1.zip
- Fix plugin arg parsing (-e).
- Bump PORTREVISION.
-rw-r--r--multimedia/vdr-plugin-sleeptimer/Makefile1
-rw-r--r--multimedia/vdr-plugin-sleeptimer/files/patch-sleeptimer.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/multimedia/vdr-plugin-sleeptimer/Makefile b/multimedia/vdr-plugin-sleeptimer/Makefile
index 0e3dc27fce14..544561105b69 100644
--- a/multimedia/vdr-plugin-sleeptimer/Makefile
+++ b/multimedia/vdr-plugin-sleeptimer/Makefile
@@ -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
diff --git a/multimedia/vdr-plugin-sleeptimer/files/patch-sleeptimer.c b/multimedia/vdr-plugin-sleeptimer/files/patch-sleeptimer.c
new file mode 100644
index 000000000000..8fd54eb97932
--- /dev/null
+++ b/multimedia/vdr-plugin-sleeptimer/files/patch-sleeptimer.c
@@ -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':