nixpkgs/pkgs/applications/editors
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
..
aewan treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
amp amp: fix darwin build 2019-09-16 00:29:08 +02:00
android-studio androidStudioPackages.{dev,canary}: 4.0.0.8 -> 4.0.0.9 2020-01-22 14:32:13 +01:00
aseprite treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
atom atom, atom-beta: 1.36.1 -> 1.42.0, 1.37.0-beta0 -> 1.43.0-beta0 2019-12-31 01:25:00 +01:00
bluefish gnome3: stop using aliases 2019-02-14 02:31:15 +01:00
bonzomatic treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
brackets treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
bvi bvi: 1.4.0 -> 1.4.1 2019-10-21 19:51:55 -07:00
bviplus bviplus: 0.9.4 -> 1.0 2020-01-20 04:23:13 +00:00
codeblocks treewide: configureFlags is a flat list 2019-12-31 01:37:49 +01:00
deadpixi-sam treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
dhex treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
dit treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
eclipse eclipses.plugins.cdt: fix source hash 2020-01-24 20:18:14 +01:00
ed
edbrowse treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
edit treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
elvis treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
emacs treewide: installTargets is a list 2019-12-31 00:25:26 +01:00
emacs-modes treewide: fix redirected urls 2020-01-22 11:26:22 +01:00
featherpad treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
flpsed Remove myself (fuuzetsu) from maintainer lists 2019-12-05 16:29:48 +09:00
focuswriter focuswriter: 1.7.3 -> 1.7.4 2020-01-20 13:29:25 +01:00
fte treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
geany geany: clean up and switch to GTK3 2019-11-28 00:05:22 +01:00
ghostwriter ghostwriter: use qt5's mkDerivation 2019-07-31 21:42:32 -04:00
glow glow: 0.1.6 -> 0.2.0 2020-01-09 15:27:05 +02:00
gnome-builder gnome-builder: fix build with Meson 0.52 2019-12-02 00:23:08 +01:00
gnome-latex gnome-latex: 3.30.2 → 3.32.0 2019-04-05 12:13:57 +02:00
gobby yelp-tools: move to top-level 2019-11-20 04:58:00 +01:00
hecate treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
heme treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
hexcurse hexcurse: fix build with gcc9 2019-11-03 14:43:34 +01:00
hexdino hexdino: init at 0.1.0 2019-11-18 00:40:31 +01:00
hexedit treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
howl treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
ht treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
jedit treewide: name -> pname 2019-08-17 10:54:38 +00:00
jetbrains jetbrains.webstorm: 2019.3.1 -> 2019.3.2 2020-01-24 02:14:02 -08:00
joe treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
jucipp treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
jupp treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
jupyter treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
kakoune kakoune: 2019.12.10 -> 2020.01.16 2020-01-16 14:53:08 +00:00
kdevelop5 kdev-python: 5.4.5 -> 5.4.6 2020-01-06 20:59:09 -05:00
kile kile: 2017-02-09 -> 2.9.92 2018-10-24 14:53:06 -04:00
kodestudio treewide: Get rid of libGLU_combined 2019-11-18 20:10:43 +00:00
leafpad tree-wide: s/GTK+/GTK/g 2019-09-06 02:54:53 +02:00
leo-editor treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
lighttable treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
manuskript manuskript: 0.9.0 -> 0.10.0 2019-10-07 08:45:38 -07:00
mg Fix mg building on darwin. 2020-02-01 22:21:31 +00:00
micro treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
mindforger treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
mle mle: 1.4.1 -> 1.4.2 2019-11-28 03:16:39 -08:00
moe treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
monodevelop treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
music/tuxguitar tuxguitar: 1.2 -> 1.5.2 2019-10-27 13:03:55 +01:00
nano nano: 4.6 -> 4.7 2019-12-25 19:50:28 +00:00
ne ne: 3.1.2 -> 3.2.1 (#70663) 2019-10-12 12:57:05 +02:00
nedit nedit: *Flags are lists 2019-12-30 12:15:22 +01:00
neovim Merge pull request #73854 from Dema/neovim-qt-version-bump 2020-01-13 09:07:58 +08:00
netbeans netbeans: changed hompage url to netbeans space hosted on apache network 2019-09-19 23:44:54 +00:00
notepadqq notepadqq: use qt5's mkDerivation 2019-08-09 16:27:08 +02:00
nvi treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
nvpy pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
okteta add missing meta data 2019-10-08 20:54:38 +02:00
quartus-prime quartus: init at 19.1.0.670 2020-01-15 21:15:39 +00:00
quilter quilter: 2.0.4 -> 2.0.5 2020-01-07 05:37:39 -08:00
rednotebook rednotebook: 2.14 -> 2.15 2019-12-28 20:32:45 +01:00
retext retext: properly wrap with wrapQtApp 2019-11-16 23:50:07 -08:00
rstudio rstudio: fix build with new hunspell-dicts 2019-09-05 17:33:24 +02:00
scite treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
sigil treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
standardnotes treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
sublime sublimetext: 3207 -> 3211 2019-10-03 11:24:37 -04:00
supertux-editor treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
tecoc treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
texmacs treewide: NIX_*_FLAGS -> string 2019-12-31 00:16:46 +01:00
texmaker texmaker: 5.0.3 -> 5.0.4 2020-01-04 20:18:06 +01:00
texstudio texstudio: 2.12.16 -> 2.12.20 2020-01-16 16:44:12 +00:00
textadept treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
texworks treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
thonny thonny: 3.2.3 -> 3.2.4 2019-12-24 12:12:25 -08:00
tiled tiled: 1.3.1 -> 1.3.2 2020-01-26 12:41:44 +00:00
tweak treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
typora typora: allow pandoc to be in PATH 2019-09-21 12:08:54 -04:00
uberwriter uberwriter: 2019-11-29 -> 2020-01-24 2020-01-25 14:23:24 +01:00
uemacs treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
vbindiff treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
vim vim: 8.1.2407 -> 8.2.0013 2019-12-31 09:28:42 +01:00
vis treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
vscode vscode, vscodium: ban nixpkgs-update from updating 2020-01-06 11:42:04 +01:00
wily treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
wxhexeditor wxhexeditor: fix compilation 2019-09-03 10:09:25 +02:00
xmlcopyeditor treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
yi treewide: *inputs are lists 2019-12-31 01:09:25 +01:00
zile Treewide: use HTTPS on GNU domains 2018-12-02 15:51:59 +01:00