]> gitweb @ CieloNegro.org - pkgsrc-ghc.git/blobdiff - patches/patch-compiler_utils_Platform.hs
Merge branch 'ghc-7.4.1'
[pkgsrc-ghc.git] / patches / patch-compiler_utils_Platform.hs
diff --git a/patches/patch-compiler_utils_Platform.hs b/patches/patch-compiler_utils_Platform.hs
new file mode 100644 (file)
index 0000000..51a23e6
--- /dev/null
@@ -0,0 +1,16 @@
+$NetBSD$
+
+For systems having as(1) that doesn't recognise .ident
+directives. (Already merged to the upstream)
+
+
+--- compiler/utils/Platform.hs.orig    2012-02-01 18:10:32.000000000 +0000
++++ compiler/utils/Platform.hs
+@@ -22,6 +22,7 @@ data Platform
+               platformOS                       :: OS,
+               platformWordSize                 :: {-# UNPACK #-} !Int,
+               platformHasGnuNonexecStack       :: Bool,
++              platformHasIdentDirective        :: Bool,
+               platformHasSubsectionsViaSymbols :: Bool
+           }
+         deriving (Read, Show, Eq)