mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
evolution-data-server: Fix darwin build
Probably caused by the clang 16 bump. /tmp/nix-build-evolution-data-server-3.50.3.drv-0/evolution-data-server-3.50.3/src/addressbook/libebook-contacts/e-phone-number-private.cpp:186:7: error: no member named 'auto_ptr' in namespace 'std' std::auto_ptr<EPhoneNumber> parsed_number(new EPhoneNumber); ~~~~~^
This commit is contained in:
parent
91fd5cfa79
commit
09686ed7f8
@ -147,6 +147,10 @@ stdenv.mkDerivation rec {
|
||||
--replace "-Wl,--no-undefined" ""
|
||||
substituteInPlace src/services/evolution-alarm-notify/e-alarm-notify.c \
|
||||
--replace "G_OS_WIN32" "__APPLE__"
|
||||
'' + lib.optionalString stdenv.cc.isClang ''
|
||||
# https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/513
|
||||
substituteInPlace src/addressbook/libebook-contacts/e-phone-number-private.cpp \
|
||||
--replace "std::auto_ptr" "std::unique_ptr"
|
||||
'';
|
||||
|
||||
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||
|
Loading…
Reference in New Issue
Block a user