Commit graph

6541 commits

Author SHA1 Message Date
fhajny
36fb10a7cd Add support for readline (for interactive PHP CLI).
Add support for DTrace.
2012-07-25 13:01:05 +00:00
he
1f5fd923cf Update parrot to version 4.4.0.
Pkgsrc changes -- minor adaptation to installed files.

Upstream changes:
  - Core
      + Most internal calls to libc exit(x) have been replaced with
        Parrot_x_* API calls or PARROT_FORCE_EXIT
  - Documentation
      + 'pdd31_hll.pod' made stable in 'docs/pdds/'.
      + Updated main 'README' to 'README.pod'
      + Updated various dependencies, e.g., 'lib/Parrot/Distribution.pm'.
      + Updated all 'README' files to 'README.pod' files.
      + Added 'README.pod' files to top-level directories.
  - Tests
      + Update various tests to pull from new 'README.pod'
      + Updated 't/tools/install/02-install_files.t' to pull from new
        'README.pod'
  - Community
  - Platforms
  - Tools
      + pbc_merge has been fixed to deduplicate constant strings and
        merge annotations segments
2012-07-25 11:41:19 +00:00
taca
421d7a3d65 Update PHP53_VERSION and PHP54_VERSION noted by Uwe Klaus. 2012-07-25 10:50:12 +00:00
taca
236c7292f0 Update ruby18-base package to 1.8.7.370 (Ruby 1.8.7pl370).
No security fix, but bug fix only,


Fri Jun 29 21:26:05 2012  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* eval.c (stack_extend): prevent ALLOCA_N, which reserves a memory
	  space with for restoring machine stack stored in each threads, from
	  optimization out.  backport r34278 from the trunk.

Mon Jun 18 18:32:43 2012  Martin Bosslet  <Martin.Bosslet@googlemail.com>

	* backport r32609 from trunk.

	* ext/openssl/ossl_hmac.c: Revert checking return type of
	  HMAC_Init_ex as it is not compatible with OpenSSL < 1.0.0.

Mon Jun 18 18:32:43 2012  Martin Bosslet  <Martin.Bosslet@googlemail.com>

	* backport r32606 from trunk.

	* ext/openssl/ossl_digest.c: Check return value of EVP_DigestInit_ex.
	* ext/openssl/ossl_hmac.c: Check return value of HMAC_Init_ex.
	  Thanks, Jared Jennings, for the patch.
	  [ Ruby 1.9 - Bug #4944 ] [ruby-core:37670]

Sun Jun 10 03:00:21 2012  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* eval.c (ruby_setjmp): need to save the stack after r2 (the Table
	  of Contents on ppc64) is saved onto the stack by getcontext().
	  based on <https://bugzilla.redhat.com/show_bug.cgi?id=628715>.
	  Bug#4411

Thu Jun  7 19:00:35 2012  Kenta Murata <mrkn@mrkn.jp>

	* ext/bigdecimal/bigdecimal.c (VpMemAlloc): Fixes a bug reported
	  by Drew Yao <ayao at apple.com>

Wed Jun  6 15:09:00 2012  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* eval.c (rb_thread_join), ext/thread/thread.c (wake_one): adjusts
	  targets of rest waiting threads to join.  [ruby-core:23457]

Wed Jun  6 14:44:13 2012  Kenta Murata  <mrkn@mrkn.jp>

	* bignum.c (rb_big2dbl), test/ruby/test_bignum.rb (test_to_f):
	  A negative Bignum out of Float range should be converted to -Infinity.
	  [ruby-core:30492] [Bug #3362]

Wed Jun  6 14:06:02 2012  Tanaka Akira  <akr@fsij.org>

	* lib/webrick/utils.rb: fix fcntl call.

	* lib/drb/unix.rb: ditto.

Mon May 21 16:29:47 2012  Akinori MUSHA  <knu@iDaemons.org>

	* ext/syslog/syslog.c (mSyslog_inspect): Make sure self is a
	  module before calling rb_class2name().

Fri May 11 14:09:48 2012  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/bigdecimal/bigdecimal.c (PUSH): to prevent VALUE from GC,
	  must not cast it to unsigned long, which may be shorter than
	  VALUE, and the result can be mere garbage.

Sat Apr 14 18:51:41 2012  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* bignum.c (rb_big2str0): prevent working clone from
	  GC. [exerb-dev:0578].  patched by MURASE Masamitsu
	  <masamitsu.murase AT gmail.com> at [exerb-dev:0580]

Fri Mar  2 11:44:33 2012  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* marshal.c (mark_dump_arg): mark destination string.  patch by
	  Vit Ondruch.  [Bug #4339]

	* marshal.c (clear_dump_arg, clear_load_arg): clean up also data
	  tables as same as symbols tables.

Fri Mar  2 11:44:33 2012  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* marshal.c (struct {dump,load}_arg): manage with dfree, instead
	  of using local variable which may be moved by context switch.
2012-07-24 16:23:37 +00:00
jperkin
038e8425d3 Update binutils detection on Solaris to match current reality. 2012-07-23 12:47:55 +00:00
cheusov
40eb4d9981 Update to 1.4.1
Minor fixes in documentation

  Path to AWK interpreter is detected at build time (not hardcoded
  /usr/bin/awk).  This fixes runawk on, for example, Haiku.

  Clean-ups in build system. mk-configure-0.23.0 is required.
2012-07-22 13:01:37 +00:00
dholland
4cd27c56e4 Fix some pkglint. 2012-07-22 01:08:23 +00:00
dholland
0233dd4749 Fix LP64 warning in the runtime (missing headers for alloca) and
bump PKGREVISION.
2012-07-21 22:01:17 +00:00
wiz
538b21e104 Remove "WWW: URL" from DESCR. Common in FreeBSD ports, but in pkgsrc the
URL should be as HOMEPAGE in the Makefile.
2012-07-21 20:07:59 +00:00
taca
13cc84fd82 Update php54 package to 5.4.5 (PHP 5.4.5).
19-July-2012

o Core
	* Fixed bug #62443 (Crypt SHA256/512 Segfaults With Malformed Salt)
	* Fixed bug #62432 (ReflectionMethod random corrupt memory on high
	  concurrent)
	* Fixed bug #62373 (serialize() generates wrong reference to the
	  object).
	* Fixed bug #62357 (compile failure: (S) Arguments missing for
	  built-in function __memcmp)
	* Fixed bug #61998 (Using traits with method aliases appears to result
	  in crash during execution)
	* Fixed bug #51094 (parse_ini_file() with INI_SCANNER_RAW cuts a value
	  that includes a semi-colon)
	* Fixed potential overflow in _php_stream_scandir (CVE-2012-2688)

o EXIF
	* Fixed information leak in ext exi

o FPM
	* Fixed bug #62205 (php-fpm segfaults (null passed to strstr)
	* Fixed bug #62160 (Add process.priority to set nice(2) priorities)
	* Fixed bug #62153 (when using unix sockets, multiples FPM instances)
	* Fixed bug #62033 (php-fpm exits with status 0 on some failures to
	  start)
	* Fixed bug #61839 (Unable to cross-compile PHP with --enable-fpm)
	* Fixed bug #61835 (php-fpm is not allowed to run as root)
	* Fixed bug #61295 (php-fpm should not fail with commented 'user'
	* Fixed bug #61218 (FPM drops connection while receiving some binary
	  values in FastCGI requests)
	* Fixed bug #61045 (fpm don't send error log to fastcgi clients).
	  (fat) for non-root start)
	* Fixed bug #61026 (FPM pools can listen on the same address).
	  (fat) can be launched without errors)

o Iconv
	* Fixed bug #55042 (Erealloc in iconv.c unsafe)

o Intl
	* Fixed bug #62083 (grapheme_extract() memory leaks)
	* Fixed bug #62081 (IntlDateFormatter constructor leaks memory when
	  called twice)
	* Fixed bug #62070 (Collator::getSortKey() returns garbage)
	* Fixed bug #62017 (datefmt_create with incorrectly encoded timezone
	  leaks pattern)
	* Fixed bug #60785 (memory leak in IntlDateFormatter constructor)
	* ResourceBundle constructor now accepts NULL for the first two arguments

o JSON
	* Fixed bug #61359 (json_encode() calls too many reallocs)

o libxml
	* Fixed bug #62266 (Custom extension segfaults during xmlParseFile
	  with FPM SAPI)

o Phar
	* Fixed bug #62227 (Invalid phar stream path causes crash)

o Readline
	* Fixed bug #62186 (readline fails to compile - void function should
	  not return a value)

o Reflection
	* Fixed bug #62384 (Attempting to invoke a Closure more than once
	  causes segfault)
	* Fixed bug #62202 (ReflectionParameter::getDefaultValue() memory
	  leaks with constant)

o Sockets
	* Fixed bug #62025 (__ss_family was changed on AIX 5.3)

o SPL
	* Fixed bug #62433 (Inconsistent behavior of
	  RecursiveDirectoryIterator to dot files)
	* Fixed bug #62262 (RecursiveArrayIterator does not implement
	  Countable)

o XML Writer
	* Fixed bug #62064 (memory leak in the XML Writer module)

o Zip
	* Upgraded libzip to 0.10.
{
2012-07-20 12:29:05 +00:00
taca
831021c438 Update php53 pacakge to 5.3.15 (PHP 5.3.15).
19-July-2012

o Zend Engine
	* Fixed bug #51094 (parse_ini_file() with INI_SCANNER_RAW cuts a value
	  that includes a semi-colon)

o COM
	* Fixed bug #62146 com_dotnet cannot be built shared

o Core
	* Fixed potential overflow in _php_stream_scandir, CVE-2012-2688
	* Fixed bug #62432 (ReflectionMethod random corrupt memory on high
	  concurrent)
	* Fixed bug #62443 (Crypt SHA256/512 Segfaults With Malformed Salt)

o Fileinfo
	* Fixed magic file regex support

o FPM
	* Fixed bug #61045 (fpm don't send error log to fastcgi clients)
	* Fixed bug #61835 (php-fpm is not allowed to run as root)
	* Fixed bug #61295 (php-fpm should not fail with commented 'user' for
	  non-root start)
	* Fixed bug #61026 (FPM pools can listen on the same address)
	* Fixed bug #62033 (php-fpm exits with status 0 on some failures to
	  start)
	* Fixed bug #62153 (when using unix sockets, multiples FPM instances
	  can be launched without errors)
	* Fixed bug #62160 (Add process.priority to set nice(2) priorities)
	* Fixed bug #61218 (FPM drops connection while receiving some binary
	  values in FastCGI requests)
	* Fixed bug #62205 (php-fpm segfaults (null passed to strstr))

o Intl
	* Fixed bug #62083 (grapheme_extract() memory leaks)
	* Fixed bug #62081 (IntlDateFormatter constructor leaks memory when
	  called twice)
	* Fixed bug #62070 (Collator::getSortKey() returns garbage)
	* Fixed bug #62017 (datefmt_create with incorrectly encoded timezone
	  leaks pattern)
	* Fixed bug #60785 (memory leak in IntlDateFormatter constructor)

o JSON
	* Reverted fix for bug #61537

o Phar
	* Fixed bug #62227 (Invalid phar stream path causes crash)

o Reflection
	* Fixed bug #62384 (Attempting to invoke a Closure more than once
	  causes segfault)
	* Fixed bug #62202 (ReflectionParameter::getDefaultValue() memory
	  leaks with constant)

o SPL
	* Fixed bug #62262 (RecursiveArrayIterator does not implement Countable)

o SQLite
	* Fixed open_basedir bypass, CVE-2012-3365

o XML Write
	* Fixed bug #62064 (memory leak in the XML Writer module)

o Zip
	* Upgraded libzip to 0.10
2012-07-20 12:28:17 +00:00
marino
e1f921f909 lang/gcc-aux: PR#46708 Fix buildlink3.mk conditional
The condition in the gcc-aux buildlink3.mk file requires the file
mk/pkg-build-options.mk to be included in order to work.  This fixes the
bug introduced yesterday.
2012-07-16 19:34:27 +00:00
marino
4d01750b37 lang/gcc-aux: Add condition to buildlink3
The NLS option is optional, but the buildlink pulled in gettext-lib
unconditionally.  This caused failures in Tinderbox and pbuld chroot
when gettext-lib couldn't be found in those clean environments.  The
final result is that all Ada programs file to build in those environments.

Also removed whitespace from DESC.
2012-07-15 11:50:53 +00:00
wiz
68808ff07a Recursive bump for startup-notification* dependency change, requested
by Obache.
2012-07-15 08:22:46 +00:00
dholland
f9897deb1e removed centericq, ArX, gcc3-java, jitterbug, obconf, and sope 2012-07-15 02:35:20 +00:00
dholland
ef2cc6241e Remove gcc3-java as promised. Has not been buildable for years, if ever,
and various attempts to fix it have failed. Plus, gcc3 is highly obsolete
at this point and it's hardly worth spending effort on this. I believe
gcc-java support is available in most or all of the gcc4 packages.
2012-07-14 22:19:13 +00:00
marino
723e097509 lang/gcc-aux: Fix c/c++ precision on FreeBSD/DragonFly
Until now, GCC builders had to choose between Ada and C/C++ on the
following platforms:

   i386-FreeBSD
   i386-DragonFly

On these platforms, depending on the value of the configuration macro
TARGET_96_ROUND_53_LONG_DOUBLE, either Ada precision or C/C++ long
double precision was broken.  The reason is that the floating point unit
of these platforms round off real-time calculations to 53-bit mantissas.
GCC will adjust accordingly to compensate.  Since a common backend is used
for all languages, one had to choice which language they wanted correct.

The solution is to break out the object file responsible for this from
the common backend library.  Ada now receives an altered version of
insn-modes.o, one that instructs the FPU not to round off the results.
This is all handled by patched Makefiles.

Other changes:
  - Configure DragonFly to add ".note.GNU-stack" section to assembly files
    to determine if program needs executable stacks
  - Skip 2 subtests of Wconversion-real on i386 FreeBSD and DragonFly.
    Due to the rounding behavior mentioned above, they fail to produce
    error messages as expected.  It's not possible to set target with
    xfail, and every target && target seems not work work.  So we will
    assume all gcc-aux platform targets are long-double capabile and
    just set xfail for x86 FreeBSD and DragonFly.
  - Rework Fortran large real test 2 to skip on x86_64 *BSD.  This test
    should pass on x86 machines.
  - Rework Fortran large real test 3 to be skipped when compiles with -O0
    only x86_64 machines.  All other combinations will pass.
  - Rename C format test typedef from quad_t to quad2_t.  DragonFly
    has a standard type called quad_t and the type conflict causes a
    large number of gcc tests to fail.
  - Add dummy dg-error line to avoid an assembly comparison tests on
    large files not built (test was marked as UNSUPPORTED but dejagnu is
    too dumb to know not to check for the tests' products.)
  - Reorder path passed during build when using an already-built gcc-aux
    compiler to build new compiler.  If gnat-aux is also installed, it
    would use the gnat* tools from that compiler rather than gcc-aux
    which results in build failure (different versions of tools are
    getting used together resulting in build failure).
2012-07-14 21:53:05 +00:00
tsutsui
7549b28b59 Add workaround for build failure on NetBSD/sparc64 6.0_BETA2:
> ruby193 binary built on NetBSD/sparc64 with gcc 4.5.1 and the default -O2
> dumps core during generating RDocs.
> Using -O1 works around.
ruby193 binary with this hacks.mk is confirmed by running net/mikutter
on Ultra5.
2012-07-14 03:35:48 +00:00
marino
0aad19bbd7 lang/gcc47: Fix DragonFly32 floating point handling
Like i386-FreeBSD, the i386-DragonFly floating point unit uses a 53-bit
mantissa.  GCC uses the TARGET_96_ROUND_53_LONG_DOUBLE macro to know
which platforms behave this way.

Unfortunately, setting this macro to 1 breaks precision on Ada, and
leaving it at 0 breaks precision on c/c++ long double handling.  However
lang/gcc47 likely will never support Ada, so we'll favor c/c++.  This
is only an issue for i386; the setting on x86_64 should be zero as it
uses 64-bit precision.
2012-07-12 13:47:23 +00:00
cheusov
bc513356a5 Pass AWK_PROG=${AWK} to runawk build unconditionally.
This fixes runawk on, for example, Haiku.
++pkgrevision
2012-07-09 12:31:48 +00:00
marino
880a7e1480 add gcc-aux 2012-07-08 19:32:41 +00:00
marino
bb0ffc7bb6 Import lang/gcc-aux based on gcc-4.7.1
The primary difference between this compiler package and lang/gcc47 is
that lang/gcc-aux supports the Ada language.  Additionally, it is
intended that the USE_LANGUAGES makefile variable whill be extended to
recognize "ada" as a valid language, and that specifying it will cause
lang/gcc-aux to be used to build the package.

All current Ada-based packages will be modified to build with
USE_LANGUAGES+= ada rather than specifying a dependency on lang/gnat-aux,
the other Ada-capable compiler in pkgsrc based on gcc-4.6.3.

lang/gcc-aux supports C, C++, Objective-C, Fortran, and Ada by default,
but the latter four languages can be disabled via the options framework.
The three non-default options are "nls", "testsuite" and "static" which
enable Native Language Support, languages tests, and building the compiler
statically.

The "static" option is unalterably enabled for NetBSD in order to use dl_iterate_phdr error handling on NetBSD 6.  On the NetBSD 6 beta builds,
exceptions won't unwind properly with the libgcc_s shared library, and
the issue seems to be external to gcc-aux.  It's hoped the libgcc_s
exception handling works on NetBSD 5.x series as dl_iterate_phdr isn't
supported by rtld there, but gcc-aux hasn't been tested on 5.x yet.

lang/gcc-aux can be built by 5 platforms currently:  NetBSD i386/x86_64,
DragonFly i386/x86_64, and OpenSolaris i386.  New platform support
requires new bootstraps.  FreeBSD i386/x86_64 could be added easily as
bootstrap compilers are available for FreeBSD ports lang/gnat-aux.
OpenBSD bootstrap compilers have been built but never used, but further
patches are on a couple of gcc's configuration files are needed as well
as testing to provide OpenBSD support.

All five platforms pass all tests (over 3200) in the Ada testsuite.

See http://gcc.gnu.org/gcc-4.7/changes.html

for more information about improvements over the GCC 4.6 series.
2012-07-08 19:30:38 +00:00
he
facbfd6fe9 Update lang/parrot to 4.3.0.
Pkgsrc changes:
 * Remove patch-ak, as the fix is now adopted upstream.

Upstream changes:
 - Core
    + Winxed snapshot updated to 1.7.0
    + Add type introspection to lexical variables.
    + New 'tools/release/parrot_github_release.pl' script to automate
      updates to the 'parrot.github.com' and 'parrot-docsx' repositories.
    + Numerous casting and consting fixes thanks to GCC 4.8.
 - Documentation
    + Updated 'docs/projects/release_manager_guide.pod'
    + Updated 'docs/projects/release_parrot_github_guide.pod'
    + Improved function documentation.
 - Tests
 - Community
 - Platforms
    + Fixed alignment issues on ia64, sparc and mipsel.
    + Fixed a platform-specific issue with dlclose().
2012-07-07 10:46:52 +00:00
obache
bffabad048 let to be pkglint happy. 2012-07-06 09:48:26 +00:00
asau
ee409e9b26 Update to ECL 12.2.1
ECL 12.2.1:
===========

* Bugs fixed:

 - Fixed several dozens of typos.

 - ENSURE-DIRECTORIES-EXIST did not work properly with logical pathnames.

 - EXT:SET-LIMIT with option EXT:FRAME-STACK corrupted the frame stack.

 - The array of boot-time symbols is fixed and independent of the features
   that are compiled in. This is essential for cross-compilation and also
   for sharing C code among different builds.

 - Fixed externalization of bytecodes with literals that need MAKE-LOAD-FORM.

 - When parsing a floating point number at least one digit should be
   present. ECL parsed +.e0 as +0.0e0, instead of as a symbol.

 - For OS X Lion we need a newer version of the garbage collector. Since the
   maintainers' advise is that we use the unstable tree, we have made a copy
   and use it _only_ for this port (src/gc-unstable).

* Visible changes:

 - When printing error messages, the condition type is shown (M. Mondor)

 - SI:TOP-LEVEL, when invoked without arguments, does not process the
   command line.

 - The command line used by EXT:PROCESS-COMMAND-ARGS is now by default
   the one stored in *COMMAND-ARGS*, and this may be "cleared" by the
   user.

 - SOCKET-MAKE-STREAM now accepts an :ELEMENT-TYPE argument.

 - When --enable-rpath is used in combination with --with-gmp-prefix, then the
   path of the GMP library is hardcoded into ECL. If the remaining libraries
   (GC, libffi) are in a similar location this will make ECL work without
   further flags, and without modifying LD_LIBRARY_PATH or DYLD_LIBRARY_PATH.

 - All arguments after the '--' command line option are stored in a global
   variable, ext:*unprocessed-ecl-command-args*.

 - In the rules passed to ext:process-command-args, :stop now implies that all
   remaining arguments including the current one are collected and passed to
   the rule code. An example of use of this option
      ;; Collect all arguments _after_ the command line option --
      ("--" 1 (setf ext:*unprocessed-ecl-command-args* (rest 1)) :stop)
      ;; Collect all arguments including the first unknown one
      ("*DEFAULTS*" 1 (setf ext:*unprocessed-ecl-command-args* 1) :stop)

 - ECL will always build, by default, with support for Unicode strings.

 - EXT:GETENV coerces its input argument to type BASE-STRING.

 - The garbage collector would reset the counters on every call to
   SI:GC-STATS. This made nested TIME calls not to work, as the statistics of
   the inner call would spoil those of the outer one. This has been fixed.

 - ECL implements CDR 6 (ext:*inspector-hook*) as described in
   http://cdr.eurolisp.org/document/6/index.html

 - ECL implements CDR 5 (Sub-interval Numerical Types) as described in
   http://cdr.eurolisp.org/document/5/index.html

 - ECL ships libffi together with its source tree, much like GMP and GC.

 - On POSIX platforms ECL traps SIGCHLD and uses it to update the status of
   external processes.

 - DIRECTORY accepts the keyword argument :RESOLVE-SYMLINKS.

 - Compiling files now generates C headers with the extension "eclh". This
   is done to avoid accidentally generating header files with the same name
   as those in the C library. Take for instance, float.lsp -> float.h.

 - ECL no longer relies on "git" being installed to gather the git commit id
   and setting (ext:lisp-implementation-vcs-id).

 - When building shared and statically linked libraries, ECL creates an
   extra function that performs two tasks: initializing ECL if it wasn't done
   before, and initializing the library. This can be used to create standalone
   libraries to be linked with other programs. The name of the function typically
   begins with main_dll or main_lib but it is output by ECL on screen.

 - Hash tables do no longer have implicit locking. All complex structures in
   ECL (arrays, hash tables, objects) should be dealt with sufficient care on
   the user side, just as in other programming languages, making use of
   WITH-LOCK and similar facilities.

 - In OPEN the default format is :UTF-8 for Unicode builds and :LATIN-1 for
   others, and the stream element type is always CHARACTER by default.

 - Function read_VV is renamed to ecl_init_module()

 - Initialization of random number generator is done using only 16 bytes from
   /dev/urandom (Phillip Marek).

 - Each thread keeps a copy of the process sigmask (POSIX) and it is inherited
   by children thread. The sigmask can be manipulated by the function
   EXT:CATCH-SIGNAL which has the signature
	(ext:catch-signal signal-code action &key process)
   The ACTION is one of :IGNORE, :DEFAULT, :CATCH, determining what ECL does
   when it receives the signal, or it can be :MASK/:UNMASK to determine whether
   the process is blocking the signal or not. The optional argument :PROCESS
   only applies to :MASK/:UNMASK and it can be the current process, some
   process that has not been activated or any other value (indicating that
   the function has a global effect, as sigprocmask).

 - Allocate executable memory using libffi instead of using just the
   Boehm-Weiser garbage collector.

 - In bytecodes.h, deactivate the threaded interpreter when using the LLVM
   compiler. The problem is that llvm-gcc disguises itself as GCC but it is
   not capable of properly compiling the jump table.

 - Implemented SEQUENCE-STREAMs, which are input/output streams defined on some
   specialized array type. The functions to create them are
     (ext:make-sequence-input-stream vector &key :start :end :external-format)
     (ext:make-sequence-output-stream vector &key :external-format)
        * If the array is a string, it is a character stream.
          - When no external format is supplied, it defaults to the usual encoding
            and the stream behaves like a string stream.
          - When an external format is supplied, each character in the string
            is interpreted as a single byte and used for that external format.
        * If the array is specialized over integers and EXTERNAL-FORMAT is NIL
          the stream is a binary stream.
        * Otherwise, it is a binary string but READ/WRITE-CHAR may be used on it.
   Reading and writing does not preserve the original word size of the array
   but rather threads the array as a collection of bytes (octets), writing
   sequentially over it. Thus, if you use encodings such as UCS2 and UCS4, make
   sure that you choose the right endianness to match the shape of the array.

 - DELETE-FILE works on empty directories.

 - In DIRECTORY, :RESOLVE-SYMLINKS defaults to T.

 - Added POSIX function (EXT:CHMOD filename mode)

 - ECL's compiler is now less verbose and hides performance notes, as well as
   invocations of the C compiler. This can be modfied by changing the type
   specifier in c:*suppress-compiler-messages*.

 - Hash tables can now be printed readably when *READ-EVAL* is true. This is
   done using two new functions, EXT:HASH-TABLE-CONTENT and
   EXT:HASH-TABLE-FILL.

 - When a compiler macro fails, ECL simply ignores the errors and
   continues. This is more to the spirit of the compiler macros, as explained
   here http://lists.common-lisp.net/pipermail/pro/2011-December/000675.html

 - INLINE declarations now actually cause the function to be inlined. If
   the function is also proclaimed as INLINE, ECL will store a copy of its
   definition for later use _in other files_. Otherwise INLINE declarations
   remain local to the file being processed.

 - ECL now implements weak hash tables. They are built as ordinary hash tables
   with an extra argument, :WEAKNESS, which may be :KEY, :VALUE,
   :KEY-AND-VALUE, or NIL, for the default behavior. The status of the hash
   table is returned by EXT:HASH-TABLE-WEAKNESS. Note that these associations
   are no substitute for proper management of resources, as the time of
   collection can not be guaranteed.

 - In pathnames, ".." is translated to :UP, not :BACK.

 - ECL introduces two special forms, EXT:CHECKED-VALUE and EXT:TRULY-THE, which
   have the same syntax as THE, but in the first case lead to a type assertion
   at low safety levels and in the second case lead to an unchecked
   declaration. By default THE maps to EXT:CHECKED-VALUE (as in SBCL), but this
   may be controlled globally using the declaration/proclamation
   EXT:THE-IS-CHECKED.

 - Unicode strings were not properly saved in C compiled code.
2012-07-05 14:51:47 +00:00
asau
8a2fc0f6c4 Note that "docdir" problem should be fixed in the next release. 2012-07-03 20:06:10 +00:00
he
75b7f26be7 Update to parrot version 4.2.0.
Upstream changes:

 - API Changes
    + The signature of getprop was changed from (PMC,String,PMC) to
      (PMC, PMC,String) for consistency
 - Core
    + Parrot Calling Conventions (pcc) now reuses Continuation PMCs
      internally, which reduces GC work by 25% and improves
      the fib.pir benchmark by 6%
    + Winxed snapshot updated to 1.6.devel 44a04cfa7b
    + Improved the detection of Clang-ish compilers during configuration
    + Fixed a possible segfault bug when reading packfiles with no
     constants or main_sub
    + By default, Parrot has now elevated these GCC warnings to errors
      during compile time:
        implicit-function-declaration, undef, missing-braces,
        nested externs, old-style-definition, strict-prototypes,
    + The OS Dynamic PMC now has separate functions to unlink a file
      and remove an empty directory (rmdir)
    + Fix building on Cygwin due to an improperly named DLL file
    + Various small bug fixes pointed out by static and dynamic analysis
      tools
 - Branches
    + Work on M0 continues now in the m0 branch, which contains both
      implementations (currently C and Perl) and specification.
    + Good progress has been made on the threads branch which builds
      on the green_threads branch. This gets Parrot much closer to
      being able to utilize multiple CPU cores seemlessly. More details
      at http://niner.name/Hybrid_Threads_for_the_Parrot_VM.pdf
 - Documentation
    + New release manager documentation for parrot.github.com :
        http://git.io/parrot-github-guide
 - Community
    + Parrot was accepted to Google Summer of Code 2012!
      Ideas Page: http://git.io/parrot-gsoc-2012
2012-07-03 13:29:25 +00:00
asau
e9840ccf7d Update to Algol-68 Genie version 2.4.1
Changes:

Version 2.4.1, June 2012
* Fixes issue in transput library.
* Fixes issue in garbage collector.
* Documentation updates.
* Better distribution lay-out.

Version 2.4, June 2012
* Adds pretty-printer.
* Simplified garbage collector.
* Adds procedure "read line" (calls GNU readline).
* Adds procedure "on gc event".
* Adds option --storage [=] n.
* Fixes error in option --handles.
* Removed the field-selector extension.

Version 2.3.9, April 2012
* Fixes curses build issue.
* Documentation updates.

Version 2.3.8, April 2012
* Fixes build issues on Solaris and Cygwin.
* Adds procedures "rows" and "columns".
* Documentation updates.

Version 2.3.7, February 2012
* Fixes build issue occuring on some platforms.

Version 2.3.6, February 2012
* Source code maintenance.
* Documentation updates.

Version 2.3.5, December 2011
* Fixes issues in 2.3.4.
* Source code maintenance.
* Documentation updates.

Version 2.3.4, November 2011
* Fixes issues in 2.3.3.
* Source code maintenance.
* Documentation updates.

Version 2.3.3, October 2011
* Adds code clause.
* Fixes issues in 2.3.2.
* Source code maintenance.
* Documentation updates.

Version 2.3.2, October 2011
* Fixes issues in 2.3.1.
* Source code maintenance.
* Documentation updates.
2012-07-03 08:20:25 +00:00
drochner
14d6642d1e update to 0.16.1
changes: Bug fixes and binding updates
2012-07-02 16:23:21 +00:00
dholland
a576530103 Fail the build if on NetBSD and /usr/bin/m4 is one of the buggy
versions that loops chewing memory.
2012-06-28 07:44:39 +00:00
dholland
e3c41023a9 Add m4 to USE_TOOLS. 2012-06-28 07:44:38 +00:00
dholland
dc7c5e6580 Make this available on x86_64. It builds and passes its self-tests. 2012-06-28 05:41:11 +00:00
asau
c5fde5d0af Remove "-m486" flag to let it build with contemporary GCC. 2012-06-27 14:07:55 +00:00
sbd
d5c359b857 On Linux libieee can only appear once on the linker command line. 2012-06-24 08:27:31 +00:00
marino
8dc22a22b0 lang/gcc47: Add support for DragonFly
GCC47 was marked NOT-FOR-DRAGONFLY, so support has been added.

* DragonFly-specific files added via patch mechanism
* Some existing patches modified to add DragonFly configuration items
* dl_iterate_phdr error handling support added (FreeBSD support was altered,
  NetBSD and OpenBSD support is commented out)
* The java language is taken off as a default option

On the i386 platform, the compiler will build from a full bootstrap, but
one of the later stages fails on x86_64.  It fails to find libstdc++.so.6
even though the previous stage library was built and -B, -L flags point
to it.  The cause of the platform-specific build failure isn't clear --
The workaround is to disable the bootstrap on DragonFly so that the compiler
is built in one stage instead of three.  This workaround could have been
limited to the x86_64-DragonFly platform only, but currently is applied to
i386-DragonFly too.
2012-06-23 22:13:02 +00:00
dholland
c2cc11912c Disable a private and mostly broken reimplementation of strerror().
Should fix Solaris build.
2012-06-23 21:30:05 +00:00
dholland
e1f22df64a Hide a bunch of own declarations of standard functions; should fix the
Solaris build. While here, stop stuffing pointers in ints on 64-bit
platforms (other than Alpha, which it already knew about) and therefore
bump PKGREVISION to 1.
2012-06-23 21:17:17 +00:00
jperkin
281f7e49de Add missing INSTALLATION_DIRS. 2012-06-23 07:30:24 +00:00
sbd
5554a62e3a When linking with X11 add an rpath to X11 libdir.
Bump PKGREVISION
2012-06-22 11:39:44 +00:00
sbd
227be5a4dc When linking with a non-builtin BDB an rpath to it libdir is needed.
Bump PKGREVISION.
2012-06-22 11:36:10 +00:00
marino
01f8ecf080 lang/gcc47: Update distinfo due to prior commit
The netbsd/ctype_base.h patch was added in the previous update without
adding a new entry to distinfo.
2012-06-22 03:52:26 +00:00
asau
e7cc8fa624 Disable optimization to help building on NetBSD 6.
Bump package revision.
2012-06-20 05:28:48 +00:00
taca
ae28d6f0d6 Remove PHP 5.2.x supporting code. 2012-06-18 15:14:19 +00:00
asau
f20d03fe1e Update to Yap 6.2.2
In terms of the core YAP, most changes are small bug fixes. They include

- better support for 64 bits in win64,
- some fixes to the garbage collector
- OSX Lion compilation
- wide char support
- bug in copy_term when some variables have attributes
- fixes to lam interface
- C-interface and SWI support
- over-optimisation of =/2.
- arithmetic exceptions
- write_canonical (Ulrich)
- retracting may not follow lu semantics
- minor predicate import bug.

There has been a lot of progress in ProbLog and cplint.
2012-06-16 19:34:49 +00:00
taca
1c41d7dba6 Make RUBY_RAILS_DEFAULT to "32" since Ruby on Rails 3.0.x is EOL. 2012-06-16 15:24:56 +00:00
taca
e84e46bef8 Remove support for php5 (PHP 5.2.x). 2012-06-16 15:18:13 +00:00
taca
38d123a8dd Remove php5 (PHP 5.2.17), please migra to php53 or php54. 2012-06-16 15:15:05 +00:00
taca
96e0a08b33 Remove php5. 2012-06-16 15:14:22 +00:00
taca
6f7b634b24 Limit upper version of PHP. 2012-06-16 05:24:10 +00:00
taca
fa8641d102 Add and enable php54. 2012-06-16 05:22:34 +00:00