summaryrefslogtreecommitdiff
path: root/java/eclipse/files/cef-patch
diff options
context:
space:
mode:
Diffstat (limited to 'java/eclipse/files/cef-patch')
-rw-r--r--java/eclipse/files/cef-patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/java/eclipse/files/cef-patch b/java/eclipse/files/cef-patch
new file mode 100644
index 000000000000..7ffd86d8053d
--- /dev/null
+++ b/java/eclipse/files/cef-patch
@@ -0,0 +1,24 @@
+diff -ruN ../cef_binary_3.3071.1649.g98725e6_linux64_minimal.orig/cmake/cef_variables.cmake ./cmake/cef_variables.cmake
+--- ../cef_binary_3.3071.1649.g98725e6_linux64_minimal.orig/cmake/cef_variables.cmake 2017-07-19 17:50:42.000000000 +1200
++++ ./cmake/cef_variables.cmake 2020-10-02 14:38:13.438964000 +1300
+@@ -16,7 +16,7 @@
+ if("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
+ set(OS_MACOSX 1)
+ set(OS_POSIX 1)
+-elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
++elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "FreeBSD")
+ set(OS_LINUX 1)
+ set(OS_POSIX 1)
+ elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
+diff -ruN ../cef_binary_3.3071.1649.g98725e6_linux64_minimal.orig/include/base/cef_build.h ./include/base/cef_build.h
+--- ../cef_binary_3.3071.1649.g98725e6_linux64_minimal.orig/include/base/cef_build.h 2017-07-19 17:50:42.000000000 +1200
++++ ./include/base/cef_build.h 2020-10-02 14:43:29.023692000 +1300
+@@ -47,7 +47,7 @@
+ #ifndef OS_MACOSX
+ #define OS_MACOSX 1
+ #endif
+-#elif defined(__linux__)
++#elif defined(__linux__) || defined(__FreeBSD__)
+ #ifndef OS_LINUX
+ #define OS_LINUX 1
+ #endif