summaryrefslogtreecommitdiff
path: root/games/blobwars/files/patch-src-headers.h
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2015-12-01 18:44:25 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2015-12-01 18:44:25 +0000
commit4101d23e7cd34f3bb5f12996e06db0e6c7df520d (patch)
tree0c95c3d785c08a7caa54cc7c8d7fce3f8338fbd6 /games/blobwars/files/patch-src-headers.h
parentChase update of devel/libburn and devel/libisofs (diff)
- Update to 2.00, announce message:
* 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
Diffstat (limited to 'games/blobwars/files/patch-src-headers.h')
-rw-r--r--games/blobwars/files/patch-src-headers.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/blobwars/files/patch-src-headers.h b/games/blobwars/files/patch-src-headers.h
new file mode 100644
index 000000000000..de109a503733
--- /dev/null
+++ b/games/blobwars/files/patch-src-headers.h
@@ -0,0 +1,14 @@
+--- 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"