freebsd-ports/multimedia/xbmc/files/patch-tools__TexturePacker__XBTFWriter.cpp
Bernhard Froehlich b7207fae88 - Update to 11.0b1
- Add fix to build fine with CLANG
- Remove USE_LDCONFIG because xbmc uses hardcoded paths

PR:		ports/163796
Submitted by:	Mickael Maillot <mickael.maillot@gmail.com> (maintainer)
2012-01-18 12:05:48 +00:00

13 lines
431 B
C++

--- ./tools/TexturePacker/XBTFWriter.cpp.orig 2011-12-23 04:12:21.000000000 +0100
+++ ./tools/TexturePacker/XBTFWriter.cpp 2012-01-02 10:14:38.000000000 +0100
@@ -24,7 +24,9 @@
#include <inttypes.h>
#include "guilib/XBTF.h"
#include "utils/EndianSwap.h"
-#if !defined(__APPLE__) && !defined(__FreeBSD__)
+#if defined(__FreeBSD__)
+#include <stdlib.h>
+#elif !defined(__APPLE__)
#include <malloc.h>
#endif
#include <memory.h>