- Update to 1.2.7
- Got rid of library renaming as done for devel/sdl12 PR: 117797 Submitted by: Marcus von Appen <mva@sysfault.org>
This commit is contained in:
parent
86d2132937
commit
278c1a98a9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=208951
6 changed files with 8 additions and 46 deletions
|
@ -6,15 +6,15 @@
|
|||
#
|
||||
|
||||
PORTNAME= sdl_net
|
||||
PORTVERSION= 1.2.6
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 1.2.7
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.libsdl.org/projects/SDL_net/release/
|
||||
DISTNAME= SDL_net-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= mva@sysfault.org
|
||||
COMMENT= A small sample cross-platform networking library
|
||||
|
||||
USE_AUTOTOOLS= libtool:15
|
||||
USE_SDL= sdl
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (SDL_net-1.2.6.tar.gz) = 7be5b9ef36129ee187ace96906cd264c
|
||||
SHA256 (SDL_net-1.2.6.tar.gz) = 1a4b1a9e63e3cb6a9d482c7fecb0da0edb5b285d06e221cdabdbd421e747554b
|
||||
SIZE (SDL_net-1.2.6.tar.gz) = 372116
|
||||
MD5 (SDL_net-1.2.7.tar.gz) = 6bd4662d1423810f3140d4da21b6d912
|
||||
SHA256 (SDL_net-1.2.7.tar.gz) = 2ce7c84e62ff8117b9f205758bcce68ea603e08bc9d6936ded343735b8b77c53
|
||||
SIZE (SDL_net-1.2.7.tar.gz) = 373866
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
--- Makefile.in.orig Thu Aug 31 14:52:06 2006
|
||||
+++ Makefile.in Thu Aug 31 14:52:12 2006
|
||||
@@ -263,7 +263,6 @@
|
||||
libSDL_net_la_LIBADD = @INETLIB@
|
||||
libSDL_net_la_LDFLAGS = \
|
||||
-no-undefined \
|
||||
- -release $(LT_RELEASE) \
|
||||
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
|
||||
|
||||
@HAVE_GUI_LIB_FALSE@EXAMPLES =
|
|
@ -1,29 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- SDLnetselect.c 2001/07/25 09:44:01 1.1
|
||||
+++ SDLnetselect.c 2001/07/25 09:45:57
|
||||
@@ -175,6 +175,7 @@
|
||||
SOCKET maxfd;
|
||||
int retval;
|
||||
struct timeval tv;
|
||||
+ struct timeval *tmp;
|
||||
fd_set mask;
|
||||
|
||||
/* Find the largest file descriptor */
|
||||
@@ -199,8 +200,14 @@
|
||||
tv.tv_sec = timeout/1000;
|
||||
tv.tv_usec = (timeout%1000)*1000;
|
||||
|
||||
+ /* XXX: Workaround for a bug in FreeBSD - w/o it in some cases select() chews 100% CPU */
|
||||
+ if (timeout == ~0)
|
||||
+ tmp = NULL;
|
||||
+ else
|
||||
+ tmp = &tv;
|
||||
+
|
||||
/* Look! */
|
||||
- retval = select(maxfd+1, &mask, NULL, NULL, &tv);
|
||||
+ retval = select(maxfd+1, &mask, NULL, NULL, tmp);
|
||||
} while ( errno == EINTR );
|
||||
|
||||
/* Mark all file descriptors ready that have data available */
|
|
@ -1,6 +1,7 @@
|
|||
include/SDL/SDL_net.h
|
||||
lib/libSDL_net-1.2.so
|
||||
lib/libSDL_net-1.2.so.0
|
||||
lib/libSDL_net.a
|
||||
lib/libSDL_net.la
|
||||
lib/libSDL_net.so
|
||||
lib/libSDL_net.so.0
|
||||
@dirrmtry include/SDL
|
||||
|
|
Loading…
Reference in a new issue