1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/graphics/osgearth/files/extra-patch-i386
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

22 lines
587 B
Plaintext

--- src/osgEarthDrivers/fastdxt/CMakeLists.txt.orig 2018-11-12 18:17:36 UTC
+++ src/osgEarthDrivers/fastdxt/CMakeLists.txt
@@ -30,7 +30,6 @@ SET(TARGET_SRC
dxt.cpp
util.cpp
libdxt.cpp
- intrinsic.cpp
)
SETUP_PLUGIN(fastdxt)
--- src/osgEarthDrivers/fastdxt/dxt.cpp.orig 2018-11-12 18:17:36 UTC
+++ src/osgEarthDrivers/fastdxt/dxt.cpp
@@ -7,7 +7,7 @@
#include "util.h"
-#define DXT_INTR 1
+#define DXT_INTR 0
void ExtractBlock( const byte *inPtr, int width, byte *colorBlock );
void ExtractBlock_Intrinsics( const byte *inPtr, int width, byte *colorBlock );