ports/games/blobwars/files/patch-src-headers.h
Rusmir Dusko 4101d23e7c - 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
2015-12-01 18:44:25 +00:00

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"