summary refs log blame commit diff
path: root/pkgs/development/haskell-modules/patches/SDL-ttf-darwin-hsc.patch
blob: 3cc5c54f065b9a9bdf268e018a60141107dcc7c0 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                                                   
--- SDL-ttf-0.6.3.0/Graphics/UI/SDL/TTF/Version.hsc.orig	2021-08-06 01:31:39.000000000 +0200
+++ SDL-ttf-0.6.3.0/Graphics/UI/SDL/TTF/Version.hsc	2021-08-06 01:32:03.000000000 +0200
@@ -1,4 +1,6 @@
 #include "SDL_ttf.h"
+-- override SDL_main.h redefining main to SDL_main on darwin
+#define main main
 module Graphics.UI.SDL.TTF.Version
     ( compiledFor
     , linkedWith