diff options
author | Aristid Breitkreuz <aristidb@gmail.com> | 2019-09-03 22:31:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-03 22:31:50 +0200 |
commit | bafe56c685d134af434e6d4a64eafe18cf8bc13e (patch) | |
tree | 4ae05063b24d682a3356c6feea5b19ddaffa0428 /pkgs/applications/office | |
parent | 1f49035aca52303abb2e09976baf36f297eb68a6 (diff) | |
download | nixlib-bafe56c685d134af434e6d4a64eafe18cf8bc13e.tar nixlib-bafe56c685d134af434e6d4a64eafe18cf8bc13e.tar.gz nixlib-bafe56c685d134af434e6d4a64eafe18cf8bc13e.tar.bz2 nixlib-bafe56c685d134af434e6d4a64eafe18cf8bc13e.tar.lz nixlib-bafe56c685d134af434e6d4a64eafe18cf8bc13e.tar.xz nixlib-bafe56c685d134af434e6d4a64eafe18cf8bc13e.tar.zst nixlib-bafe56c685d134af434e6d4a64eafe18cf8bc13e.zip |
gnucash: fix cmake configure phase, missing "include(CheckSymbolExists)" (#68026)
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r-- | pkgs/applications/office/gnucash/cmake_check_symbol_exists.patch | 12 | ||||
-rw-r--r-- | pkgs/applications/office/gnucash/default.nix | 2 |
2 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/applications/office/gnucash/cmake_check_symbol_exists.patch b/pkgs/applications/office/gnucash/cmake_check_symbol_exists.patch new file mode 100644 index 000000000000..5e0ae68e17c6 --- /dev/null +++ b/pkgs/applications/office/gnucash/cmake_check_symbol_exists.patch @@ -0,0 +1,12 @@ +Index: gnucash-3.6/gnucash/register/register-gnome/CMakeLists.txt +=================================================================== +--- gnucash-3.6.orig/gnucash/register/register-gnome/CMakeLists.txt ++++ gnucash-3.6/gnucash/register/register-gnome/CMakeLists.txt +@@ -1,6 +1,7 @@ + add_subdirectory(test) + + #GTK before 3.14 didn't have GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK ++include(CheckSymbolExists) + check_symbol_exists(GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK gdk/gdktypes.h have_mod_mask) + if (NOT have_mod_mask) + if (MAC_INTEGRATION) diff --git a/pkgs/applications/office/gnucash/default.nix b/pkgs/applications/office/gnucash/default.nix index d3ab02fabd3f..3abc447f6e9f 100644 --- a/pkgs/applications/office/gnucash/default.nix +++ b/pkgs/applications/office/gnucash/default.nix @@ -47,6 +47,8 @@ stdenv.mkDerivation rec { # Should probably be removed next version bump CXXFLAGS = [ "-Wno-deprecated-declarations" ]; + patches = [ ./cmake_check_symbol_exists.patch ]; + postPatch = '' patchShebangs . ''; |