aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vdr-plugin-epgsearch
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2013-09-13 19:20:11 +0000
committerJuergen Lock <nox@FreeBSD.org>2013-09-13 19:20:11 +0000
commit7d8da732bd1b84ad48051821a5c744e4744a84d3 (patch)
treee75ceaf02b4a26a96aa84b27fc9ec3801720dc7c /multimedia/vdr-plugin-epgsearch
parent6e960d6b60613ff12e689a096232892959e679e3 (diff)
downloadports-7d8da732bd1b84ad48051821a5c744e4744a84d3.tar.gz
ports-7d8da732bd1b84ad48051821a5c744e4744a84d3.zip
- Fix bug uncovered by recent clang.
- Bump PORTREVISION. Reported by: beefy2 via pkg-fallout
Notes
Notes: svn path=/head/; revision=327178
Diffstat (limited to 'multimedia/vdr-plugin-epgsearch')
-rw-r--r--multimedia/vdr-plugin-epgsearch/Makefile2
-rw-r--r--multimedia/vdr-plugin-epgsearch/files/patch-isnumber30
2 files changed, 31 insertions, 1 deletions
diff --git a/multimedia/vdr-plugin-epgsearch/Makefile b/multimedia/vdr-plugin-epgsearch/Makefile
index a2cba558ab29..f95765849601 100644
--- a/multimedia/vdr-plugin-epgsearch/Makefile
+++ b/multimedia/vdr-plugin-epgsearch/Makefile
@@ -3,7 +3,7 @@
PORTNAME= vdr-plugin-epgsearch
PORTVERSION= 1.0.1s20120322
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= multimedia
MASTER_SITES= http://winni.vdr-developer.org/epgsearch/downloads/beta/:beta \
LOCAL/nox/:snapshot
diff --git a/multimedia/vdr-plugin-epgsearch/files/patch-isnumber b/multimedia/vdr-plugin-epgsearch/files/patch-isnumber
new file mode 100644
index 000000000000..edc5904c529a
--- /dev/null
+++ b/multimedia/vdr-plugin-epgsearch/files/patch-isnumber
@@ -0,0 +1,30 @@
+--- a/epgsearchext.c
++++ b/epgsearchext.c
+@@ -39,6 +39,12 @@ The project's page is at http://winni.vd
+ #include "blacklist.h"
+ #include <math.h>
+
++#ifdef __FreeBSD__
++#ifdef isnumber
++#undef isnumber
++#endif
++#endif
++
+ cSearchExts SearchExts;
+ cSearchExts SearchTemplates;
+
+--- a/epgsearchsvdrp.c
++++ b/epgsearchsvdrp.c
+@@ -40,6 +40,12 @@ The project's page is at http://winni.vd
+ #include "conflictcheck.h"
+ #include "menu_main.h"
+
++#ifdef __FreeBSD__
++#ifdef isnumber
++#undef isnumber
++#endif
++#endif
++
+ using std::string;
+ using std::set;
+