Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

miniupnpc: drop obsolete FreeBSD patch

Didn't apply. Tested build still works by building
pkgsCross.x86_64-freebsd.miniupnpc from x86_64-linux.

-13
-2
pkgs/tools/networking/miniupnpc/default.nix
··· 15 15 16 16 nativeBuildInputs = [ cmake ]; 17 17 18 - patches = lib.optional stdenv.isFreeBSD ./freebsd.patch; 19 - 20 18 doCheck = !stdenv.isFreeBSD; 21 19 22 20 makeFlags = [ "PREFIX=$(out)" ];
-11
pkgs/tools/networking/miniupnpc/freebsd.patch
··· 1 - diff --git a/minihttptestserver.c b/minihttptestserver.c 2 - index bbfdac3..a43999d 100644 3 - --- a/minihttptestserver.c 4 - +++ b/minihttptestserver.c 5 - @@ -1,3 +1,6 @@ 6 - +#ifndef INADDR_LOOPBACK 7 - +#define INADDR_LOOPBACK 0x7f000001 8 - +#endif 9 - /* $Id: minihttptestserver.c,v 1.17 2015/02/06 10:31:19 nanard Exp $ */ 10 - /* Project : miniUPnP 11 - * Author : Thomas Bernard