unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob d573895ecfaeec5685cf165c1fd924d8a9f90132 1704 bytes (raw)
name: gnu/packages/patches/rnp-unbundle-googletest.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
 
From 3d435bbc8c73c78260f510a8d7fd02f81e22f125 Mon Sep 17 00:00:00 2001
From: Justus Winter <teythoon@avior.uberspace.de>
Date: Tue, 21 Jul 2020 16:10:12 +0200
Subject: [PATCH 5/6] Unbundle googletest.

---
 src/tests/CMakeLists.txt          | 2 +-
 src/tests/gtest-CMakeLists.txt.in | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt
index 1a7ab905..2f0a1c3f 100644
--- a/src/tests/CMakeLists.txt
+++ b/src/tests/CMakeLists.txt
@@ -50,7 +50,7 @@ endif()
 # maintain compiler/linker settings on Windows
 set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
 # add to our build (provides gtest_main target)
-add_subdirectory(${CMAKE_CURRENT_BINARY_DIR}/googletest-src
+add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/googletest-src
                  ${CMAKE_CURRENT_BINARY_DIR}/googletest-build
                  EXCLUDE_FROM_ALL)
 
diff --git a/src/tests/gtest-CMakeLists.txt.in b/src/tests/gtest-CMakeLists.txt.in
index b8878ea5..16cd49ad 100644
--- a/src/tests/gtest-CMakeLists.txt.in
+++ b/src/tests/gtest-CMakeLists.txt.in
@@ -4,10 +4,10 @@ project(googletest-download NONE)
 
 include(ExternalProject)
 ExternalProject_Add(googletest
-  GIT_REPOSITORY    https://github.com/google/googletest.git
-  GIT_TAG           master
-  GIT_SHALLOW       yes
-  SOURCE_DIR        "${CMAKE_CURRENT_BINARY_DIR}/googletest-src"
+#  GIT_REPOSITORY    https://github.com/google/googletest.git
+#  GIT_TAG           master
+#  GIT_SHALLOW       yes
+  SOURCE_DIR        "${CMAKE_CURRENT_SOURCE_DIR}/googletest-src"
   BINARY_DIR        "${CMAKE_CURRENT_BINARY_DIR}/googletest-build"
   CONFIGURE_COMMAND ""
   BUILD_COMMAND     ""
-- 
2.20.1


debug log:

solving d573895ecf ...
found d573895ecf in https://yhetil.org/guix-patches/20200724124341.18545-1-justus@sequoia-pgp.org/ ||
	https://yhetil.org/guix-patches/20200723120322.8385-3-justus@sequoia-pgp.org/

applying [1/1] https://yhetil.org/guix-patches/20200724124341.18545-1-justus@sequoia-pgp.org/
diff --git a/gnu/packages/patches/rnp-unbundle-googletest.patch b/gnu/packages/patches/rnp-unbundle-googletest.patch
new file mode 100644
index 0000000000..d573895ecf

1:29: trailing whitespace.
 
1:35: trailing whitespace.
 
1:49: trailing whitespace.
-- 
Checking patch gnu/packages/patches/rnp-unbundle-googletest.patch...
1:51: new blank line at EOF.
+
Applied patch gnu/packages/patches/rnp-unbundle-googletest.patch cleanly.
warning: 4 lines add whitespace errors.

skipping https://yhetil.org/guix-patches/20200723120322.8385-3-justus@sequoia-pgp.org/ for d573895ecf
index at:
100644 d573895ecfaeec5685cf165c1fd924d8a9f90132	gnu/packages/patches/rnp-unbundle-googletest.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).