Bug 81474 - lang/ghc5: fix for compilation on FreeBSD 5.x
Summary: lang/ghc5: fix for compilation on FreeBSD 5.x
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-25 18:30 UTC by Johan van Selst
Modified: 2005-05-25 23:03 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (13.74 KB, patch)
2005-05-25 18:30 UTC, Johan van Selst
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Johan van Selst 2005-05-25 18:30:01 UTC
	[Cc: maintainer, simonmar@microsoft.com]

	The way Haskell uses backslashes to format multi-line strings
	is not compatible with the latest cpp strictness.

	This patch changes multi-line strings to use string concatenation.
	It introduces no functional changes, but assures compilation
	of ghc5 on FreeBSD-STABLE machines as well.

Fix: Multi-line strings are frequently used. This creates 6 patchfiles:
		files/patch-ghc_compiler_ghci_InteractiveUI.hs
		files/patch-ghc_compiler_ndpFlatten_Flattening.hs
		files/patch-ghc_utils_ghc-pkg_Main.hs
		files/patch-ghc_utils_hsc2hs_Main.hs
		files/patch-libraries_base_Data_List.hs
		files/patch-ghc_rts_Profiling.c		# fixes a gcc warning
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2005-05-25 20:47:36 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

lock
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2005-05-25 23:03:05 UTC
State Changed
From-To: open->closed

Committed, thanks!