3
0
Fork 0
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:
Alyssa Ross 2023-01-17 19:56:03 +00:00
parent f46ee73ba6
commit b6e3185a5d
No known key found for this signature in database
GPG key ID: F9DBED4859B271C0
2 changed files with 0 additions and 13 deletions

View file

@ -15,8 +15,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
patches = lib.optional stdenv.isFreeBSD ./freebsd.patch;
doCheck = !stdenv.isFreeBSD;
makeFlags = [ "PREFIX=$(out)" ];

View file

@ -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