diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-12-11 14:23:16 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-12-11 14:23:16 +0000 |
commit | e1ef7f6b8f086a7fdd98c9edbedb897faa6e076c (patch) | |
tree | 907361069231f9c55765c3e825b44ae2371a9d8d /games/bzflag/files | |
parent | 64b3fe8cd69a1f3d3328fabd3d4cd81be74e16ee (diff) | |
download | ports-e1ef7f6b8f086a7fdd98c9edbedb897faa6e076c.tar.gz ports-e1ef7f6b8f086a7fdd98c9edbedb897faa6e076c.zip |
Notes
Diffstat (limited to 'games/bzflag/files')
-rw-r--r-- | games/bzflag/files/patch-ServerLink.cxx | 11 | ||||
-rw-r--r-- | games/bzflag/files/patch-configure | 20 | ||||
-rw-r--r-- | games/bzflag/files/patch-configure.in | 36 | ||||
-rw-r--r-- | games/bzflag/files/patch-src::bzadmin::CursesUI.cxx | 14 | ||||
-rw-r--r-- | games/bzflag/files/patch-src::bzadmin::StdBothUI.cxx | 10 | ||||
-rw-r--r-- | games/bzflag/files/patch-src::bzflag::HUDRenderer.cxx | 11 | ||||
-rw-r--r-- | games/bzflag/files/patch-src::bzflag::Makefile.in | 28 |
7 files changed, 83 insertions, 47 deletions
diff --git a/games/bzflag/files/patch-ServerLink.cxx b/games/bzflag/files/patch-ServerLink.cxx deleted file mode 100644 index c8c3e3f6f40e..000000000000 --- a/games/bzflag/files/patch-ServerLink.cxx +++ /dev/null @@ -1,11 +0,0 @@ ---- src/bzflag/ServerLink.cxx.orig Sat Jan 26 09:26:30 2002 -+++ src/bzflag/ServerLink.cxx Sat Jan 26 09:25:55 2002 -@@ -781,7 +781,7 @@ - if ((urecvfd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) { - return; // we cannot comply - } -- for (int portno=17200; portno < 65000; portno++) { -+ for (int portno=49152; portno < 65535; portno++) { - ::memset((unsigned char *)&serv_addr, 0, sizeof(serv_addr)); - serv_addr.sin_family = AF_INET; - serv_addr.sin_addr.s_addr = htonl(INADDR_ANY); diff --git a/games/bzflag/files/patch-configure b/games/bzflag/files/patch-configure new file mode 100644 index 000000000000..18ca2c3bd06a --- /dev/null +++ b/games/bzflag/files/patch-configure @@ -0,0 +1,20 @@ +--- configure.orig Tue Dec 9 17:08:21 2003 ++++ configure Thu Dec 11 00:55:53 2003 +@@ -2515,7 +2515,7 @@ + fi + + +-LDFLAGS=$X_LIBS ++LDFLAGS="$X_LIBS $LDFLAGS" + case $host_os in + solaris*) + GLIBS="-lresolv -laudio $GLIBS"; +@@ -2724,7 +2724,7 @@ + + # avoid using X11 in BeOS + if test $host_os != beos; then +- CPPFLAGS= ++ CPPFLAGS="$X_CFLAGS $CPPFLAGS" + if test x$no_x = x; then + GLIBS="$X_PRE_LIBS -lX11 $EXTRA_LIBS $GLIBS" + fi diff --git a/games/bzflag/files/patch-configure.in b/games/bzflag/files/patch-configure.in deleted file mode 100644 index db1c60286413..000000000000 --- a/games/bzflag/files/patch-configure.in +++ /dev/null @@ -1,36 +0,0 @@ ---- configure.in.orig Wed Jun 18 04:24:08 2003 -+++ configure.in Tue Jun 24 15:07:16 2003 -@@ -20,7 +20,14 @@ - - #Checks for types - #AM_CHECK_TYPES(socklen_t) --AC_TRY_COMPILE([#include <unistd.h>], [socklen_t a;], [AC_DEFINE(HAVE_SOCKLEN_T)]) -+AC_TRY_COMPILE([ -+#include <sys/types.h> -+#include <sys/socket.h> -+], [ -+socklen_t a; -+], [ -+AC_DEFINE(HAVE_SOCKLEN_T) -+]) - - AC_CANONICAL_HOST - AM_CONDITIONAL(LINUX, test x$host_os = xlinux-gnu) -@@ -86,7 +93,7 @@ - - AC_PATH_XTRA - --LDFLAGS=$X_LIBS -+LDFLAGS="$X_LIBS $LDFLAGS" - case $host_os in - solaris*) - GLIBS="-lresolv -laudio $GLIBS"; -@@ -98,7 +105,7 @@ - - AC_CHECK_LIB(m, sqrtf) - --CPPFLAGS= -+CPPFLAGS="$X_CFLAGS $CPPFLAGS" - if test x$X_DISPLAY_MISSING = x; then - GLIBS="$X_PRE_LIBS -lX11 $EXTRA_LIBS $GLIBS" - fi diff --git a/games/bzflag/files/patch-src::bzadmin::CursesUI.cxx b/games/bzflag/files/patch-src::bzadmin::CursesUI.cxx new file mode 100644 index 000000000000..5edae51283fb --- /dev/null +++ b/games/bzflag/files/patch-src::bzadmin::CursesUI.cxx @@ -0,0 +1,14 @@ +--- src/bzadmin/CursesUI.cxx.orig Tue Dec 9 16:31:33 2003 ++++ src/bzadmin/CursesUI.cxx Thu Dec 11 01:44:31 2003 +@@ -232,7 +232,11 @@ + + + void CursesUI::handleResize(int lines, int cols) { ++#ifdef __FreeBSD__ ++ resizeterm(lines, cols); ++#else + resize_term(lines, cols); ++#endif + mvwin(targetWin, lines - 2, 0); + wresize(targetWin, 1, cols); + mvwin(cmdWin, lines - 1, 0); diff --git a/games/bzflag/files/patch-src::bzadmin::StdBothUI.cxx b/games/bzflag/files/patch-src::bzadmin::StdBothUI.cxx new file mode 100644 index 000000000000..21da592d4715 --- /dev/null +++ b/games/bzflag/files/patch-src::bzadmin::StdBothUI.cxx @@ -0,0 +1,10 @@ +--- src/bzadmin/StdBothUI.cxx.orig Tue Dec 9 16:38:14 2003 ++++ src/bzadmin/StdBothUI.cxx Thu Dec 11 01:25:29 2003 +@@ -20,6 +20,7 @@ + #include <ws2tcpip.h> + #include <wincon.h> + #else ++#include <sys/types.h> + #include <sys/select.h> + #endif + diff --git a/games/bzflag/files/patch-src::bzflag::HUDRenderer.cxx b/games/bzflag/files/patch-src::bzflag::HUDRenderer.cxx new file mode 100644 index 000000000000..5a073f713fee --- /dev/null +++ b/games/bzflag/files/patch-src::bzflag::HUDRenderer.cxx @@ -0,0 +1,11 @@ +--- src/bzflag/HUDRenderer.cxx.orig Tue Dec 9 16:38:59 2003 ++++ src/bzflag/HUDRenderer.cxx Thu Dec 11 00:58:54 2003 +@@ -11,7 +11,7 @@ + */ + + // system headers +-#if !defined(__APPLE__) ++#if !defined(__APPLE__) && !defined(__FreeBSD__) + #include <malloc.h> + #endif + #include <stdio.h> diff --git a/games/bzflag/files/patch-src::bzflag::Makefile.in b/games/bzflag/files/patch-src::bzflag::Makefile.in new file mode 100644 index 000000000000..1e5a952981a9 --- /dev/null +++ b/games/bzflag/files/patch-src::bzflag::Makefile.in @@ -0,0 +1,28 @@ +--- src/bzflag/Makefile.in.orig Wed Dec 10 09:09:45 2003 ++++ src/bzflag/Makefile.in Thu Dec 11 02:09:15 2003 +@@ -168,7 +168,6 @@ + @MACOS_FALSE@ ../scene/libSceneDB.a \ + @MACOS_FALSE@ ../geometry/libGeometry.a \ + @MACOS_FALSE@ ../mediafile/libMediaFile.a \ +-@MACOS_FALSE@ ../zlib/libz.a \ + @MACOS_FALSE@ $(RESOURCE) \ + @MACOS_FALSE@ $(GLIBS) + # This is required to hook in ogg/vorbis libraries +@@ -176,7 +175,7 @@ + + AM_CPPFLAGS = $(X_CFLAGS) + +-bzflag_LDFLAGS = ../date/buildDate.o ++bzflag_LDFLAGS = ../date/buildDate.o -lz + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_HEADER = ../../include/config.h + CONFIG_CLEAN_FILES = +@@ -207,7 +206,7 @@ + @MACOS_FALSE@../common/libCommon.a ../obstacle/libObstacle.a \ + @MACOS_FALSE@../platform/libPlatform.a ../ogl/libGLKit.a \ + @MACOS_FALSE@../scene/libSceneDB.a ../geometry/libGeometry.a \ +-@MACOS_FALSE@../mediafile/libMediaFile.a ../zlib/libz.a ++@MACOS_FALSE@../mediafile/libMediaFile.a + CXXFLAGS = @CXXFLAGS@ + CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) + CXXLD = $(CXX) |