summaryrefslogtreecommitdiff
path: root/graphics/osgearth/files/patch-src_osgEarthDrivers_fastdxt_util.h
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2018-12-09 07:39:29 +0000
committerThomas Zander <riggs@FreeBSD.org>2018-12-09 07:39:29 +0000
commitbd8a2f6074c740b791810e04025bc31bf14056ef (patch)
tree86249cf8d7210103285dd018c17bd77aff622b1b /graphics/osgearth/files/patch-src_osgEarthDrivers_fastdxt_util.h
parentpalm/jpilot: Build with Clang (diff)
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
Diffstat (limited to 'graphics/osgearth/files/patch-src_osgEarthDrivers_fastdxt_util.h')
-rw-r--r--graphics/osgearth/files/patch-src_osgEarthDrivers_fastdxt_util.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/osgearth/files/patch-src_osgEarthDrivers_fastdxt_util.h b/graphics/osgearth/files/patch-src_osgEarthDrivers_fastdxt_util.h
new file mode 100644
index 000000000000..4c51babc9b43
--- /dev/null
+++ b/graphics/osgearth/files/patch-src_osgEarthDrivers_fastdxt_util.h
@@ -0,0 +1,11 @@
+--- 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>