app-office/calligra: 3.2.0 version bump
[gentoo.git] / app-office / calligra / files / calligra-3.1.89-no-arch-detection.patch
diff --git a/app-office/calligra/files/calligra-3.1.89-no-arch-detection.patch b/app-office/calligra/files/calligra-3.1.89-no-arch-detection.patch
new file mode 100644 (file)
index 0000000..f4efa3d
--- /dev/null
@@ -0,0 +1,17 @@
+Avoid automagic CXXFLAG detection courtesy of dev-libs/vc.
+
+Gentoo-bug: 584118
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -617,10 +617,6 @@
+           endif()
+       endmacro()
+-      if (NOT PACKAGERS_BUILD)
+-          # Optimize the whole Calligra for current architecture
+-          set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Vc_DEFINITIONS}")
+-      endif ()
+     endif()
+     set(CMAKE_MODULE_PATH ${OLD_CMAKE_MODULE_PATH} )