summaryrefslogtreecommitdiff
path: root/devel/cppcheck/files
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2018-06-19 13:44:20 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2018-06-19 13:44:20 +0000
commit5a7e5c39cf58df9a5e00f304d3e8505543f5263d (patch)
treea152695c95413282d0724f8d62ae8823c386a750 /devel/cppcheck/files
parentRevert r472760 and instead use upstream git commit (diff)
- Regenerate patches, as patching fails in some cases (could not reproduce though)
PR: 229005 Reported by: rozhuk.im@gmail.com
Diffstat (limited to 'devel/cppcheck/files')
-rw-r--r--devel/cppcheck/files/patch-CMakeLists.txt4
-rw-r--r--devel/cppcheck/files/patch-gui_CMakeLists.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/devel/cppcheck/files/patch-CMakeLists.txt b/devel/cppcheck/files/patch-CMakeLists.txt
index 61e1bc259341..36b0eed24a47 100644
--- a/devel/cppcheck/files/patch-CMakeLists.txt
+++ b/devel/cppcheck/files/patch-CMakeLists.txt
@@ -1,8 +1,8 @@
---- CMakeLists.txt.orig 2017-10-07 21:11:39 UTC
+--- CMakeLists.txt.orig 2018-06-10 20:41:03 UTC
+++ CMakeLists.txt
@@ -1,4 +1,4 @@
-project(CppCheck)
+project(cppcheck)
- cmake_minimum_required(VERSION 2.8.4)
+ cmake_minimum_required(VERSION 2.8.11)
include(GNUInstallDirs)
diff --git a/devel/cppcheck/files/patch-gui_CMakeLists.txt b/devel/cppcheck/files/patch-gui_CMakeLists.txt
index 045a0c7646ad..c992c1078fc6 100644
--- a/devel/cppcheck/files/patch-gui_CMakeLists.txt
+++ b/devel/cppcheck/files/patch-gui_CMakeLists.txt
@@ -1,7 +1,7 @@
---- gui/CMakeLists.txt.orig 2017-10-07 21:11:39 UTC
+--- gui/CMakeLists.txt.orig 2018-06-10 20:41:03 UTC
+++ gui/CMakeLists.txt
@@ -27,7 +27,7 @@ if (BUILD_GUI)
- qt5_use_modules(cppcheck-gui ${GUI_QT_COMPONENTS})
+ target_link_libraries(cppcheck-gui Qt5::Core Qt5::Gui Qt5::Widgets Qt5::PrintSupport)
install(TARGETS cppcheck-gui RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR} COMPONENT applications)
- install(FILES ${qms} DESTINATION ${CMAKE_INSTALL_FULL_BINDIR} COMPONENT applications)