From 9e073bd1109d20d9836e468782b9797abdb7c086 Mon Sep 17 00:00:00 2001 From: Alexander Ried Date: Fri, 20 May 2016 14:38:14 +0200 Subject: [PATCH] subversionClient: fix build with gcc5 fixes #15483 --- pkgs/applications/version-management/subversion/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/version-management/subversion/default.nix b/pkgs/applications/version-management/subversion/default.nix index c0131ef9620..c2ad83a581c 100644 --- a/pkgs/applications/version-management/subversion/default.nix +++ b/pkgs/applications/version-management/subversion/default.nix @@ -37,6 +37,10 @@ let patches = [ ./apr-1.patch ]; + # SVN build seems broken on gcc5: + # https://gcc.gnu.org/gcc-5/porting_to.html + CPPFLAGS = "-P"; + configureFlags = '' ${if bdbSupport then "--with-berkeley-db" else "--without-berkeley-db"} ${if httpServer then "--with-apxs=${apacheHttpd}/bin/apxs" else "--without-apxs"}