diff options
-rw-r--r-- | network/udpcast/udpcast.SlackBuild | 7 | ||||
-rw-r--r-- | network/udpcast/udpcast_include.patch | 11 |
2 files changed, 16 insertions, 2 deletions
diff --git a/network/udpcast/udpcast.SlackBuild b/network/udpcast/udpcast.SlackBuild index 38cae650c54f..7ee6770223ee 100644 --- a/network/udpcast/udpcast.SlackBuild +++ b/network/udpcast/udpcast.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for udpcast -# Copyright 2007-2012 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2007-2013 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=udpcast VERSION=20120424 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -65,6 +65,9 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . +# Fix missing include +patch -p1 -i $CWD/udpcast_include.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/network/udpcast/udpcast_include.patch b/network/udpcast/udpcast_include.patch new file mode 100644 index 000000000000..b911950408a4 --- /dev/null +++ b/network/udpcast/udpcast_include.patch @@ -0,0 +1,11 @@ +--- a/console.h 2013-02-21 16:12:39.418426558 +0100 ++++ b/console.h 2013-02-21 16:12:26.998596846 +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 |