From 13ca35d735c778e253b60c05151bec5008b3b7ef Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Thu, 9 Nov 2017 20:09:18 +0000 Subject: Fix the context of some patches so that they apply with stricter patch(1) PR: 223545 With hat: portmgr --- devel/cppcheck/files/patch-CMakeLists.txt | 4 ++-- devel/cppcheck/files/patch-gui_CMakeLists.txt | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'devel/cppcheck') diff --git a/devel/cppcheck/files/patch-CMakeLists.txt b/devel/cppcheck/files/patch-CMakeLists.txt index a51c9ac7b367..61e1bc259341 100644 --- a/devel/cppcheck/files/patch-CMakeLists.txt +++ b/devel/cppcheck/files/patch-CMakeLists.txt @@ -1,8 +1,8 @@ ---- CMakeLists.txt.orig 2017-05-13 09:27:11 UTC +--- CMakeLists.txt.orig 2017-10-07 21:11:39 UTC +++ CMakeLists.txt @@ -1,4 +1,4 @@ -project(CppCheck) +project(cppcheck) - cmake_minimum_required(VERSION 2.8) + cmake_minimum_required(VERSION 2.8.4) include(GNUInstallDirs) diff --git a/devel/cppcheck/files/patch-gui_CMakeLists.txt b/devel/cppcheck/files/patch-gui_CMakeLists.txt index aff4c31501b0..045a0c7646ad 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-05-13 09:27:11 UTC +--- gui/CMakeLists.txt.orig 2017-10-07 21:11:39 UTC +++ gui/CMakeLists.txt -@@ -29,7 +29,7 @@ if (BUILD_GUI) - +@@ -27,7 +27,7 @@ if (BUILD_GUI) + qt5_use_modules(cppcheck-gui ${GUI_QT_COMPONENTS}) install(TARGETS cppcheck-gui RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR} COMPONENT applications) - install(FILES ${qms} DESTINATION ${CMAKE_INSTALL_FULL_BINDIR} COMPONENT applications) -- cgit v1.2.3