diff options
Diffstat (limited to 'net/sdl_net/files')
-rw-r--r-- | net/sdl_net/files/patch-Makefile.in | 10 | ||||
-rw-r--r-- | net/sdl_net/files/patch-SDLnetselect.c | 29 | ||||
-rw-r--r-- | net/sdl_net/files/patch-SDLnetsys.h (renamed from net/sdl_net/files/patch-aa) | 0 |
3 files changed, 0 insertions, 39 deletions
diff --git a/net/sdl_net/files/patch-Makefile.in b/net/sdl_net/files/patch-Makefile.in deleted file mode 100644 index 93796b1512a6..000000000000 --- a/net/sdl_net/files/patch-Makefile.in +++ /dev/null @@ -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 = diff --git a/net/sdl_net/files/patch-SDLnetselect.c b/net/sdl_net/files/patch-SDLnetselect.c deleted file mode 100644 index b29640787a83..000000000000 --- a/net/sdl_net/files/patch-SDLnetselect.c +++ /dev/null @@ -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 */ diff --git a/net/sdl_net/files/patch-aa b/net/sdl_net/files/patch-SDLnetsys.h index db99084f9e97..db99084f9e97 100644 --- a/net/sdl_net/files/patch-aa +++ b/net/sdl_net/files/patch-SDLnetsys.h |