From 676abc6970aa6853a0220206c174be170bee3070 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Wed, 21 Dec 2016 21:38:28 +0100 Subject: x11-misc/slop: add new package Closes: https://github.com/gentoo/gentoo/pull/2796 --- x11-misc/slop/files/slop-4.3.21-no-cppcheck.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 x11-misc/slop/files/slop-4.3.21-no-cppcheck.patch (limited to 'x11-misc/slop/files/slop-4.3.21-no-cppcheck.patch') diff --git a/x11-misc/slop/files/slop-4.3.21-no-cppcheck.patch b/x11-misc/slop/files/slop-4.3.21-no-cppcheck.patch new file mode 100644 index 000000000000..f92c57f977df --- /dev/null +++ b/x11-misc/slop/files/slop-4.3.21-no-cppcheck.patch @@ -0,0 +1,20 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 361f930..0982647 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -33,15 +33,6 @@ else() + message( FATAL_ERROR "Your operating system isn't supported yet! CMake will now exit." ) + endif() + +-# Add a check target for our makefile. +-find_program( CPPCHECK_EXECUTABLE cppcheck +- DOC "A tool for static C/C++ code analysis." ) +-if (CPPCHECK_EXECUTABLE) +- add_custom_target( "check" +- COMMAND "${CPPCHECK_EXECUTABLE}" "--enable=all" "*" +- WORKING_DIRECTORY src VERBATIM ) +-endif() +- + # Here we generate some of our code if we can. I package it pre-generated + # so nobody has to go find and install gengetopt if they don't want to. + find_program( GENGETOPT_EXECUTABLE gengetopt -- cgit v1.2.3