From a519416a92f64ffd7c8ac598b79ded90c58c8c11 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Sat, 27 Feb 2016 09:10:50 +0100 Subject: [PATCH] libreoffice: Taking a fix from BLFS for using Glibc 2.23 (isnan is not std::isnan) --- pkgs/applications/office/libreoffice/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/office/libreoffice/default.nix b/pkgs/applications/office/libreoffice/default.nix index 43c5e0fb627..1a5cf987fd8 100644 --- a/pkgs/applications/office/libreoffice/default.nix +++ b/pkgs/applications/office/libreoffice/default.nix @@ -106,6 +106,9 @@ in stdenv.mkDerivation rec { patchShebangs . # It is used only as an indicator of the proper current directory touch solenv/inc/target.mk + + # BLFS patch for Glibc 2.23 renaming isnan + sed -ire "s@isnan@std::&@g" xmloff/source/draw/ximp3dscene.cxx ''; # fetch_Download_item tries to interpret the name as a variable name