freebsd-ports/graphics/milton/files/patch-src_system__includes.h
Alexey Dokuchaev e5a8088292 - Update `graphics/milton' to version 1.6.2
- It's written in C++11, so pull the right compiler
- Don't try to decode errnos which are never returned on FreeBSD
  and thus might not be defined with some compilers
- Fix the build on !x86 by removing unused intrinsic headers
- Add some missing USE_* components reported by stage Q/A

PR:	238021
2019-06-24 10:58:22 +00:00

19 lines
336 B
C

--- src/system_includes.h.orig 2019-06-05 15:34:53 UTC
+++ src/system_includes.h
@@ -41,14 +41,12 @@
#include <string.h>
#include <inttypes.h>
-#include <xmmintrin.h>
-#include <emmintrin.h>
#if defined(_WIN32)
#include "gl.h"
-#elif defined(__linux__)
+#elif defined(__linux__) || defined(__FreeBSD__)
#include "gl.h"