diff options
author | Oliver Braun <obraun@FreeBSD.org> | 2002-09-02 12:16:21 +0000 |
---|---|---|
committer | Oliver Braun <obraun@FreeBSD.org> | 2002-09-02 12:16:21 +0000 |
commit | 63d4cbfaa1c7878e2cfd03675756374629bd029c (patch) | |
tree | dadc66aa455334ab43fe3ee226bd0aa1cd194bcb /textproc/hs-haxml | |
parent | 8b18dedea6c879a74eb8731b23d781f5f1d8e143 (diff) | |
download | ports-63d4cbfaa1c7878e2cfd03675756374629bd029c.tar.gz ports-63d4cbfaa1c7878e2cfd03675756374629bd029c.zip |
Notes
Diffstat (limited to 'textproc/hs-haxml')
-rw-r--r-- | textproc/hs-haxml/Makefile | 1 | ||||
-rw-r--r-- | textproc/hs-haxml/files/patch-src::tools::DtdToHaskell.hs | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/textproc/hs-haxml/Makefile b/textproc/hs-haxml/Makefile index f42b8a8bc80c..63c522a44646 100644 --- a/textproc/hs-haxml/Makefile +++ b/textproc/hs-haxml/Makefile @@ -6,6 +6,7 @@ PORTNAME= haxml PORTVERSION= 1.07a +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://www.haskell.org/HaXml/ \ ftp://ftp.cs.york.ac.uk/pub/haskell/HaXml/ diff --git a/textproc/hs-haxml/files/patch-src::tools::DtdToHaskell.hs b/textproc/hs-haxml/files/patch-src::tools::DtdToHaskell.hs new file mode 100644 index 000000000000..92914a3131e6 --- /dev/null +++ b/textproc/hs-haxml/files/patch-src::tools::DtdToHaskell.hs @@ -0,0 +1,13 @@ +--- src/tools/DtdToHaskell.hs.orig Wed Aug 14 12:11:31 2002 ++++ src/tools/DtdToHaskell.hs Mon Sep 2 11:07:51 2002 +@@ -29,8 +29,8 @@ + realname = if null name then mangle (trim inf) else mangle name + in + do hPutStrLn o ("module DTD_"++realname +- ++" where\n\nimport Text.Xml.HaXml.Xml2Haskell" +- ++" where\n\nimport Text.Xml.HaXml.OneOfN") ++ ++" where\n\nimport Text.XML.HaXml.Xml2Haskell" ++ ++"\nimport Text.XML.HaXml.OneOfN") + hPutStrLn o "\n\n{-Type decls-}\n" + (hPutStrLn o . render . vcat . map ppTypeDef) decls + hPutStrLn o "\n\n{-Instance decls-}\n" |