diff options
author | obraun <obraun@FreeBSD.org> | 2004-02-22 23:36:33 +0800 |
---|---|---|
committer | obraun <obraun@FreeBSD.org> | 2004-02-22 23:36:33 +0800 |
commit | 9f94222d9d0109dd9552d2b349c983137f26fe9f (patch) | |
tree | 6b52a086b5af5052b719a9f27a07d3793b95d6ff /textproc/hs-HaXml | |
parent | 402e2b92b98637cee7757430443ea28dd598bea7 (diff) | |
download | freebsd-ports-gnome-9f94222d9d0109dd9552d2b349c983137f26fe9f.tar.gz freebsd-ports-gnome-9f94222d9d0109dd9552d2b349c983137f26fe9f.tar.zst freebsd-ports-gnome-9f94222d9d0109dd9552d2b349c983137f26fe9f.zip |
* Remove forgotten patch and BROKEN.
Submitted by: bento via kris
Pointy hat to: me
Diffstat (limited to 'textproc/hs-HaXml')
-rw-r--r-- | textproc/hs-HaXml/Makefile | 2 | ||||
-rw-r--r-- | textproc/hs-HaXml/files/patch-src::tools::Xtract | 34 |
2 files changed, 0 insertions, 36 deletions
diff --git a/textproc/hs-HaXml/Makefile b/textproc/hs-HaXml/Makefile index 93081fe8cbd1..03bd08a12355 100644 --- a/textproc/hs-HaXml/Makefile +++ b/textproc/hs-HaXml/Makefile @@ -16,8 +16,6 @@ DISTNAME= HaXml-${PORTVERSION} MAINTAINER= obraun@FreeBSD.org COMMENT= A collection of utilities for using Haskell and XML together -BROKEN= "Patch fails" - USE_SIZE= yes USE_REINPLACE= yes HAS_CONFIGURE= yes diff --git a/textproc/hs-HaXml/files/patch-src::tools::Xtract b/textproc/hs-HaXml/files/patch-src::tools::Xtract deleted file mode 100644 index a84ee6beb403..000000000000 --- a/textproc/hs-HaXml/files/patch-src::tools::Xtract +++ /dev/null @@ -1,34 +0,0 @@ -Index: src/tools/Xtract.hs -=================================================================== -RCS file: /home/cvs/root/HaXml/src/tools/Xtract.hs,v -retrieving revision 1.3 -diff -u -r1.3 Xtract.hs ---- src/tools/Xtract.hs 2 Oct 2002 10:24:06 -0000 1.3 -+++ src/tools/Xtract.hs 27 Aug 2003 16:27:55 -0000 -@@ -11,7 +11,7 @@ - import Text.XML.HaXml.Parse (xmlParse) - import Text.XML.HaXml.Html.Parse (htmlParse) - import Text.XML.HaXml.Xtract.Parse (parseXtract) --import Text.PrettyPrint.HughesPJ (render, vcat) -+import Text.PrettyPrint.HughesPJ (render, vcat, hcat, empty) - import Text.XML.HaXml.Pretty (content) - import Text.XML.HaXml.Html.Generate (htmlprint) - -@@ -40,7 +40,7 @@ - ( if isHTML x then - hPutStrLn stdout . render . htmlprint . - dfilter htmlSelection . getElem . htmlParse x -- else hPutStrLn stdout . render . vcat . map content . -+ else hPutStrLn stdout . render . format . - dfilter xmlSelection . getElem . xmlParse x) c) - files - -@@ -48,3 +48,8 @@ - isHTML x = ".html" `isSuffixOf` x || ".htm" `isSuffixOf` x - - dfilter f = \x-> f x x -+ -+format [] = empty -+format cs@(CString _ _:_) = hcat . map content $ cs -+format cs@(CRef _:_) = hcat . map content $ cs -+format cs = vcat . map content $ cs |