aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vdr-plugin-iptv/files/patch-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/vdr-plugin-iptv/files/patch-common.h')
-rw-r--r--multimedia/vdr-plugin-iptv/files/patch-common.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/multimedia/vdr-plugin-iptv/files/patch-common.h b/multimedia/vdr-plugin-iptv/files/patch-common.h
deleted file mode 100644
index 4e2a3ccb5c7c..000000000000
--- a/multimedia/vdr-plugin-iptv/files/patch-common.h
+++ /dev/null
@@ -1,29 +0,0 @@
---- a/common.h
-+++ b/common.h
-@@ -36,6 +36,7 @@
-
- #define SECTION_FILTER_TABLE_SIZE 7
-
-+#ifndef __FreeBSD__
- #define ERROR_IF_FUNC(exp, errstr, func, ret) \
- do { \
- if (exp) { \
-@@ -45,6 +46,18 @@
- ret; \
- } \
- } while (0)
-+#else
-+#define ERROR_IF_FUNC(exp, errstr, func, ret) \
-+ do { \
-+ if (exp) { \
-+ char tmp[64]; \
-+ strerror_r(errno, tmp, sizeof(tmp)); \
-+ error(errstr": %s", tmp); \
-+ func; \
-+ ret; \
-+ } \
-+ } while (0)
-+#endif
-
-
- #define ERROR_IF_RET(exp, errstr, ret) ERROR_IF_FUNC(exp, errstr, ,ret);