nixpkgs/pkgs/applications
D. Guthrie a0c2892c06 Fix mg building on darwin.
I am not happy with this at all. It avoids using libbsd at all on
darwin because there are conflicting header files, particularly the
header string.h.

Ideally that would be the thing to fix. But in the meantime, this patch
should do the trick.

It declares a header file apple.h, which files include if target is
darwin (checks for presence of __APPLE__). This header file also
references the three source files futimens.c, reallocarray.c and
strtonum.c. The former and  latter are from https://github.com/ibara/mg
which is another portable fork, but building against more platforms.

From the OpenBSD source tree is _null.h and tree.h. There is a check so
that if __APPLE__ is present then it will include them from this source
tree.

Now,the makefile GNUMakefile will not link against libbsd on darwin, by
checking the output of uname in much the same way as it did already for
FreeBSD.
2020-02-01 22:21:31 +00:00
..
accessibility dasher: init at 2018-04-03 2020-01-23 19:31:05 +01:00
audio spotifyd: 0.2.23 -> 0.2.24 2020-01-27 21:28:49 +01:00
backup deja-dup: 40.4 -> 40.6 2019-12-22 22:07:13 -08:00
blockchains Merge pull request #78282 from mmahut/btg 2020-01-28 11:15:13 +01:00
display-managers treewide: NIX_*_FLAGS -> string 2019-12-31 00:15:46 +01:00
editors Fix mg building on darwin. 2020-02-01 22:21:31 +00:00
gis treewide: NIX_*_FLAGS -> string 2019-12-31 00:15:46 +01:00
graphics Merge pull request #78602 from jobojeha/feature/paraview-pythonpath-prefix 2020-01-28 17:25:37 +01:00
kde Merge pull request #76508 from bignaux/kmahjongg 2020-01-16 09:41:36 -06:00
misc gpxsee: 7.19 -> 7.20 2020-01-28 23:51:37 +03:00
networking Merge pull request #77739 from NixOS/staging-next 2020-01-28 14:03:29 +01:00
office Merge master into staging-next 2020-01-28 10:46:13 +01:00
qubes/qubes-core-vchan-xen
radio Merge master into staging-next 2020-01-28 10:46:13 +01:00
science Merge master into staging-next 2020-01-28 10:46:13 +01:00
search doodle: 0.7.0 -> 0.7.1 2020-01-15 11:02:17 +00:00
system/monitor monitor: 0.6.1 -> 0.6.2 2019-12-22 23:21:15 -05:00
version-management Merge master into staging-next 2020-01-28 10:46:13 +01:00
video Merge pull request #77739 from NixOS/staging-next 2020-01-28 14:03:29 +01:00
virtualization conmon: 2.0.9 -> 2.0.10 2020-01-28 08:07:52 +10:00
window-managers weston: 7.0.0 -> 8.0.0 (#78464) 2020-01-25 13:37:06 +01:00