freebsd-ports/multimedia/vdr-plugin-epgsearch/files/patch-isnumber
Juergen Lock 7d8da732bd - Fix bug uncovered by recent clang.
- Bump PORTREVISION.

Reported by:	beefy2 via pkg-fallout
2013-09-13 19:20:11 +00:00

30 lines
547 B
Text

--- 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;