]> git.pld-linux.org Git - packages/ghc.git/commitdiff
- moved to DEVEL
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 8 Apr 2010 15:32:17 +0000 (15:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ghc-pld.patch -> 1.9

ghc-pld.patch [deleted file]

diff --git a/ghc-pld.patch b/ghc-pld.patch
deleted file mode 100644 (file)
index 9b45591..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
---- ghc-6.12.1/configure.ac~   2009-12-10 19:11:33.000000000 +0100
-+++ ghc-6.12.1/configure.ac    2010-04-08 15:50:31.639124660 +0200
-@@ -274,7 +274,7 @@
- checkArch() {
-     case $1 in
--    alpha|arm|hppa|hppa1_1|i386|ia64|m68k|mips|mipseb|mipsel|powerpc|powerpc64|rs6000|s390|sparc|sparc64|vax|x86_64)
-+    alpha|arm|hppa|hppa1_1|i386|i486|i586|i686|ia64|m68k|mips|mipseb|mipsel|powerpc|powerpc64|rs6000|s390|sparc|sparc64|vax|x86_64)
-         ;;
-     *)
-         echo "Unknown arch $1"
-@@ -285,7 +285,7 @@
- checkVendor() {
-     case $1 in
--    dec|unknown|hp|apple|next|sun|sgi|ibm)
-+    pld|dec|unknown|hp|apple|next|sun|sgi|ibm)
-         ;;
-     *)
-         echo "Unknown vendor $1"
---- ghc-6.12.1/libraries/terminfo/configure.ac~        2009-09-15 08:09:05.000000000 +0200
-+++ ghc-6.12.1/libraries/terminfo/configure.ac 2010-04-08 16:43:45.040705349 +0200
-@@ -13,7 +13,8 @@
-     [curses_libraries=NONE])
--TERMINFO_INCLUDE_DIRS=
-+TERMINFO_INCLUDE_DIRS=/usr/include/ncursesw
-+CPPFLAGS="-I/usr/include/ncursesw $CPPFLAGS"
- TERMINFO_LIB_DIRS=
- if test "x$curses_libraries" != "xNONE"; then
-   LDFLAGS="-L$curses_libraries $LDFLAGS"
---- ghc-6.12.1/driver/mangler/ghc-asm.lprl.orig        2009-12-10 19:11:33.000000000 +0100
-+++ ghc-6.12.1/driver/mangler/ghc-asm.lprl     2010-04-08 17:18:20.029978739 +0200
-@@ -65,7 +65,7 @@
- $ifile = $ARGV[0];
- $ofile = $ARGV[1];
--if ( $TargetPlatform =~ /^i386-/m ) {
-+if ( $TargetPlatform =~ /^i[3456]86-/m ) {
-     if ($ARGV[2] eq '') {
-       $StolenX86Regs = 4;
-     } else {
-@@ -134,7 +134,7 @@
-     $T_HDR_vector   = "\t.SPACE \$TEXT\$\n\t.SUBSPA \$CODE\$\n\t\.align 4\n";
-     #--------------------------------------------------------#
--    } elsif ( $TargetPlatform =~ /^i386-.*-(linuxaout|freebsd2|nextstep3|cygwin32|mingw32)$/m ) {
-+    } elsif ( $TargetPlatform =~ /^i[3456]86-.*-(linuxaout|freebsd2|nextstep3|cygwin32|mingw32)$/m ) {
-                               # NeXT added but not tested. CaS
-     $T_STABBY     = 1; # 1 iff .stab things (usually if a.out format)
-@@ -160,7 +160,7 @@
-     $T_HDR_vector   = "\.text\n\t\.align 4\n"; # NB: requires padding
-     #--------------------------------------------------------#
--    } elsif ( $TargetPlatform =~ /^i386-.*-(solaris2|linux|gnu|freebsd|dragonfly|netbsd|openbsd|kfreebsdgnu)$/m ) {
-+    } elsif ( $TargetPlatform =~ /^i[3456]86-.*-(solaris2|linux|gnu|freebsd|dragonfly|netbsd|openbsd|kfreebsdgnu)$/m ) {
-     $T_STABBY     = 0; # 1 iff .stab things (usually if a.out format)
-     $T_US         = ''; # _ if symbols have an underscore on the front
-@@ -512,7 +512,7 @@
- print STDERR "T_PRE_APP: $T_PRE_APP\n";
- print STDERR "T_CONST_LBL: $T_CONST_LBL\n";
- print STDERR "T_POST_LBL: $T_POST_LBL\n";
--if ( $TargetPlatform =~ /^i386-/m ) {
-+if ( $TargetPlatform =~ /^i[3456]86-/m ) {
-     print STDERR "T_X86_PRE_LLBL_PAT: $T_X86_PRE_LLBL_PAT\n";
-     print STDERR "T_X86_PRE_LLBL: $T_X86_PRE_LLBL\n";
-     print STDERR "T_X86_BADJMP: $T_X86_BADJMP\n";
-@@ -871,7 +871,7 @@
-               $p =~ s/\t+$//m;
-               $r =~ s/^\s*\n//m;
--              if ($TargetPlatform =~ /^i386-/m) {
-+              if ($TargetPlatform =~ /^i[3456]86-/m) {
-                   if ($p =~ /^\tsubl\s+\$(\d+),\s*\%esp\n/m) {
-                       if ($1 >= 8192) {
-                           die "Error: reserved stack space exceeded!\n  Possible workarounds: compile with -fasm, or try another version of gcc.\n"
-@@ -1101,7 +1101,7 @@
-                 # etail holds code that is after the epilogue in the assembly-code
-                 # layout and should not be filtered as part of the epilogue.
-                 $etail = "";
--              if ($TargetPlatform =~ /^i386-/m) {
-+              if ($TargetPlatform =~ /^i[3456]86-/m) {
-                   $e =~ s/^\tret\n//m;
-                   $e =~ s/^\tpopl\s+\%edi\n//m;
-                   $e =~ s/^\tpopl\s+\%esi\n//m;
-@@ -1253,7 +1253,7 @@
-           #    blah_closure:
-           #           ...
-             #
--          if ( $TargetPlatform =~ /^(i386|sparc|powerpc)/m && $to_move =~ /${T_COPY_DIRVS}/m ) {
-+          if ( $TargetPlatform =~ /^(i[3456]86|sparc|powerpc)/m && $to_move =~ /${T_COPY_DIRVS}/m ) {
-               $j = $i + 1;
-               while ( $j < $numchks  && $chk[$j] =~ /$T_CONST_LBL/m) {
-                       $j++;
-@@ -1714,7 +1714,7 @@
-           s/^\tmovl\s+\$${T_US}(.*),\s*(\%e(ax|cx|si|di))\n\tjmp\s+\*\%r\3/\tjmp\t$T_US$1/gm;
-     }
--    if ( $TargetPlatform !~ /^i386-/m 
-+    if ( $TargetPlatform !~ /^i[3456]86-/m 
-       || ! /^\t[a-z]/m  # no instructions in here, apparently
-       || /^${T_US}__stginit_[A-Za-z0-9_]+${T_POST_LBL}/m) {
-       print OUTASM $_;
This page took 0.145746 seconds and 4 git commands to generate.