3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs
sternenseemann 9a32fd5c49 haskellPackages.SDL-ttf: fix build on darwin
SDL_main.h which is included from SDL_ttf.h contains a #define which redefines
main to SDL_main. This has to do with the way SDL binaries are linked and
executed on darwin which is explained here [1]. However this is bad news for
hsc2hs intermediate C sources which in this case only to gather version
information from the headers and not to run a full SDL application.

Thus compilation would fail due to this issue which we can avoid by redefining
main to main again after including the header.

[1]: http://www.ariis.it/link/repos/sdl-bindings/hssdl-image/MACOSX
2021-08-06 14:39:22 +02:00
..
applications pijul: 1.0.0-alpha.52 → 1.0.0-alpha.53 (#132827) 2021-08-05 19:13:50 -04:00
build-support Merge pull request #132626 from zowoq/tarsum 2021-08-05 12:14:35 +02:00
common-updater
data Merge master into haskell-updates 2021-08-06 00:06:03 +00:00
desktops ksystemstats: Use getBin instead of hardcoding ouput name 2021-08-05 17:01:19 +09:00
development haskellPackages.SDL-ttf: fix build on darwin 2021-08-06 14:39:22 +02:00
games osu-lazer: remove temper detection bypass patch 2021-08-05 15:04:33 +08:00
misc vim-plugins: remove workaround 2021-08-05 08:59:06 +02:00
os-specific Merge pull request #132523 from alyssais/s6-linux-init 2021-08-05 16:46:01 +02:00
pkgs-lib
servers telegraf: use proxyVendor 2021-08-06 09:10:09 +10:00
shells
stdenv
test
tools opentelemetry-collector: use proxyVendor 2021-08-06 09:10:09 +10:00
top-level Merge pull request #131955 from Artturin/libvarlink-add 2021-08-06 00:33:18 +03:00