aboutsummaryrefslogtreecommitdiffstats
path: root/community/vdr/include-missing-limits.patch
diff options
context:
space:
mode:
authorStefan Reiff <kroko87@hotmail.com>2019-05-12 20:38:56 +0200
committerKevin Daudt <kdaudt@alpinelinux.org>2019-05-12 18:45:42 +0000
commitf4e6ce7f7d97814be2dcee35472176fff98b288c (patch)
tree23271c3b73a2297f3279bac0013252b229a187ae /community/vdr/include-missing-limits.patch
parent47965644c390b1be1117769b1e08b31858267e9a (diff)
downloadaports-f4e6ce7f7d97814be2dcee35472176fff98b288c.tar.bz2
aports-f4e6ce7f7d97814be2dcee35472176fff98b288c.tar.xz
community/vdr: move from testing
Diffstat (limited to 'community/vdr/include-missing-limits.patch')
-rw-r--r--community/vdr/include-missing-limits.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/community/vdr/include-missing-limits.patch b/community/vdr/include-missing-limits.patch
new file mode 100644
index 0000000000..9ce9b3e5cc
--- /dev/null
+++ b/community/vdr/include-missing-limits.patch
@@ -0,0 +1,25 @@
+vdr package uses some macros like HOST_NAME_MAX, NAME_MAX, which are defined
+in limits.h.
+Needs to be explicitly included on ppc64le and for all archs for debug build.
+----
+
+--- a/config.h
++++ b/config.h
+@@ -19,6 +19,7 @@
+ #include "i18n.h"
+ #include "font.h"
+ #include "tools.h"
++#include <limits.h>
+
+ // VDR's own version number:
+
+--- a/tools.c
++++ b/tools.c
+@@ -27,6 +27,7 @@
+ #include <utime.h>
+ #include "i18n.h"
+ #include "thread.h"
++#include <limits.h>
+
+ int SysLogLevel = 3;
+