summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2013-09-13 19:20:11 +0000
committernox <nox@FreeBSD.org>2013-09-13 19:20:11 +0000
commit62786f1d088e5b0766e266812fede24e609189de (patch)
treee75ceaf02b4a26a96aa84b27fc9ec3801720dc7c
parent237917e7f1773a92b953753e0031561db5bd9fb3 (diff)
downloadFreeBSD-ports-62786f1d088e5b0766e266812fede24e609189de.zip
FreeBSD-ports-62786f1d088e5b0766e266812fede24e609189de.tar.gz
- Fix bug uncovered by recent clang.
- Bump PORTREVISION. Reported by: beefy2 via pkg-fallout
-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 a2cba55..f957658 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 0000000..edc5904
--- /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;
+
OpenPOWER on IntegriCloud