From bd8a2f6074c740b791810e04025bc31bf14056ef Mon Sep 17 00:00:00 2001 From: Thomas Zander Date: Sun, 9 Dec 2018 07:39:29 +0000 Subject: 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 --- .../files/patch-src_osgEarthDrivers_fastdxt_libdxt.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 graphics/osgearth/files/patch-src_osgEarthDrivers_fastdxt_libdxt.cpp (limited to 'graphics/osgearth/files/patch-src_osgEarthDrivers_fastdxt_libdxt.cpp') diff --git a/graphics/osgearth/files/patch-src_osgEarthDrivers_fastdxt_libdxt.cpp b/graphics/osgearth/files/patch-src_osgEarthDrivers_fastdxt_libdxt.cpp new file mode 100644 index 000000000000..ea978ceb7e0b --- /dev/null +++ b/graphics/osgearth/files/patch-src_osgEarthDrivers_fastdxt_libdxt.cpp @@ -0,0 +1,18 @@ +--- src/osgEarthDrivers/fastdxt/libdxt.cpp.orig 2018-11-12 18:17:36 UTC ++++ src/osgEarthDrivers/fastdxt/libdxt.cpp +@@ -24,7 +24,7 @@ + + #include "libdxt.h" + +-#if defined(__APPLE__) ++#if defined(__APPLE__) || (__FreeBSD__) + #define memalign(x,y) malloc((y)) + #else + #include +@@ -92,4 +92,4 @@ int CompressDXT(const byte *in, byte *ou + // Join all the threads + nbbytes = job.nbb; + return nbbytes; +-} +\ No newline at end of file ++} -- cgit v1.2.3