commit: 00bbf0c356f09a4d480db8e86ca81a81f532937c Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com> AuthorDate: Wed Jan 25 19:46:41 2017 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Thu Jan 26 22:36:39 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00bbf0c3
net-misc/grive: remove unused patch Closes: https://github.com/gentoo/gentoo/pull/3647 net-misc/grive/files/grive-0.2.0-check-bfd.h.patch | 36 ---------------------- 1 file changed, 36 deletions(-) diff --git a/net-misc/grive/files/grive-0.2.0-check-bfd.h.patch b/net-misc/grive/files/grive-0.2.0-check-bfd.h.patch deleted file mode 100644 index 4acf29a..00000000 --- a/net-misc/grive/files/grive-0.2.0-check-bfd.h.patch +++ /dev/null @@ -1,36 +0,0 @@ -https://github.com/Grive/grive/pull/144 - -From e2950364da813a5b27eab90c51cbea69fb3fd1f9 Mon Sep 17 00:00:00 2001 -From: Christoph Junghans <[email protected]> -Date: Fri, 2 Nov 2012 21:56:41 -0600 -Subject: [PATCH] Check if bfd.h can be included (fixes #72) - ---- - cmake/Modules/FindBFD.cmake | 10 ++++++++-- - 1 file changed, 8 insertions(+), 2 deletions(-) - -diff --git a/cmake/Modules/FindBFD.cmake b/cmake/Modules/FindBFD.cmake -index 785e29b..5fe43c1 100644 ---- a/cmake/Modules/FindBFD.cmake -+++ b/cmake/Modules/FindBFD.cmake -@@ -1,9 +1,15 @@ - find_library( DL_LIBRARY NAMES dl PATH /usr/lib /usr/lib64 ) - find_library( BFD_LIBRARY NAMES bfd PATH /usr/lib /usr/lib64 ) - --if ( DL_LIBRARY AND BFD_LIBRARY ) -+include(CheckCSourceCompiles) -+check_c_source_compiles( -+ "#include <bfd.h> -+ int main(void) { -+ return 0; -+ }" BFD_WORKS) -+if ( DL_LIBRARY AND BFD_LIBRARY AND BFD_WORKS) - set( BFD_FOUND TRUE ) --endif (DL_LIBRARY AND BFD_LIBRARY) -+endif (DL_LIBRARY AND BFD_LIBRARY AND BFD_WORKS) - - if ( BFD_FOUND ) - --- -1.7.12 -
