diff options
author | vs <vs@FreeBSD.org> | 2005-02-02 05:53:06 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-02-02 05:53:06 +0800 |
commit | dba197a1247c5c5095456cb3b5543072aab6ad45 (patch) | |
tree | 4985f4937bb93f18360929a103a166e0de80c933 /devel | |
parent | c89513b14d6a68974a9848778e7381099af32cfb (diff) | |
download | freebsd-ports-gnome-dba197a1247c5c5095456cb3b5543072aab6ad45.tar.gz freebsd-ports-gnome-dba197a1247c5c5095456cb3b5543072aab6ad45.tar.zst freebsd-ports-gnome-dba197a1247c5c5095456cb3b5543072aab6ad45.zip |
Fix build on 5.x
Submitted by: girgen
Diffstat (limited to 'devel')
-rw-r--r-- | devel/hs-haddock/files/patch-src::HaddockUtil.hs | 16 | ||||
-rw-r--r-- | devel/hs-haddock/files/patch-src::HaddockVersion.hs | 9 | ||||
-rw-r--r-- | devel/hs-haddock/files/patch-src::Main.hs | 12 |
3 files changed, 37 insertions, 0 deletions
diff --git a/devel/hs-haddock/files/patch-src::HaddockUtil.hs b/devel/hs-haddock/files/patch-src::HaddockUtil.hs new file mode 100644 index 000000000000..36f465dc242b --- /dev/null +++ b/devel/hs-haddock/files/patch-src::HaddockUtil.hs @@ -0,0 +1,16 @@ +--- haddock/src/HaddockUtil.hs.orig Tue Feb 1 22:15:52 2005 ++++ haddock/src/HaddockUtil.hs Tue Feb 1 22:35:29 2005 +@@ -188,12 +188,7 @@ + + moduleHeaderRE :: Regex + moduleHeaderRE = mkRegexWithOpts +- "^([ \t\n]*Module[ \t]*:.*\n)?\ +- \([ \t\n]*Copyright[ \t]*:.*\n)?\ +- \([ \t\n]*License[ \t]*:.*\n)?\ +- \[ \t\n]*Maintainer[ \t]*:(.*)\n\ +- \[ \t\n]*Stability[ \t]*:(.*)\n\ +- \[ \t\n]*Portability[ \t]*:([^\n]*)\n" ++ "^([ \t\n]*Module[ \t]*:.*\n)?([ \t\n]*Copyright[ \t]*:.*\n)?([ \t\n]*License[ \t]*:.*\n)?[ \t\n]*Maintainer[ \t]*:(.*)\n[ \t\n]*Stability[ \t]*:(.*)\n[ \t\n]*Portability[ \t]*:([^\n]*)\n" + True -- match "\n" with "." + False -- not case sensitive + -- All fields except the last (Portability) may be multi-line. diff --git a/devel/hs-haddock/files/patch-src::HaddockVersion.hs b/devel/hs-haddock/files/patch-src::HaddockVersion.hs new file mode 100644 index 000000000000..af35a261848f --- /dev/null +++ b/devel/hs-haddock/files/patch-src::HaddockVersion.hs @@ -0,0 +1,9 @@ +--- haddock/src/HaddockVersion.hs.orig Tue Feb 1 22:39:03 2005 ++++ haddock/src/HaddockVersion.hs Tue Feb 1 22:39:27 2005 +@@ -14,5 +14,4 @@ + + -- The version comes in via CPP from mk/version.mk + projectVersion :: String +-projectVersion = tail "\ +- \ HADDOCK_VERSION" ++projectVersion = tail "HADDOCK_VERSION" diff --git a/devel/hs-haddock/files/patch-src::Main.hs b/devel/hs-haddock/files/patch-src::Main.hs new file mode 100644 index 000000000000..90df1ca4fadd --- /dev/null +++ b/devel/hs-haddock/files/patch-src::Main.hs @@ -0,0 +1,12 @@ +--- haddock/src/Main.hs.orig Tue Feb 1 22:42:31 2005 ++++ haddock/src/Main.hs Tue Feb 1 22:42:50 2005 +@@ -460,8 +460,7 @@ + + when (not (null name_strings)) $ + tell ["Warning: " ++ show mdl ++ +- ": the following names could not be resolved:\n\ +- \ " ++ concat (map (' ':) name_strings) ++ ": the following names could not be resolved:\n" ++ concat (map (' ':) name_strings) + ] + + return (mdl, Interface { |