From 649685259c5bf0ab4b43aa2233a4397f0636b9af Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Sat, 16 Nov 2013 18:46:03 +0100 Subject: network/udpcast: Add patch for missing include. Signed-off-by: Heinz Wiesinger --- network/udpcast/udpcast.SlackBuild | 7 +++++-- network/udpcast/udpcast_include.patch | 11 +++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 network/udpcast/udpcast_include.patch (limited to 'network') diff --git a/network/udpcast/udpcast.SlackBuild b/network/udpcast/udpcast.SlackBuild index 38cae650c5..7ee6770223 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 0000000000..b911950408 --- /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 + #endif /* __MINGW32__ */ + ++#include ++ + #define prepareConsole udpc_prepareConsole + #define getConsoleFd udpc_getConsoleFd + #define restoreConsole udpc_restoreConsole -- cgit v1.2.3