udpcast: Add udpcast-select-h.patch.
authorWill Newton <will.newton@linaro.org>
Thu, 23 May 2013 13:13:20 +0000 (14:13 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 26 May 2013 19:02:17 +0000 (21:02 +0200)
This patch fixes the build on AArch64 (and potentially others).
The patch has been submitted upstream.

Signed-off-by: Will Newton <will.newton@linaro.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/udpcast/udpcast-select-h.patch [new file with mode: 0644]

diff --git a/package/udpcast/udpcast-select-h.patch b/package/udpcast/udpcast-select-h.patch
new file mode 100644 (file)
index 0000000..9a8cfc9
--- /dev/null
@@ -0,0 +1,11 @@
+--- udpcast-20120424/console.h 2005-12-22 22:59:18.000000000 +0000
++++ udpcast-20120424.mod/console.h     2013-05-22 22:22:19.835474140 +0100
+@@ -6,6 +6,8 @@
+ #include <winbase.h>
+ #endif /* __MINGW32__ */
++#include <sys/select.h>
++
+ #define prepareConsole udpc_prepareConsole
+ #define getConsoleFd udpc_getConsoleFd
+ #define restoreConsole udpc_restoreConsole