diff options
author | obraun <obraun@FreeBSD.org> | 2002-09-02 20:16:21 +0800 |
---|---|---|
committer | obraun <obraun@FreeBSD.org> | 2002-09-02 20:16:21 +0800 |
commit | 627ad97f04fab2b6b9f0ce51e5f5a73469de3dcc (patch) | |
tree | 4261f52e8d7a89b7ae5e83424f7a25c0c9b3c57e /textproc | |
parent | 4c1b32f15f9aba5d713821ff7e18c3178d4f28e1 (diff) | |
download | freebsd-ports-gnome-627ad97f04fab2b6b9f0ce51e5f5a73469de3dcc.tar.gz freebsd-ports-gnome-627ad97f04fab2b6b9f0ce51e5f5a73469de3dcc.tar.zst freebsd-ports-gnome-627ad97f04fab2b6b9f0ce51e5f5a73469de3dcc.zip |
* Add patch to build DtdToHaskell correctly.
* bump PORTREVISION.
Approved by: dwcjr (mentor)
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/haxml/Makefile | 1 | ||||
-rw-r--r-- | textproc/haxml/files/patch-src::tools::DtdToHaskell.hs | 13 | ||||
-rw-r--r-- | textproc/hs-HaXml/Makefile | 1 | ||||
-rw-r--r-- | textproc/hs-HaXml/files/patch-src::tools::DtdToHaskell.hs | 13 | ||||
-rw-r--r-- | textproc/hs-haxml/Makefile | 1 | ||||
-rw-r--r-- | textproc/hs-haxml/files/patch-src::tools::DtdToHaskell.hs | 13 |
6 files changed, 42 insertions, 0 deletions
diff --git a/textproc/haxml/Makefile b/textproc/haxml/Makefile index f42b8a8bc80c..63c522a44646 100644 --- a/textproc/haxml/Makefile +++ b/textproc/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/haxml/files/patch-src::tools::DtdToHaskell.hs b/textproc/haxml/files/patch-src::tools::DtdToHaskell.hs new file mode 100644 index 000000000000..92914a3131e6 --- /dev/null +++ b/textproc/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" 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" 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" |