gnucash: fix cmake configure phase, missing "include(CheckSymbolExists)" (#68026)
This commit is contained in:
parent
1f49035aca
commit
bafe56c685
2 changed files with 14 additions and 0 deletions
|
@ -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)
|
|
@ -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 .
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue