summary refs log tree commit diff
path: root/gnu/packages/patches/lib2geom-link-tests-against-glib.patch
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-06-18 01:49:47 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-06-18 02:25:49 -0400
commit620796e66bb828ca22b5d4932275bc36a7b4706a (patch)
treed8a26b358cd367c7bfce8ce3c82d78ffa8a676a1 /gnu/packages/patches/lib2geom-link-tests-against-glib.patch
parentc7c7e115d0cd20b0af0df90d34a93270c79d55be (diff)
downloadguix-620796e66bb828ca22b5d4932275bc36a7b4706a.tar.gz
gnu: lib2geom: Fix tests on aarch64, i686-linux architectures.
Fixes <http://issues.guix.gnu.org/41827>.

This change also removes obsolete patches.

* gnu/packages/patches/lib2geom-fix-tests.patch: New file.
* gnu/packages/patches/lib2geom-link-tests-against-glib.patch: Delete file.
* gnu/packages/patches/lib2geom-use-system-googletest.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/graphics.scm (lib2geom)[origin]: Use new patch.
Diffstat (limited to 'gnu/packages/patches/lib2geom-link-tests-against-glib.patch')
-rw-r--r--gnu/packages/patches/lib2geom-link-tests-against-glib.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/gnu/packages/patches/lib2geom-link-tests-against-glib.patch b/gnu/packages/patches/lib2geom-link-tests-against-glib.patch
deleted file mode 100644
index 2b4f7ca6bf..0000000000
--- a/gnu/packages/patches/lib2geom-link-tests-against-glib.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From f95925afef451755fc1449e57fbfdc2e7277f4b4 Mon Sep 17 00:00:00 2001
-From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
-Date: Sat, 11 Jan 2020 00:44:55 -0500
-Subject: [PATCH 1/3] tests: Link against GLib.
-
-This resolves an error about not finding <glib.h> when linking the
-tests that make use of GLib.
-
-* src/tests/CMakeLists.txt[2GEOM_GTESTS_SRC]: Add the glib library to
-the link target libraries.
----
- src/tests/CMakeLists.txt | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt
-index 5ddf7f9c..626cfd87 100644
---- a/src/tests/CMakeLists.txt
-+++ b/src/tests/CMakeLists.txt
-@@ -32,8 +32,10 @@ sbasis-test
- 
- foreach(source ${2GEOM_GTESTS_SRC})
- 	add_executable(${source} ${source}.cpp)
--	target_include_directories(${source} PRIVATE ${GSL_INCLUDE_DIRS} ${GTK3_INCLUDE_DIRS})
--	target_link_libraries(${source} 2geom gtest_main gtest ${GSL_LIBRARIES} ${GTK3_LIBRARIES})
-+	target_include_directories(${source} PRIVATE ${GSL_INCLUDE_DIRS}
-+	  ${GTK3_INCLUDE_DIRS} ${GLIB_INCLUDE_DIRS})
-+	target_link_libraries(${source} 2geom gtest_main gtest ${GSL_LIBRARIES}
-+	  ${GTK3_LIBRARIES} ${GLIB_LIBRARIES})
- 	add_test(NAME ${source} COMMAND ${source})
- endforeach()
- 
--- 
-2.24.1
-