]> TLD Linux GIT Repositories - packages/ghc.git/blob - ghc-tld.patch
- updated source5
[packages/ghc.git] / ghc-tld.patch
1 --- ghc-7.6.1/aclocal.m4.orig   2012-09-04 19:10:14.000000000 +0200
2 +++ ghc-7.6.1/aclocal.m4        2012-09-27 19:18:53.993056656 +0200
3 @@ -154,7 +154,7 @@
4  [
5      checkArch() {
6          case [$]1 in
7 -        i386)
8 +        i386|i486|i586|i686)
9              test -z "[$]2" || eval "[$]2=ArchX86"
10              ;;
11          x86_64)
12 @@ -185,7 +185,7 @@
13  
14      checkVendor() {
15          case [$]1 in
16 -        dec|unknown|hp|apple|next|sun|sgi|ibm)
17 +        tld|dec|unknown|hp|apple|next|sun|sgi|ibm)
18              ;;
19          *)
20              echo "Unknown vendor [$]1"
21 --- ghc-6.12.1/libraries/terminfo/configure.ac~ 2009-09-15 08:09:05.000000000 +0200
22 +++ ghc-6.12.1/libraries/terminfo/configure.ac  2010-04-08 16:43:45.040705349 +0200
23 @@ -13,7 +13,8 @@
24      [curses_libraries=NONE])
25  
26  
27 -TERMINFO_INCLUDE_DIRS=
28 +TERMINFO_INCLUDE_DIRS=/usr/include/ncursesw
29 +CPPFLAGS="-I/usr/include/ncursesw $CPPFLAGS"
30  TERMINFO_LIB_DIRS=
31  if test "x$curses_libraries" != "xNONE"; then
32    LDFLAGS="-L$curses_libraries $LDFLAGS"
33 --- ghc-7.2.1/driver/split/ghc-split.lprl~      2011-08-07 19:10:05.000000000 +0200
34 +++ ghc-7.2.1/driver/split/ghc-split.lprl       2011-09-26 11:13:36.907176266 +0200
35 @@ -225,7 +225,7 @@
36                              if $TargetPlatform =~ /-apple-darwin/m;
37      return(&process_asm_block_m68k($str))  if $TargetPlatform =~ /^m68k-/m;
38      return(&process_asm_block_sparc($str)) if $TargetPlatform =~ /^sparc-/m;
39 -    return(&process_asm_block_iX86($str))  if $TargetPlatform =~ /^i[34]86-/m;
40 +    return(&process_asm_block_iX86($str))  if $TargetPlatform =~ /^i[3456]86-/m;
41      return(&process_asm_block_x86_64($str))  if $TargetPlatform =~ /^x86_64-/m;
42      return(&process_asm_block_alpha($str)) if $TargetPlatform =~ /^alpha-/m;
43      return(&process_asm_block_hppa($str))  if $TargetPlatform =~ /^hppa/m;