gdbm: avoid a warning on Darwin
This is just to minimize rebuilds. The actual bugfix doesn't seem to hurry, as the function has been returning void until now, so if the int returned isn't a meaningful value in some cases, nothing should happen yet.
This commit is contained in:
parent
46e5257670
commit
7b3036a4a2
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gdbm-1.17";
|
name = "gdbm-1.17";
|
||||||
|
# FIXME: remove on update to > 1.17
|
||||||
|
NIX_CFLAGS_COMPILE = if stdenv.cc.isClang then "-Wno-error=return-type" else null;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/gdbm/${name}.tar.gz";
|
url = "mirror://gnu/gdbm/${name}.tar.gz";
|
||||||
|
Loading…
Reference in New Issue
Block a user