summarylogtreecommitdiffstats
path: root/gcc6.patch
diff options
context:
space:
mode:
authorJoshua Schüler2016-05-10 19:49:24 +0200
committerJoshua Schüler2016-05-10 19:49:24 +0200
commitf233e6ec1cdb40ac23678d4aab4bb7de99b6013f (patch)
tree147594a5d94fb23dcbc2b0097b4a23af807754c4 /gcc6.patch
parent430424b5d88976d6b70d2da9371d04c07729f07d (diff)
downloadaur-f233e6ec1cdb40ac23678d4aab4bb7de99b6013f.tar.gz
Add fixes for gcc 6.1, temporarily disable CUDA support
Diffstat (limited to 'gcc6.patch')
-rw-r--r--gcc6.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc6.patch b/gcc6.patch
new file mode 100644
index 000000000000..0c81ac76c9fb
--- /dev/null
+++ b/gcc6.patch
@@ -0,0 +1,11 @@
+--- opencv-2.4.12.3/cmake/OpenCVPCHSupport.cmake 2015-10-26 08:56:34.000000000 +0100
++++ opencv-2.4.12.3-patched/cmake/OpenCVPCHSupport.cmake 2016-05-10 11:35:27.976148332 +0200
+@@ -24,7 +24,7 @@
+ ENDIF()
+
+ SET(_PCH_include_prefix "-I")
+- SET(_PCH_isystem_prefix "-isystem")
++ SET(_PCH_isystem_prefix "-I")
+ SET(_PCH_define_prefix "-D")
+
+ ELSEIF(CMAKE_GENERATOR MATCHES "^Visual.*$")