about summary refs log tree commit diff
path: root/pkgs/applications/version-management
diff options
context:
space:
mode:
authorAlexander Ried <ried@mytum.de>2016-05-20 14:38:14 +0200
committerAlexander Ried <ried@mytum.de>2016-05-20 14:38:14 +0200
commit9e073bd1109d20d9836e468782b9797abdb7c086 (patch)
treedba48ecf6412452e38a672348c38fe3cc9e74ae1 /pkgs/applications/version-management
parenta021b6a61734f43e14e4c3d76099c36333d3287e (diff)
subversionClient: fix build with gcc5
fixes #15483
Diffstat (limited to 'pkgs/applications/version-management')
-rw-r--r--pkgs/applications/version-management/subversion/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/subversion/default.nix b/pkgs/applications/version-management/subversion/default.nix
index c0131ef96203f..c2ad83a581ca4 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"}