commit: ed0eb46fda8e397a79c1a78444be952524f62837 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> AuthorDate: Fri Feb 26 16:51:42 2021 +0000 Commit: Rick Farina <zerochaos <AT> gentoo <DOT> org> CommitDate: Fri Feb 26 17:32:16 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed0eb46f
net-libs/libad9361-iio: remove unused patch(es) Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org> .../7206bb2a9b655be3bdb66c6cf03aa504817ed240.patch | 36 ---------------------- 1 file changed, 36 deletions(-) diff --git a/net-libs/libad9361-iio/files/7206bb2a9b655be3bdb66c6cf03aa504817ed240.patch b/net-libs/libad9361-iio/files/7206bb2a9b655be3bdb66c6cf03aa504817ed240.patch deleted file mode 100644 index 6b1668f0a0e..00000000000 --- a/net-libs/libad9361-iio/files/7206bb2a9b655be3bdb66c6cf03aa504817ed240.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 7206bb2a9b655be3bdb66c6cf03aa504817ed240 Mon Sep 17 00:00:00 2001 -From: Lars-Peter Clausen <[email protected]> -Date: Tue, 14 Aug 2018 09:48:59 +0200 -Subject: [PATCH] Fix building outside git repository - -Currently when building the project on a machine that has git installed, -but the source is not inside a git repository cmake fails with the -following error. - - CMake Error at CMakeLists.txt:35 (if): - if given arguments: - - "STREQUAL" "/home/lars/libad9361-iio" - -This is due to LIBAD9361_GIT_REPO variable being empty. In order to handle -empty variables in CMake in a string comparison they need to be -encapsulated in quotes. - -Signed-off-by: Lars-Peter Clausen <[email protected]> ---- - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 7af5444..8d04ba0 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -32,7 +32,7 @@ if (GIT_FOUND) - OUTPUT_STRIP_TRAILING_WHITESPACE - ) - --if (${LIBAD9361_GIT_REPO} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}) -+if ("${LIBAD9361_GIT_REPO}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}") - execute_process( - COMMAND ${GIT_EXECUTABLE} rev-parse --short HEAD - WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
