X-Git-Url: https://git.tld-linux.org/?p=packages%2Fghc.git;a=blobdiff_plain;f=ghc-winpaths.patch;fp=ghc-winpaths.patch;h=0000000000000000000000000000000000000000;hp=8239af348abf577263f6cf4fd3cdaa10705542db;hb=9429bba41e65f6da4bac83ad70c061ef939f57e4;hpb=e16e56b007134db40e0590ba2306285cce8cb3cf diff --git a/ghc-winpaths.patch b/ghc-winpaths.patch deleted file mode 100644 index 8239af3..0000000 --- a/ghc-winpaths.patch +++ /dev/null @@ -1,64 +0,0 @@ -diff -ur ghc-7.2.1-winpaths/docs/users_guide/ghci.xml ghc-7.2.1/docs/users_guide/ghci.xml ---- ghc-7.2.1-winpaths/docs/users_guide/ghci.xml 2011-09-26 17:55:05.824214356 +0200 -+++ ghc-7.2.1/docs/users_guide/ghci.xml 2011-08-07 19:10:05.000000000 +0200 -@@ -126,7 +126,7 @@ - directory of the shell from which it was started. If you started - GHCi from the “Start” menu in Windows, then the - current directory is probably something like -- C:\Documents and Settings\user -+ C:\\Documents and Settings\\user - name. then we will - need to change to the right directory in GHCi: - -diff -ur ghc-7.2.1-winpaths/docs/users_guide/packages.xml ghc-7.2.1/docs/users_guide/packages.xml ---- ghc-7.2.1-winpaths/docs/users_guide/packages.xml 2011-09-26 17:56:23.484450567 +0200 -+++ ghc-7.2.1/docs/users_guide/packages.xml 2011-08-07 19:10:05.000000000 +0200 -@@ -396,7 +396,7 @@ - systems this will be - $HOME/.ghc/arch-os-version/package.conf.d, and on - Windows it will be something like -- C:\Documents And Settings\user\ghc\package.conf.d. -+ C:\\Documents And Settings\\user\\ghc\\package.conf.d. - The ghc-pkg tool knows where this file should be - located, and will create it if it doesn't exist (see ). - -diff -ur ghc-7.2.1-winpaths/docs/users_guide/using.xml ghc-7.2.1/docs/users_guide/using.xml ---- ghc-7.2.1-winpaths/docs/users_guide/using.xml 2011-09-26 17:58:56.791496986 +0200 -+++ ghc-7.2.1/docs/users_guide/using.xml 2011-08-07 19:10:05.000000000 +0200 -@@ -72,7 +72,7 @@ - by directory separators). For example, the - module Data.Person would be in the - file Data/Person.hs on Unix/Linux/Mac, -- or Data\Person.hs on Windows. -+ or Data\\Person.hs on Windows. - - - -diff -ur ghc-7.2.1-winpaths/docs/users_guide/win32-dlls.xml ghc-7.2.1/docs/users_guide/win32-dlls.xml ---- ghc-7.2.1-winpaths/docs/users_guide/win32-dlls.xml 2011-09-26 17:58:03.182366314 +0200 -+++ ghc-7.2.1/docs/users_guide/win32-dlls.xml 2011-08-07 19:10:05.000000000 +0200 -@@ -14,7 +14,7 @@ - Be aware of that ghc and ghci do - require filenames containing spaces to be escaped using quotes: - -- c:\ghc\bin\ghci "c:\\Program Files\\Haskell\\Project.hs" -+ c:\\ghc\\bin\\ghci "c:\\Program Files\\Haskell\\Project.hs" - - If the quotes are left off in the above command, ghci will - interpret the filename as two, "c:\\Program" and "Files\\Haskell\\Project.hs". -@@ -134,13 +134,13 @@ - unix-style API on top of the windows libraries, to facilitate ports of - unix software to windows. To this end, they introduce a unix-style - directory hierarchy under some root directory (typically --/ is C:\cygwin\). Moreover, -+/ is C:\\cygwin\\). Moreover, - everything built against the cygwin API (including the cygwin tools - and programs compiled with cygwin's ghc) will see / as the root of - their file system, happily pretending to work in a typical unix - environment, and finding things like /bin and /usr/include without - ever explicitly bothering with their actual location on the windows --system (probably C:\cygwin\bin and C:\cygwin\usr\include). -+system (probably C:\\cygwin\\bin and C:\\cygwin\\usr\\include). - - -