summaryrefslogtreecommitdiff
path: root/devel/hs-gtk2hs-buildtools/files/patch-c2hs_toplevel_C2HSConfig.hs
diff options
context:
space:
mode:
Diffstat (limited to 'devel/hs-gtk2hs-buildtools/files/patch-c2hs_toplevel_C2HSConfig.hs')
-rw-r--r--devel/hs-gtk2hs-buildtools/files/patch-c2hs_toplevel_C2HSConfig.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/hs-gtk2hs-buildtools/files/patch-c2hs_toplevel_C2HSConfig.hs b/devel/hs-gtk2hs-buildtools/files/patch-c2hs_toplevel_C2HSConfig.hs
index 9c1fbee08541..64096448efc0 100644
--- a/devel/hs-gtk2hs-buildtools/files/patch-c2hs_toplevel_C2HSConfig.hs
+++ b/devel/hs-gtk2hs-buildtools/files/patch-c2hs_toplevel_C2HSConfig.hs
@@ -13,8 +13,8 @@ c2hs: C header contains errors:
("openbsd","cpp") -> ["-xc", "-w"]
- (_,"cpp") -> ["-x", "c", "-w"]
- (_,"gcc") -> ["-E", "-x", "c", "-w"]
-+ (_,"cpp") -> ["-x", "c", "-w", "-std=c99"]
-+ (_,"gcc") -> ["-E", "-x", "c", "-w", "-std=c99"]
++ (_,"cpp") -> ["-x", "c", "-w", "-std=c99", "-D_Nullable=", "-D_Nonnull="]
++ (_,"gcc") -> ["-E", "-x", "c", "-w", "-std=c99", "-D_Nullable", "-D_Nonnull="]
_ -> []
-- C preprocessor option for including only definitions (EXPORTED)