mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Fix build on 5.x
Submitted by: girgen
This commit is contained in:
parent
6a68d2a650
commit
3006b4dde9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127876
16
devel/hs-haddock/files/patch-src::HaddockUtil.hs
Normal file
16
devel/hs-haddock/files/patch-src::HaddockUtil.hs
Normal file
@ -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.
|
9
devel/hs-haddock/files/patch-src::HaddockVersion.hs
Normal file
9
devel/hs-haddock/files/patch-src::HaddockVersion.hs
Normal file
@ -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"
|
12
devel/hs-haddock/files/patch-src::Main.hs
Normal file
12
devel/hs-haddock/files/patch-src::Main.hs
Normal file
@ -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 {
|
Loading…
Reference in New Issue
Block a user