Commit graph

17 commits

Author SHA1 Message Date
dholland
41c6e246f4 Add patch comments. 2015-12-29 23:34:43 +00:00
dholland
566748979f Fix netbsd build by improving the gcc version extraction "logic". 2015-10-05 06:33:46 +00:00
dholland
a5ef90ff9d Update to 1.22.
Does not include all the changes in PR 45318, some of which need
further investigation.

pkgsrc changes:
   - update MASTER_SITES and HOMEPAGE
   - remove LP64 restriction (LP64 platforms are supported using -m32)
   - add destdir support (provided by upstream) and lift BROKEN
   - remove some pkglint
   - mark MAKE_JOBS_SAFE=no
   - add readline.bl3.mk
   - patch-ag was applied upstream
   - remove patch-ah and handle the issue involved a cleaner way

Caution: so far the LP64 build does not actually work yet, -m32
notwithstanding; it dies with
   PreludeList.init: empty list
   PreludeList.init: empty list
   PreludeList.init: empty list
i386 works though.

Upstream changes:

nhc98 1.22 (2010-07-09) features

    There are no new features, just an update to the current set of
    libraries as of the release date.

nhc98 1.20 (2007-11-22) features

    New: Pattern guards are supported.
    New: More hierarchical libraries have been added to the base package.
    Bugfix: Now builds on 64-bit machines (in 32-bit mode)
    Bugfix: Newer version of hmake (3.13)
    Bugfix: The evil mangler is now less evil (and more robust)
    Bugfix: Add a workaround for the hi-membug that caused build
            failures on many recent Linux platforms.
    Bugfix: Lexical error on varid _2a is fixed.
    Bugfix: Renaming bug in newtype A a = A a.
    Bugfix: hp2graph problem with x-axis resolution in interval (-i) sampling.
    Bugfix: hp2graph end-of-file parsing bug.
    New: The runtime system code is now documented using funnelweb.
2013-10-25 06:25:18 +00:00
dholland
b2895adefc Commit partial update to 1.22 so I can work on it on multiple
machines. Doesn't build yet, so leave the package marked BROKEN.
2013-10-25 04:09:14 +00:00
kristerw
97ac25438d Reorder two include files to make it compile on big endian NetBSD
machines.
2005-06-24 23:58:17 +00:00
kristerw
2c49d2bc15 Correct PLIST for ports other than i386.
Fix a build issue for Darwin.

Bump PKGREVISION.
2005-05-12 17:53:29 +00:00
kristerw
44796a62d6 Update nhc98 to 1.18.
Changes from 1.16:
# New: Several more packages of hierarchical libraries are included in
  the build: base, parsec, haskell-src, QuickCheck, HaXml, HUnit, Cabal.
# New: FFI improvements: foreign import "dynamic" is now supported, and
  named C header-files are now used.
# New: The compiler now uses cpphs for Haskell source instead of cpp. This
  removes problems with string gaps, primes in identifiers, and so on.
# New: In hmake-interactive, if the readline library is not available,
  the simple line editor now has a history mechanism.
# Bugfix: hmake's processing of cpp conditional directives is improved also.
# Bugfix: More evil bugfixes for gcc versions ? 3.3
# Bugfix: A numeric pattern can now match against a Num newtype.
# Bugfix: Foreign imports and abstract newtypes now play OK together.
# Bugfix: Methods in qualified classes no longer need to be qualified in
  instance decls.
# Bugfix: GreenCard now accepts <<.../...>> syntax.
2005-05-01 22:55:07 +00:00
kristerw
684686b004 Adjust for changes done in the pkgsrc infrastructure to make this
package build again.
2005-04-15 21:58:32 +00:00
kristerw
93f1a45e28 Fix build problem on NetBSD -current. 2004-01-16 20:03:59 +00:00
kristerw
5b0298a4bd Add patches from the nhc98 web page:
* A degenerate type synonym like type T a = a in some circumstances
  incorrectly caused an occurence check error.
* Several new features in gcc-3.3 cause breakage in the nhc98 build.
  This patch fixes many [but ot all] of those problems.

PKGREVISION++.
2004-01-16 00:59:18 +00:00
kristerw
8e3896d83a Fix multi-line strings and an incorrect function call identified by gcc3. 2004-01-03 09:50:39 +00:00
kristerw
71b9459671 Update nhc98 to 1.16.
Changes since 1.14a include:
* A large subset of the base package of hierarchical libraries is now
  included in the build.
* The primitive FFI mechanism has been updated to match the latest official
  spec, and the full Foreign libraries are also included (in hierarchical
  form).
* The library function List.sortBy now uses a stable O(n log n) mergesort.
* Numerous other small fixes, including revisions to the Haskell'98 standard.
2003-03-19 23:14:35 +00:00
jlam
9f7d95cdcd buildlink1 -> buildlink2, and use java.mk for proper Java handling. 2002-11-14 22:38:30 +00:00
kristerw
85ef20ea78 Update lang/nhc98 to version 1.14a.
Changes since version 1.06 include:
* Lots of bugfixes.
* The Hat tracing system is now entirely separate from the nhc98 compiler
  (and is thus not included in the package)
2002-08-25 16:12:01 +00:00
wiz
5ba959ffa6 Buildlinkify. 2001-12-26 01:04:54 +00:00
jtb
d22138014b Update to version 1.06.
Changes include:

* Updated  the  Prelude/Libraries  to  match the newly revised
  Haskell'98 Report.
* Default  build  target  is  now  basic + tracer (was just basic).
* Building  with  gcc  now  builds  everything  with  gcc, including
  profiling and tracing. This is much faster.
* Bugfixes.
2001-07-15 12:40:20 +00:00
jtb
27f4a9031e Update to nhc98-1.04.
nhc98 1.04 (2001-05-21) features

     * New:   Support   for   extended  module  namespaces  of  the  form
       Long.Hierarchical.Module.Name  is  now  provided in both nhc98 and
       hmake.
     * Update: Improved printing of I/O error messages.
     * Update: Improved (more accurate) time profiling now provided.
     * Bugfix:  An  identifier  hidden  on  import  and  redefined in the
       current  module,  then  exported,  but also imported qualified and
       used  qualified  in  the  current  module,  led  to  an  incorrect
       interface file being generated.
     * Bugfix:  hmake  issued  an  unnecessary -cpp flag on some literate
       files.
     * Bugfix:  Type  of IO.hSetPosn :: Handle -> HandlePosn -> IO () was
       incorrect
     * Bugfix: Compile-time error in src/tracer/runtime/ident.c on RedHat
       7 and other systems using the new ISO C standard for fpos_t.
     * Bugfix: A file opened in ReadMode or WriteMode was actually opened
       in  ReadWriteMode,  so  if  the  file  had  strict permissions the
       correct   opening  command  would  fail.  Conversely,  opening  in
       ReadWriteMode  actually  gave  ReadMode  instead, and file updates
       silently failed.
     * Bugfix:  Operator  sections  suffered from priority inversion, for
       example  (^2*3)  was incorrectly parsed as (^(2*3)), even though ^
       binds more tightly than *.
     * Bugfix:   The   library  function  Directory.createDirectory  gave
       strange  permissions  to  the new directory. (Mode was in hex, but
       should have been octal!)

   The  following  updates  and  bugfixes  are  specifically for Hat, the
   redex-trail-based tracing and debugging system.
     * New architecture: Traced programs now build their trails in files,
       not  in  the  heap.  This has four consequences: (1) you no longer
       need  to  give your program large amounts of extra memory to trace
       it; but (2) you may need to have large amounts of free disk space,
       particularly  to  trace long-running programs; (3) for the moment,
       traced  programs  now  run  even slower (we are working to improve
       this);  and  (4)  trails are now first-class objects, so new tools
       can  manipulate  them  to  provide  several different views of the
       computation.
     * New  tools:  Storing trails in files means we can now provide more
       tools  to  examine  them.  The  original  graphical browser is now
       renamed hat-trail, and can fully explore the redex trails in file.
       hat-stack  gives  a virtual stack back-trace from a trail file (no
       need  to  re-run  the  program).  hat-observe  gives you HOOD-like
       observation  of  the  input  and output from functions. hat-detect
       does algorithmic debugging in the style of Freja; it discovers and
       identifies  the  location  of  a  bug after asking you some simple
       questions.  hat-check  verifies  the  integrity of the trail file,
       prints a textual dump, and gives statistics about its contents.
     * Update:   Fuller  Standard  Library  support  for  tracing:  added
       Directory, System, CPUTime, Random. (Still missing: Time, Locale.)
     * Update:  More  Haskell'98  language  features  are accepted: named
       fields  can  now  be traced, although the hat tools don't yet show
       them in source form. Pattern bindings are also handled better.
     _________________________________________________________________
2001-05-22 00:45:54 +00:00