nixpkgs/pkgs/applications/editors/geany/disable-test-sidebar.patch
6t8k cf7ed5d3df geany: 1.38 -> 2.0
https://www.geany.org/documentation/releasenotes/2.0/

Upstream now supports building via Meson, which is declared experimental
at the time of writing; Autotools is still the default. [1]

The correct license for Geany is GPL-2.0-or-later, as indicated by [2].

Add a patch that disables `test_sidebar` because it runs into undefined
behavior in headless environments, and crashes at least on headless
Darwin. The patch can be removed if [3] is merged (or the issue fixed
otherwise).

[1] https://github.com/geany/geany/pull/2761/commits
[2] https://github.com/geany/geany/tree/2.0.0#license
[3] https://github.com/geany/geany/pull/3676
2023-11-11 12:19:49 +01:00

12 lines
426 B
Diff

--- a/tests/Makefile.in 2023-10-19 18:10:06.000000000 +0200
+++ b/tests/Makefile.in 2023-11-10 00:13:09.816498568 +0100
@@ -86,7 +86,7 @@
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
-check_PROGRAMS = test_utils$(EXEEXT) test_sidebar$(EXEEXT)
+check_PROGRAMS = test_utils$(EXEEXT)
subdir = tests
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \