The NetBSD Project

CVS log for pkgsrc/lang/ghc7/patches/Attic/patch-rts_ghc.mk

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / lang / ghc7 / patches

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.7, Sun Dec 29 16:59:09 2019 UTC (6 months ago) by pho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED

Update to GHC 7.10.3

Changes from 7.6.3 are as follows:
* https://www.haskell.org/ghc/docs/7.8.1/html/users_guide/release-7-8-1.html
* https://www.haskell.org/ghc/docs/7.8.2/html/users_guide/release-7-8-2.html
* https://www.haskell.org/ghc/docs/7.8.3/html/users_guide/release-7-8-3.html
* https://www.haskell.org/ghc/docs/7.8.4/html/users_guide/release-7-8-4.html
* https://www.haskell.org/ghc/docs/7.10.1/html/users_guide/release-7-10-1.html
* https://downloads.haskell.org/~ghc/7.10.2/docs/html/users_guide/release-7-10-2.html
* https://downloads.haskell.org/~ghc/7.10.3/docs/html/users_guide/release-7-10-3.html

Revision 1.5.10.1 / (download) - annotate - [select for diffs], Mon May 23 04:57:18 2016 UTC (4 years, 1 month ago) by bsiegert
Branch: pkgsrc-2016Q1
Changes since 1.5: +20 -6 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Pullup ticket #4991 - requested by joerg
lang/ghc7: build fix

Revisions pulled up:
- lang/ghc7/Makefile                                            1.25
- lang/ghc7/distinfo                                            1.14
- lang/ghc7/patches/patch-libffi_ghc.mk                         1.1
- lang/ghc7/patches/patch-rts_ghc.mk                            1.6

---
   Module Name:	pkgsrc
   Committed By:	joerg
   Date:		Sat May  7 10:02:06 UTC 2016

   Modified Files:
   	pkgsrc/lang/ghc7: Makefile distinfo
   	pkgsrc/lang/ghc7/patches: patch-rts_ghc.mk
   Added Files:
   	pkgsrc/lang/ghc7/patches: patch-libffi_ghc.mk

   Log Message:
   Fix libffi linkage, so that it actually picks up the right version and
   includes the rpath. Seen by a not so happy devel/happy. Bump revision.

Revision 1.6 / (download) - annotate - [select for diffs], Sat May 7 10:02:06 2016 UTC (4 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2
Changes since 1.5: +20 -6 lines
Diff to previous 1.5 (colored)

Fix libffi linkage, so that it actually picks up the right version and
includes the rpath. Seen by a not so happy devel/happy. Bump revision.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Feb 6 01:24:48 2015 UTC (5 years, 4 months ago) by pho
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1
Branch point for: pkgsrc-2016Q1
Changes since 1.4: +4 -23 lines
Diff to previous 1.4 (colored)

patches/patch-rts_ghc.mk: dtrace hack is no longer needed

The problem only occurs when $(WhatGccIsCalled) is an absolute path to
the "real" gcc (e.g. "/usr/bin/gcc"), which happens if we run
${WRKSRC}/configure with an option something like
"--with-gcc=/usr/bin/gcc". As long as we use "--with-gcc" with a
command name (i.e. ${CC}, not ${CCPATH}), everything works fine
without any problems.

This is because dtrace(1) executes cpp in a rather weird way: it calls
execvp("/usr/bin/gcc", argv) with argv set to {"gcc", "-E", "-xc",
...}, not {"/usr/bin/gcc", "-E", "-xc", ...}.

When GCC is called that way, it needs to find platform-specific
subprograms by walking through ${PATH}. And if it sees an executable
named "gcc" which in fact isn't actually gcc, it gets confused and
dies with an error:

  % cat dtrace-emu.c
  #include <unistd.h>
  #include <stdio.h>
  int main() {
      char *argv[] = {"gcc", "-E", NULL};
      execvp("/usr/bin/gcc", argv);
      return 0;
  }
  % gcc dtrace-emu.c -o /tmp/gcc
  % /tmp/gcc
  powerpc-apple-darwin9-gcc-4.0.1: no input files
  % PATH=/tmp/gcc /tmp/gcc
  gcc: installation problem, cannot exec '/tmp/powerpc-apple-darwin9-gcc-4.0.1':
  No such file or directory

And even if the problem should really be addressed, it should be done
in the wrapper framework because dtrace(1) is actually a part of
compiler toolchain.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Feb 5 17:45:20 2015 UTC (5 years, 4 months ago) by pho
Branch: MAIN
Changes since 1.3: +30 -6 lines
Diff to previous 1.3 (colored)

patches/patch-rts_ghc.mk: Fix build failure on Darwin

See the comment for details.

Revision 1.3 / (download) - annotate - [select for diffs], Sat May 24 04:49:40 2014 UTC (6 years, 1 month ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Brace expansion is not supported by Bourne shell.

Revision 1.2 / (download) - annotate - [select for diffs], Wed May 21 16:07:59 2014 UTC (6 years, 1 month ago) by jperkin
Branch: MAIN
Changes since 1.1: +20 -3 lines
Diff to previous 1.1 (colored)

Apply a number of fixes:

  * Install the libffi libtool archive.  Whilst it is unused, it allows
    us to automatically determine the shared library suffix.

  * Switch the i386 SunOS bootstrap to .xz.

  * Use PKG_CC to build lndir to help environments where the compiler is
    not in $PATH.

  * Apply patch from Alain O'Dea to fix issues with files residing on
    read-only file systems.

  * Support shared libraries on 64-bit SunOS.

  * Fix typo in patches/patch-rts_Linker.c.

Fixes build on SunOS.  Bump PKGREVISION.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Dec 12 12:47:17 2013 UTC (6 years, 6 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4

Import ghc-7.6.3 as lang/ghc7.
Based on wip/ghc, mostly worked by phonohawk, with patches from jperkin@.
And some modifications and buit of Bootstrap binaries for 7.6.3 by me.

GHC: The Glasgow Haskell Compiler.

The Glasgow Haskell Compiler is a robust, fully-featured, optimising
compiler for the functional programming language Haskell 98
(http://www.haskell.org). GHC compiles Haskell to either native code
or C. It implements numerous experimental language extensions to
Haskell, including concurrency, a foreign language interface, several
type-system extensions, exceptions, and so on. GHC comes with a
generational garbage collector, a space and time profiler, and a
comprehensive set of libraries.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>