nixpkgs/pkgs/development/libraries/popt
Jan Tojnar 2cb203a61d pkgsCross.mingwW64.popt: Fix build
First it fails to compile:

	popthelp.c:15:10: fatal error: sys/ioctl.h: No such file or directory
	   15 | #include <sys/ioctl.h>
	      |          ^~~~~~~~~~~~~

And then it does not want to link:

	/nix/store/k35kvfyhzhlpx71gf05zm6gy23alg571-x86_64-w64-mingw32-binutils-2.39/bin/x86_64-w64-mingw32-ld: .libs/popt.o: in function `execCommand':
	/build/popt-1.19/src/popt.c:521: undefined reference to `getuid'
	/nix/store/k35kvfyhzhlpx71gf05zm6gy23alg571-x86_64-w64-mingw32-binutils-2.39/bin/x86_64-w64-mingw32-ld: /build/popt-1.19/src/popt.c:521: undefined reference to `geteuid'
	/nix/store/k35kvfyhzhlpx71gf05zm6gy23alg571-x86_64-w64-mingw32-binutils-2.39/bin/x86_64-w64-mingw32-ld: /build/popt-1.19/src/popt.c:521: undefined reference to `getgid'
	/nix/store/k35kvfyhzhlpx71gf05zm6gy23alg571-x86_64-w64-mingw32-binutils-2.39/bin/x86_64-w64-mingw32-ld: /build/popt-1.19/src/popt.c:521: undefined reference to `getegid'
2023-07-26 20:54:47 +03:00
..
1.16-cygwin.patch
1.16-vpath.patch
default.nix