forked from mirrors/nixpkgs
miniupnpc: drop obsolete FreeBSD patch
Didn't apply. Tested build still works by building pkgsCross.x86_64-freebsd.miniupnpc from x86_64-linux.
This commit is contained in:
parent
f46ee73ba6
commit
b6e3185a5d
|
@ -15,8 +15,6 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
patches = lib.optional stdenv.isFreeBSD ./freebsd.patch;
|
||||
|
||||
doCheck = !stdenv.isFreeBSD;
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
diff --git a/minihttptestserver.c b/minihttptestserver.c
|
||||
index bbfdac3..a43999d 100644
|
||||
--- a/minihttptestserver.c
|
||||
+++ b/minihttptestserver.c
|
||||
@@ -1,3 +1,6 @@
|
||||
+#ifndef INADDR_LOOPBACK
|
||||
+#define INADDR_LOOPBACK 0x7f000001
|
||||
+#endif
|
||||
/* $Id: minihttptestserver.c,v 1.17 2015/02/06 10:31:19 nanard Exp $ */
|
||||
/* Project : miniUPnP
|
||||
* Author : Thomas Bernard
|
Loading…
Reference in a new issue