aboutsummaryrefslogtreecommitdiffstats
path: root/main/dvgrab/musl-fixes.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-04-02 14:16:17 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-04-02 14:16:17 +0000
commit35e723d1b4c7b57daad8977074621c57f5bdeedc (patch)
treeab9ca5c346bc2f6c89269d2d9e4e0f861495bc93 /main/dvgrab/musl-fixes.patch
parente691ba4ff9d35731480a4eadf24a1390853929e1 (diff)
downloadaports-35e723d1b4c7b57daad8977074621c57f5bdeedc.tar.bz2
aports-35e723d1b4c7b57daad8977074621c57f5bdeedc.tar.xz
main/dvgrab: build fix for musl
Diffstat (limited to 'main/dvgrab/musl-fixes.patch')
-rw-r--r--main/dvgrab/musl-fixes.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/main/dvgrab/musl-fixes.patch b/main/dvgrab/musl-fixes.patch
new file mode 100644
index 0000000000..795530836c
--- /dev/null
+++ b/main/dvgrab/musl-fixes.patch
@@ -0,0 +1,24 @@
+--- ./error.h.orig 2014-04-02 14:09:23.163839471 +0000
++++ ./error.h 2014-04-02 14:14:07.630616871 +0000
+@@ -22,6 +22,10 @@
+
+ #include <stdarg.h>
+
++#if !defined(__ASSERT_FUNCTION)
++#define __ASSERT_FUNCTION __func__
++#endif
++
+ #ifdef __cplusplus
+ extern "C"
+ {
+--- ./io.c.orig 2014-04-02 14:14:29.104210187 +0000
++++ ./io.c 2014-04-02 14:14:59.264575341 +0000
+@@ -31,6 +31,8 @@
+ #include <termios.h>
+ #include <unistd.h>
+
++#include <sys/time.h>
++
+ /* Application header files */
+ #include "io.h"
+