db-*: only use the osx.patch for db5 where it applies

This unbreaks builds of all other versions (4.* and 6.*).
This commit is contained in:
Vladimír Čunát
2014-11-17 10:17:17 +01:00
parent adeb4fb56b
commit 5b0756cd21
3 changed files with 3 additions and 6 deletions
@@ -18,10 +18,6 @@ stdenv.mkDerivation rec {
patches = extraPatches;
patchPhase = ''
patch src/dbinc/atomic.h < ${./osx.patch}
'';
configureFlags = [
(if cxxSupport then "--enable-cxx" else "--disable-cxx")
(if compat185 then "--enable-compat185" else "--disable-compat185")