mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 22:00:31 -04:00
* Changed to SDL 2.0. This also allows the window to be scaled to an arbitrary size, and doesn't change the desktop resolution anymore when going to fullscreen. * The joystick/gamepad can now also be used in the menus and on the hub. * Updated credits and copyright notices. * Added stereo to the sound effects. * Cleaned up some graphics. * Fixed the machinegun sound. * Fixed the behaviour of grenades. * Many small fixes. - Take maintainership - Change USE_SDL, changed by Upstream for SDL2 - Change sed, use Makefile instead of makefile, changed by Upstream - Correct Permission - Change DOCS Option, not installation when is disabled - Change symlink to use size 48x48 - Add files/patch-Makefile and use instead of REINPLACE - Add patches files/patch-icons-blobwars.desktop and files/patch-src-headers.h - Remove obsolete patches files/patch-src__CReplayData.cpp and files/patch-src__pak.cpp, changed by upstream
14 lines
505 B
C
14 lines
505 B
C
--- src/headers.h.orig 2015-11-21 23:18:19.000000000 +0100
|
|
+++ src/headers.h 2015-12-01 17:38:16.209096616 +0100
|
|
@@ -56,11 +56,6 @@
|
|
#define textdomain(x) while(false)
|
|
#endif
|
|
|
|
-#if !defined(OpenBSD) && !defined(FreeBSD) && !defined(__APPLE__)
|
|
-static inline void strlcat(char *dest, const char *src, size_t n) { strncat(dest, src, n - 1); }
|
|
-static inline void strlcpy(char *dest, const char *src, size_t n) { strncpy(dest, src, n); dest[n - 1] = 0; }
|
|
-#endif
|
|
-
|
|
#include "defs.h"
|
|
|
|
#include "CMath.h"
|