* Add patch to build DtdToHaskell correctly.
* bump PORTREVISION. Approved by: dwcjr (mentor)
This commit is contained in:
parent
8b18dedea6
commit
63d4cbfaa1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65487
@ -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/
|
||||
|
13
textproc/haxml/files/patch-src::tools::DtdToHaskell.hs
Normal file
13
textproc/haxml/files/patch-src::tools::DtdToHaskell.hs
Normal file
@ -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"
|
@ -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/
|
||||
|
13
textproc/hs-HaXml/files/patch-src::tools::DtdToHaskell.hs
Normal file
13
textproc/hs-HaXml/files/patch-src::tools::DtdToHaskell.hs
Normal file
@ -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"
|
@ -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/
|
||||
|
13
textproc/hs-haxml/files/patch-src::tools::DtdToHaskell.hs
Normal file
13
textproc/hs-haxml/files/patch-src::tools::DtdToHaskell.hs
Normal file
@ -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"
|
Loading…
Reference in New Issue
Block a user