summarylogtreecommitdiffstats
path: root/cmake.patch
diff options
context:
space:
mode:
authorDylan Delgado2021-01-13 20:04:15 -0500
committerDylan Delgado2021-01-13 20:04:15 -0500
commit84699c0f962c4fde6f2328195a6eb86213b59e92 (patch)
treee2fd6ccf494286ad4764c9ca9f2e4f79f2afa9d3 /cmake.patch
downloadaur-84699c0f962c4fde6f2328195a6eb86213b59e92.tar.gz
Initial commit, based on version 0.9.1.2
Diffstat (limited to 'cmake.patch')
-rw-r--r--cmake.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/cmake.patch b/cmake.patch
new file mode 100644
index 000000000000..03af4e018872
--- /dev/null
+++ b/cmake.patch
@@ -0,0 +1,20 @@
+diff --unified --recursive --text browservice-0.9.1.2/setup_cef.sh browservice-patch/setup_cef.sh
+--- browservice-0.9.1.2/setup_cef.sh 2020-11-21 05:38:52.000000000 -0500
++++ browservice-patch/setup_cef.sh 2021-01-13 16:55:27.846282188 -0500
+@@ -18,13 +18,13 @@
+
+ if [ "$ARCH" == "x86_64" ] || [[ "$ARCH" =~ ^i[3-7]86$ ]]
+ then
+- CMAKEFLAGS=""
++ CMAKEFLAGS="-DCEF_COMPILER_FLAGS=-Wno-error=cpp"
+ elif [ "$ARCH" == "armv7l" ]
+ then
+- CMAKEFLAGS="-DPROJECT_ARCH=arm"
++ CMAKEFLAGS="-DPROJECT_ARCH=arm -DCEF_COMPILER_FLAGS=-Wno-error=cpp"
+ elif [ "$ARCH" == "aarch64" ]
+ then
+- CMAKEFLAGS="-DPROJECT_ARCH=arm64"
++ CMAKEFLAGS="-DPROJECT_ARCH=arm64 -DCEF_COMPILER_FLAGS=-Wno-error=cpp"
+ else
+ echo "Unsupported architecture"
+ exit 1