pkgsrc/lang/ghc/patches/patch-at
kristerw f6bbff0987 Make the pkg build on -current.
Closes PR pkg/23441.
2004-01-10 19:31:25 +00:00

16 lines
458 B
Text

$NetBSD: patch-at,v 1.1 2004/01/10 19:31:25 kristerw Exp $
--- ghc/compiler/main/DriverFlags.hc.orig Thu Jan 8 05:37:44 2004
+++ ghc/compiler/main/DriverFlags.hc Thu Jan 8 05:39:45 2004
@@ -12134,7 +12134,11 @@
SET_HDR_(Hp-2,(P_)&stg_CAF_BLACKHOLE_info,0,0);
UPD_CAF(R1.p,Hp-2);
PUSH_UPD_FRAME(Hp-2,0);
+#if __GNUC__ <= 2
R1.a="-fno-builtin";
+#else
+R1.a="-fno-zero-initialized-in-bss";
+#endif
Sp=Sp-3;
JMP_(GHCziBase_unpackCStringzh_fast1);
FE_