diff --git a/pkgs/tools/networking/miniupnpc/default.nix b/pkgs/tools/networking/miniupnpc/default.nix index 4a11226af02c..80b199b922c0 100644 --- a/pkgs/tools/networking/miniupnpc/default.nix +++ b/pkgs/tools/networking/miniupnpc/default.nix @@ -15,8 +15,6 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake ]; - patches = lib.optional stdenv.isFreeBSD ./freebsd.patch; - doCheck = !stdenv.isFreeBSD; makeFlags = [ "PREFIX=$(out)" ]; diff --git a/pkgs/tools/networking/miniupnpc/freebsd.patch b/pkgs/tools/networking/miniupnpc/freebsd.patch deleted file mode 100644 index 42ae85a8e6b1..000000000000 --- a/pkgs/tools/networking/miniupnpc/freebsd.patch +++ /dev/null @@ -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