[begin adding haskell2010 package
John Meacham <john@repetae.net>**20120307035605
 Ignore-this: eaae9201d70dece4f2e7bb115d295e07
] move ./lib/flat-foreign/flat-foreign.cabal ./lib/flat-foreign/flat-foreign.yaml
adddir ./lib/haskell2010
adddir ./lib/haskell2010/Data
addfile ./lib/haskell2010/haskell2010.yaml.m4
hunk ./Makefile.am 64
-
+#                                   haskell2010-@VERSION@.hl
hunk ./Makefile.am 245
-flat-foreign-1.0.hl: lib/flat-foreign/flat-foreign.cabal base-1.0.hl
-	./jhc $(LIB_OPTIONS) -ilib/flat-foreign -pjhc -pbase --build-hl $< -o $@
+flat-foreign-1.0.hl: lib/flat-foreign/flat-foreign.yaml base-1.0.hl
+	./jhc $(LIB_OPTIONS) --build-hl $< -o $@
+haskell2010-@VERSION@.hl: lib/haskell2010/haskell2010.yaml.m4 jhc-1.0.hl
+	./jhc $(LIB_OPTIONS) --build-hl $< -o $@
hunk ./Makefile.am 326
-flat-foreign-1.0.hl: lib/flat-foreign/flat-foreign.cabal lib/flat-foreign/StablePtr.hs lib/flat-foreign/MarshalAlloc.hs lib/flat-foreign/CForeign.hs \
+flat-foreign-1.0.hl: lib/flat-foreign/flat-foreign.yaml lib/flat-foreign/StablePtr.hs lib/flat-foreign/MarshalAlloc.hs lib/flat-foreign/CForeign.hs \
hunk ./configure.ac 79
+AC_SUBST(BYTE_ORDER)
+AC_SUBST(EXTRA_PACKAGES)
+AC_SUBST(GHCFLAGS)
+AC_SUBST(GHCINC)
+AC_SUBST(HAS_MONOID_DOC)
hunk ./configure.ac 87
-AC_SUBST(GHCFLAGS)
-AC_SUBST(EXTRA_PACKAGES)
-AC_SUBST(RPMRELEASE)
-AC_SUBST(SHORTVERSION)
-AC_SUBST(BYTE_ORDER)
-AC_SUBST(JLIBPATH)
hunk ./configure.ac 88
-AC_SUBST(HAS_MONOID_DOC)
+AC_SUBST(JLIBPATH)
hunk ./configure.ac 90
+AC_SUBST(RPMRELEASE)
+AC_SUBST(SHORTVERSION)
+AC_SUBST(VERSION)
hunk ./configure.ac 96
-AC_SUBST(GHCINC)
hunk ./lib/flat-foreign/flat-foreign.yaml 1
-name:		flat-foreign
-version:	1.0
-maintainer:	libraries@haskell.org
-synopsis:	Compatibility with non hierarchical FFI module names
-description:
-  This package provides compatibility with the flat module names originally
-  proposed for the FFI modules, since hierarchical modules were introduced
-  at the same time, use of these aliases is rare.
-homepage:	http://www.haskell.org/definition/
-build-depends:	base
-exposed-modules:
-        -- FFI addendum (Foreign is in the base package)
-        Bits, CError, CForeign, CString, CTypes, ForeignPtr, Int,
+Name: flat-foreign
+Version: 1.0
+hs-source-dir: .
+build-depends: [base, jhc]
+exposed-modules: [ Bits, CError, CForeign, CString, CTypes, ForeignPtr, Int,
hunk ./lib/flat-foreign/flat-foreign.yaml 7
-        StablePtr, Storable, Word
+        StablePtr, Storable, Word ]
hunk ./lib/haskell2010/haskell2010.yaml.m4 1
+Name: haskell2010
+Version: __JHC_VERSION__
+Extensions: [ ForeignFunctionInterface, NoImplicitPrelude,
+              UnboxedTuples, UnboxedValues ]
+Hs-Source-Dir: .
+Options: [ --noauto, -pjhc, -pjhc-prim ]
+Exposed-Modules:
+        - Prelude
+        - Control.Monad
+        - Data.Array
+        - Data.Bits
+        - Data.Char
+        - Data.Complex
+        - Data.Int
+        - Data.Ix
+        - Data.List
+        - Data.Maybe
+        - Data.Ratio
+        - Data.Word
+        - Foreign
+        - Foreign.C
+        - Foreign.C.Error
+        - Foreign.C.String
+        - Foreign.C.Types
+        - Foreign.ForeignPtr
+        - Foreign.Marshal
+        - Foreign.Marshal.Array
+        - Foreign.Marshal.Alloc
+        - Foreign.Marshal.Error
+        - Foreign.Marshal.Utils
+        - Foreign.Ptr
+        - Foreign.StablePtr
+        - Foreign.Storable
+        - Numeric
+        - System.Envirorment
+        - System.Exit
+        - System.IO
+        - System.IO.Error
hunk ./selftest/Makefile 9
-	-fglasgow-exts -XNoMonoLocalBinds -XNamedFieldPuns 
+	-fglasgow-exts -XNoMonoLocalBinds -XNamedFieldPuns  -I../src
hunk ./utils/build_extlibs.prl 45
-    $options = "$options --deps tmp/$name-$version-deps.yaml" if $opt_d;
+    $options = "$options --stop deps --deps tmp/$name-deps.yaml" if $opt_d;
hunk ./utils/deps_to_make.prl 35
-        push @deps, $patch if $patch =~ s/\.cabal$/.patch/ and -e $patch;
+        push @deps, $patch if $patch =~ s/\.(cabal|yaml)(.m4)?$/.patch/ and -e $patch;