ports/graphics/osgearth/files/patch-src_osgEarthDrivers_fastdxt_util.h
Thomas Zander bd8a2f6074 Update to upstream version 2.10
Details:
- Update to upstream version 2.10
- Disable the unconditional dependency on SSE-optimized routines
  on i386, as it (1) results in build failures and (2) there are
  non-SSE-capable i386 CPUs in use in the FreeBSD community, thus
  the default package cannot depend on it.

PR:		233491
Submitted by:	lbartoletti@tuxfamily.org (maintainer)
Reviewed by:	riggs
2018-12-09 07:39:29 +00:00

11 lines
319 B
C

--- src/osgEarthDrivers/fastdxt/util.h.orig 2018-11-18 08:00:00 UTC
+++ src/osgEarthDrivers/fastdxt/util.h
@@ -64,7 +64,7 @@ void aFree(void* const p);
float drand48(void);
#endif
-#if defined(__APPLE__)
+#if defined(__APPLE__) || defined(__FreeBSD__)
#define memalign(x,y) malloc((y))
#else
#include <malloc.h>