network/udpcast: Updated for version 20200328
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
6f6beb4962
commit
94322c9b8d
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for udpcast
|
||||
|
||||
# Copyright 2007-2013 Heinz Wiesinger, Amsterdam, The Netherlands
|
||||
# Copyright 2007-2021 Heinz Wiesinger, Amsterdam, The Netherlands
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -11,7 +11,7 @@
|
|||
# 1. Redistributions of this script must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
|
@ -25,8 +25,8 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=udpcast
|
||||
VERSION=${VERSION:-20120424}
|
||||
BUILD=${BUILD:-2}
|
||||
VERSION=${VERSION:-20200328}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -79,9 +79,6 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# Fix missing include
|
||||
patch -p1 -i $CWD/udpcast_include.patch
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="udpcast"
|
||||
VERSION="20120424"
|
||||
VERSION="20200328"
|
||||
HOMEPAGE="http://udpcast.linux.lu"
|
||||
DOWNLOAD="http://udpcast.linux.lu/download/udpcast-20120424.tar.gz"
|
||||
MD5SUM="b9b67a577ca5659a93bcb9e43f298fb2"
|
||||
DOWNLOAD="http://udpcast.linux.lu/download/udpcast-20200328.tar.gz"
|
||||
MD5SUM="e862a18c3facd59ea016752ee1e6a85a"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
--- 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
|
Loading…
Reference in New Issue