Commit graph

6007 commits

Author SHA1 Message Date
ryoon
69cb28b82c Import newlisp-10.3.3 as lang/newlisp from wip/newlisp.
newLISP is a Lisp-like, general-purpose scripting language. It is
especially well-suited for applications in AI, web search, natural
language processing, and machine learning. Because of its small
resource requirements, newLISP is also excellent for embedded
systems applications. Most of the functions you will ever need are
already built in. This includes networking functions, support for
distributed and parallel processing, and Bayesian statistics.
2011-10-11 13:03:18 +00:00
ryoon
64f002dc66 Add algol68g 2011-10-11 12:45:11 +00:00
ryoon
ee2d6b0323 Import algol68g-2.3.1 as lang/algol68g from wip/algol68g
The development of Algol played an important role in establishing
computer science as an academic discipline. The Algol 68 Genie
project preserves Algol 68 out of educational as well as
scientific-historical interest, by making available Algol 68 Genie;
a recent, well-featured implementation written from scratch. Algol
68 Genie is a practically full implementation of the language
defined by the Revised Report. The implementation is a hybrid
compiler-interpreter; units with considerable interpreter-overhead
can optionally be compiled.

Thanks for your work, Olaf Seibert.
2011-10-11 12:43:50 +00:00
hauke
133a47f6ea On m68k, gcc creates short assembler branch insns, and expects the
assembler to adapt them to the distance. m68k gas appears not to do
that for fpu branch insns, resulting in an out-of-range FPU assembler
branch instruction error in "ext/re/re_exec.c".

As a workaround, building with "-Os" instead of "-O2" reduces the size
of the object file enough to allow short branches.

See PR toolchain/45439.
2011-10-11 10:02:13 +00:00
cheusov
ef1892664b Update to 1.3.2
Internal arrays are relocated automatically.
  This fixes use of runawk(1) in combination with xargs(1), e.g.
  cat files.txt | xargs runawk -e '...'
2011-10-09 12:28:05 +00:00
cheusov
98589abbad Update my email 2011-10-09 10:02:44 +00:00
jklos
9e67ff9ce2 Atomic operations via gcc are not supported on many archs. Allow them only
on amd64, powerpc, i386 and alpha.
2011-10-06 05:34:00 +00:00
marino
40e14f898f Add x86-Solaris and symbolic traceback support
This changeset addresses several things:
1) Adds support for x86-Solaris (Namely OpenIndiana)
2) Properly implements run-time symbolic traceback support
3) Arranges makefile so patches can be handled in a standard fashion
4) Properly implements MAKE_JOBS which reduces build times by 66%+ on
   the quad-core test machine (30 minutes down to < 10 minutes)
2011-10-05 18:11:55 +00:00
hans
881258c0be Fix build on SunOS 5.10 2011-10-04 14:06:47 +00:00
dholland
0654e0e108 Belated revbump for Makefile rev 1.45 (from January), which changed
the linkage of the package and gives me a non-broken liblua.so on
current. The one I had around from sometime last year had broken
compatibility references in it.
2011-10-03 04:29:24 +00:00
dsainty
fa63a0d9ad Debian (and therefore Ubuntu) have taken to hiding some libraries
awkwardly, leading to Python 2.6 failing to build.

Python 2.7 builds ok, because it has been taught to deal with this.
This patch retro-fits the 2.7 code into 2.6, and allows 2.6 to build on
Ubuntu 11.04.

Ok'd by wiz@
2011-10-01 03:11:15 +00:00
yyamano
958156640a Make this build on Mac OS X Lion. Same issue as pkg/45389.
It is not a leaf package, but the changes affect Mac OS X only.
Test builds on 10.5/i386, 10.7/i386 and 10.7/x86_64 (thanks ryoon@).
2011-09-30 08:37:24 +00:00
yyamano
7185c82bbd Make this build on Mac OS X Lion. Fixes PR pkg/45389.
It is not a leaf package, but the changes affect Mac OS X only.
Test builds on 10.5/i386, 10.6/i386 (thanks tron@), 10.7/i386 and
10.7/x86_64 (thanks ryoon@).
2011-09-30 08:34:26 +00:00
yyamano
15bcd633e2 Apply patches provided by ryoon@ with some modifications to upgrade to
Scala 2.9.1 from 2.8.1. PR pkg/45379

Scala 2.9.0 final

The Scala 2.9.0 codebase includes several additions, notably the new
Parallel Collections, but it also introduces improvements on many
existing features, and contains many bug fixes:

  * Parallel Collections
  * The App Trait
  * The DelayedInit Trait
  * Repl Improvements
  * Scala Runner
  * Java Interop
  * Generalized try-catch-finally
  * New packages: scala.sys and scala.sys.process, which are imported
    from sbt.Process.
  * New methods in collections: collectFirst, maxBy, minBy, span, inits,
    tails, permutations, combinations, subsets
  * AnyRef specialization:

See http://www.scala-lang.org/node/9483 for more details.

Scala 2.9.1 final

The 2.9.1 release of Scala includes many bug fixes and improvements,
in particular to the interpreter: most of the interpreter changes
available in the development mainline have been ported to the 2.9.x
release branch.

See http://www.scala-lang.org/node/10780 for more details.

Note: the interpreter option '-i' may behave incorrectly in this
version. In case you require it, please just add the option
'-Yrepl-sync' to your command line as well.
2011-09-30 07:56:13 +00:00
adam
f314fe2f52 Changes 5.14.2:
* File::Glob::bsd_glob() memory error with GLOB_ALTDIRFUNC (CVE-2011-2728).
* Encode decode_xs n-byte heap-overflow (CVE-2011-2939)
2011-09-29 07:17:26 +00:00
abs
911d59eea0 Fix PLIST in the jce + amd64 case 2011-09-26 13:06:52 +00:00
joerg
196494efd2 Redo patch for ctype.h changes on NetBSD. The previous patch could
result e.g. in intmax_t getting defined only in namespace std and broke
the festival build.
2011-09-24 19:32:49 +00:00
joerg
7278c78dfb Fix build on NetBSD/current by copying gcc34's patch-ac. 2011-09-21 13:38:48 +00:00
dsainty
b74fbea8e1 If building with threads support, add PTHREAD_LDFLAGS to LDFLAGS.
Fixes build on Ubuntu 11.04.  Unlikely to have an effect on platforms that
already built, so no PKGREVISION bump.

Ok'd in freeze by wiz@
2011-09-20 11:31:13 +00:00
ryoon
aa6fc00eb4 Fix build on NetBSD/i386 5.99.55 and Darwin/11.0.1.
Tested on NetBSD/i386 5.99.55, Darwin/11.0.1, and NetBSD/i386 5.1.
2011-09-18 16:51:32 +00:00
brook
21e80ae392 The CPAN module DB_File tries to link against -ldb, but NetBSD does not
provide a separate library so compilation fails.  Add a hints file to
correct the list of libraries used on NetBSD.
2011-09-17 18:51:35 +00:00
bsiegert
2f02c8b515 Add MirBSD support here, too, same as in python26. 2011-09-16 19:17:52 +00:00
adam
faf8ae6ee8 Fix for intereger overflow when compiled with Clang 2011-09-16 10:08:20 +00:00
adam
2d2bb01221 One again, fix for Clang and interger overflow, this time is should be correct 2011-09-16 08:50:44 +00:00
enami
3eaaee9f5d - Update gauche to 0.9.2. See below for the list of changes.
- Replace the HOMEPAGE with the url used in the document
  such as README etc.
- Drop minoura@ from MAINTAINER as per his request on twitter.


Brief summary of Gauche 0.9.2:

 [New Features]
     * Case mapping and character properties are fully supported,
       compatible to R6RS and R7RS draft (both based on Unicode
       standard).  Character-wise case mapping (char-upcase etc.) and
       property queries (char-alphabetic?, char-general-category,
       etc.) are built-in.  Context-aware string case mapping
       (string-upcase etc.) is provided in the new text.unicode
       module. (Note: srfi-13's string-upcase etc.  are unchanged;
       they are defined to use simple case mappings.) The text.unicode
       module also provides conversion between utf-8/utf-16 and
       Unicode codepoints.
     * Windows binary distribution is now in MS installer (*.msi)
       format, created with WiX. It's safer than the previous *.exe
       format created by NSIS, which had a bug that smashes PATH
       settings when it is too long.
     * A convenient wrapper for atomic execution is added in
       gauche.threads. See this intro post.
     * Benchmarking utilities resembles to Perl's Benchmark module is
       now available in gauche.time. See this post for an
       introduction.
     * with-lock-file: A long-awaited feature to use lock files
       conveniently. It is in file.util module.
     * Added full support of srfi-60, integer bitwise operations.
     * gauche.cgen: Some API that Gauche uses to generate C code
       become public. See the manual for the details.
 [Incompatibile Changes]
     * control.thread-pool: add-job! now takes timeout argument. If it
       is omitted and the job queue is full, add-job! blocks. It is a
       change from 0.9.1, in which add-job! returns immediately in
       such case. To get the same behavior, pass 0 explicitly to the
       timeout argument.  The argument order of wait-all is also
       changed to take timeout optional argument first. In 0.9.1 it
       never timeouts.
     * If --enable-multibyte flag is given to ./configure without
       explicit encoding, we now assume utf-8. It used to be
       euc-jp. This is for the consistency. We don't think this change
       affects many, for the document has always been told to give
       explicit encoding name for this option.
     * The --enable-ipv6 configure option is turned on by default. It
       shouldn't cause problems on modern OSes. If you ever get a compile
       error in gauche.net module on a platform that lacks modern API,
       specify --disable-ipv6 option to ./configure.
     * (This is an internal change of undocumented feature. We mention
       it just in case if some extension packages depend on this.) In
       the initialization code generated by genstub or precomp, it
       used to be possible to refer to the current module by mod. Now
       you should use Scm_CurrentModule() instead. Also,
       gauche.cgen.unit now doesn't include <gauche.h> automatically.
 [Improvements]
     * The compiler is improved to avoid creating a closure at
       execution time when it doesn't close local environment. For
       example, (map (^x (* x x)) lis) doesn't create a closure;
       instead, the internal lambda is compiled as if it is a
       toplevel-defined procedure. (Yeah, it's a simple lambda
       lifting. We didn't do it since it could slow down the
       compiler. Now the compiler is efficient enough to handle it.)
     * Supports zero or multi-argument unquote/unquote-splicing, as
       defined in R6RS.
     * sys-exec and sys-fork-and-exec now supports :detached keyword
       argument to make the child process detached from the parent's
       process group.
     * Buliltin reverse and reverse! takes optional list-tail
       argument.
     * A new builtin procedure map* that can deal with dotted list.
     * Common Lisp-like ecase macro is added.
     * The extended lambda formals (:key, :optional, etc) are now
       available in define-method as well.
     * New built-in function sys-clearenv, useful to fork subprocess
       securely.
     * rxmatch-case accepts (else => proc) form, just like case.
     * Socket address objects (e.g. <sockaddr-un>) can now be compared
       by equal? based on its content. Useful to put them in a
       hashtable, for example.
     * gauche.uvector: A new procedure uvector-copy! that can copy any
       type of uvectors.
     * gauche.test: A new test expected result constructor test-one-of
       allows to check if the test result matches any one of possible
       outcomes.
     * control.thread-pool: Now a pool raises <thread-pool-shut-down>
       condition if the pool has already be shut down and no longer
       accepting new jobs. terminate-all now takes :cancel-queued-jobs
       keyword argument to stop the pool immediately, instead of
       waiting for all the jobs to be finished. Canceled jobs are
       marked as killed . New APIs: thread-pool-results,
       thread-pool-shut-down?.
     * rfc.json: Allow construct-json to take optional output port for
       the consistency.
     * rfc.uri: A new procedure uri-merge that can be resolve a
       relative uri in regart to a base uri.
     * rfc.cookie: Recognize :http-only cookie attribute introduced in
       RFC6265.
     * Now the tilde `~' expansion of sys-normalize-pathname works on
       Windows as well to refer to the current user's home directory;
       it tries environment variables heuristically to find it. To
       refer to other user's home directory by ~user is still only
       available on Unix platforms, though.
     * util.combinations: combinations is optimized to handle leaf
       cases efficiently.
 [Bux fixes]
     * Fixed a bug that the number parser hangs when reading
       2.2250738585072012e-308.
     * Integer multiplication routine had a code that depended on
       undefined behavior of C; it worked on gcc but revealed the bug
       on clang-llvm.
     * Fixed a module bug on the visibility of bindings of extended
       modules.
     * gauche.parameter: Fixed a couple of bugs on parameter objects.
     * Numeric comparison procedures such as < didn't work correctly
       when more than four arguments were given. The bug was
       introduced by incorrect optimization.
     * Fixed bugs in lognot, logand, logior and logxor, which crashed
       when non-integer ratinoal numbers are passed.
     * port->string, port->string-list: These procedures returned
       prematurely when the input contains an illegal byte sequence
       for internal encoding. Now they return an incomplete string
       instead.
     * srfi-1: Some srfi-1 procedures that are built-in were not
       exported, causing errors when you wanted to import them
       selectively, e.g.  (use srfi-1 :only (fold)).
     * util.queue: Fixed list->queue to work.
     * binary.pack: Fixed a bug that the result may be truncated if
       the input contains byte sequences that can be interpreted as
       invalid character multibyte sequences.
     * srfi-42: Fixed a hygiene bug; the previous versions failed when
       only toplevel macros are imported using :only import option.
     * rfc.json: Fixed a bug that didn't escape double-quotes in the
       string, and didn't handle empty array.
     * Coding-aware ports didn't count lines correctly in CR-only or
       CRLF line endings.
     * Fixed a problem that caused crash after changing metaclasses of
       a class metaobject. An additional protection mechanism is in
       place in the class metaobject so that it won't be in an
       inconsistent state unexpectedly.
     * Fixed sys-setenv in which you couldn't omit the overwrite
       argument, even if it was described optional.
     * Fixed build problem of gauche.net on Solaris.
     * Fixed a bug in gauche-package that caused an error when
       *load-path* contained a nonexistent path.
     * Fixed a bug in string comparison routine that surfaces in a
       special architecture.
     * The printed output of <time> was incorrect when its value was
       negative.
     * There was a bug in the reader it reads ().() incorrectly.
     * Fixed a bug in format to allow ~* to position after the last
       argument.
     * Fixed GC compliation problem on OSX Lion.
2011-09-16 07:49:25 +00:00
hans
d588874303 No more sunaudiodev in Python 3.1 2011-09-14 17:09:07 +00:00
hans
2b251bca1e Teach configure about SunOS 5.11, preventing some pyconfig.h weirdness. 2011-09-14 17:06:32 +00:00
hans
afeb43b3fc Fix build on SunOS. Teach configure about SunOS 5.11, preventing some
pyconfig.h weirdness.
2011-09-14 17:00:20 +00:00
taca
271bdc3812 Make default Ruby on Rails version to 3; currently 3.0.10. 2011-09-14 16:51:50 +00:00
taca
48e8366f4c Switch default Ruby's version to 1.9.x, currently 1.9.2. 2011-09-14 16:50:18 +00:00
taca
43e909a9b7 Make PHP's default version to 5.3.x. 2011-09-14 16:44:26 +00:00
hans
ee8e4248b6 When building perl packages, never use native perl. 2011-09-14 15:41:36 +00:00
adam
e38a483915 Fix compiling with Clang: Python's issue 11149 2011-09-14 06:59:54 +00:00
taca
8aa8b36061 Now OVERRIDE_GEMSPEC can delete dependency in a gemspec file.
And a little documentation clean up.
2011-09-13 03:23:04 +00:00
taca
eec35b38b9 * Remove unused codes.
* Add support for deleting dependency to a ruby gem.
2011-09-13 03:18:29 +00:00
bsiegert
496f003e12 Fix build on MirBSD by adding the respective stanzas to configure and fix
building the select module.

Reviewed by Bernd Ernesti and Jörg Sonnenberger.
2011-09-12 20:14:06 +00:00
taca
6b79674599 Add some patches to fix build problem of databases/php-mssql with recent
updated databases/freetds.
2011-09-12 16:24:32 +00:00
obache
eaf5525133 Update sun-{jre,jdk} to 6.0.27.
Highlights
This update release contains important enhancements for java applications:
 * improved performance and stability
 * Certification for Firefox 5
Olson Data 2011g
2011-09-10 14:09:49 +00:00
obache
8128c12816 Fixes disabling pyexpat module.
PR pkg/45345 by Pierre Allegraud.

Bump PKGREVISION.
2011-09-10 11:23:12 +00:00
joerg
b7c52f8885 Kill one more warning flag for clang. 2011-09-08 00:14:34 +00:00
cheusov
eae3696138 PLIST fix for Linux 2011-09-06 09:52:04 +00:00
cheusov
5c228a61bf revert previous commit 2011-09-06 09:51:27 +00:00
cheusov
993918908f PLIST fix for Linux 2011-09-06 09:50:16 +00:00
joerg
4be4a03136 Include compiler.mk 2011-09-05 11:46:14 +00:00
dholland
450287fcfb void main 2011-09-05 00:15:37 +00:00
cheusov
7827725f0a For all packages based on mk-configure "configure" target is provided.
This fixes parallel builds.
2011-09-04 18:21:26 +00:00
taca
102ccc9bd6 Update ruby-rdoc pacakge to 3.9.4.
=== 3.9.4 / 2011-08-26

* Bug fixes
  * Applied typo and grammar fixes from Luke Gruber.  Ruby bug #5203
2011-09-04 17:04:18 +00:00
taca
4cd323dc62 Fix handling of String in ruby_code() as recent rubygems.
(From rubygem's repository,  6ff4e0eed52ef066fe33.)

Bump PKGREVISION.
2011-09-04 17:02:39 +00:00
joerg
349ddd4cda Disable a bunch of default warnings for clang. Still doesn't finish
build, since the bootstrap VM crashes with Stack Overflow error.
2011-08-31 14:48:04 +00:00
joerg
d49c660e09 With clang, disable -OPT:Olimit usage as it disables the build of
unicodedata for reasons not completely understood. It doesn't really
make sense for the compiler, so just don't use it.
2011-08-31 14:45:27 +00:00