Gentoo Archives: gentoo-commits

From: Rick Farina <zerochaos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libad9361-iio/files/
Date: Fri, 26 Feb 2021 17:32:42
Message-Id: 1614360736.ed0eb46fda8e397a79c1a78444be952524f62837.zerochaos@gentoo
1 commit: ed0eb46fda8e397a79c1a78444be952524f62837
2 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
3 AuthorDate: Fri Feb 26 16:51:42 2021 +0000
4 Commit: Rick Farina <zerochaos <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 26 17:32:16 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed0eb46f
7
8 net-libs/libad9361-iio: remove unused patch(es)
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
12 Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>
13
14 .../7206bb2a9b655be3bdb66c6cf03aa504817ed240.patch | 36 ----------------------
15 1 file changed, 36 deletions(-)
16
17 diff --git a/net-libs/libad9361-iio/files/7206bb2a9b655be3bdb66c6cf03aa504817ed240.patch b/net-libs/libad9361-iio/files/7206bb2a9b655be3bdb66c6cf03aa504817ed240.patch
18 deleted file mode 100644
19 index 6b1668f0a0e..00000000000
20 --- a/net-libs/libad9361-iio/files/7206bb2a9b655be3bdb66c6cf03aa504817ed240.patch
21 +++ /dev/null
22 @@ -1,36 +0,0 @@
23 -From 7206bb2a9b655be3bdb66c6cf03aa504817ed240 Mon Sep 17 00:00:00 2001
24 -From: Lars-Peter Clausen <lars@×××××××.de>
25 -Date: Tue, 14 Aug 2018 09:48:59 +0200
26 -Subject: [PATCH] Fix building outside git repository
27 -
28 -Currently when building the project on a machine that has git installed,
29 -but the source is not inside a git repository cmake fails with the
30 -following error.
31 -
32 - CMake Error at CMakeLists.txt:35 (if):
33 - if given arguments:
34 -
35 - "STREQUAL" "/home/lars/libad9361-iio"
36 -
37 -This is due to LIBAD9361_GIT_REPO variable being empty. In order to handle
38 -empty variables in CMake in a string comparison they need to be
39 -encapsulated in quotes.
40 -
41 -Signed-off-by: Lars-Peter Clausen <lars@×××××××.de>
42 ----
43 - CMakeLists.txt | 2 +-
44 - 1 file changed, 1 insertion(+), 1 deletion(-)
45 -
46 -diff --git a/CMakeLists.txt b/CMakeLists.txt
47 -index 7af5444..8d04ba0 100644
48 ---- a/CMakeLists.txt
49 -+++ b/CMakeLists.txt
50 -@@ -32,7 +32,7 @@ if (GIT_FOUND)
51 - OUTPUT_STRIP_TRAILING_WHITESPACE
52 - )
53 -
54 --if (${LIBAD9361_GIT_REPO} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
55 -+if ("${LIBAD9361_GIT_REPO}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
56 - execute_process(
57 - COMMAND ${GIT_EXECUTABLE} rev-parse --short HEAD
58 - WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}