Commit graph

10 commits

Author SHA1 Message Date
Mikhail Teterin
9c8a79bceb Add a patch, which disables a call to atexit() to register libjasper's
own clean-up routine (jas_cleanup). The call would be of limited
use anyway, as freeing memory at exit is useful only for tracking
down memory leaks. Removing the atexit call eliminates crashes in
ImageMagick and GraphicsMagick, when they are compiled with modules
support -- when a library is dlclosed, calling its cleanup routine is
certain death...

When compiling with gcc, declare the routine with ``__attribute__
(destructor)'' as per kan's otherwise obnoxious and inflammatory
e-mails. This will make sure, the routine is invoked, when libjasper
is dlclosed(). The only known apps that do that are ImageMagick and
GraphicsMagick (when built with modules support). They both call
the routine explicitly anyway...

While here enable parallel build of jasper itself, and eliminate the
most threatening warnings.

Bump PORTREVISION.
2007-08-05 22:14:08 +00:00
Mikhail Teterin
eb1485b28e Replace a tmpnam/open combo with mkstemp. A more aggressive change, which
uses tmpfile is being evaluated.
2007-06-12 15:47:04 +00:00
Martin Wilke
c935806fc1 - Update to 1.9001
PR:		108869
Submitted by:	Martin Matuska <martin@matuska.org>
2007-02-08 22:35:00 +00:00
Oliver Eikemeier
11e8fd3a77 avoid ending up with libjasper-1.701.so.4 2004-06-19 10:22:56 +00:00
Kirill Ponomarev
7f23383278 - Utilize USE_GNOME
- Use DOCSDIR

PR:		ports/62531
Submitted by:	Ports Fury
2004-02-08 13:17:57 +00:00
Mikhail Teterin
289ced7fc4 Upgrade from 1.700.2 to 1.700.5 (released on Oct 4th). 2003-12-17 17:20:30 +00:00
Maxim Sobolev
1754e553bd Update to 1.700.2. 2003-05-06 16:27:48 +00:00
Maxim Sobolev
3780b8d857 Fix a typo: log long --> long long.
Submitted by:	Stacey Roberts <stacey@vickiandstacey.com>
		BSD <bsd@xtremedev.com>
		Mike Hardling <mvh@ix.netcom.com>
2003-01-20 10:35:47 +00:00
Maxim Sobolev
090302fe0e Update to 1.600.0. 2003-01-19 20:26:58 +00:00
Alan Eldridge
902041e909 Fix jas_types.h for stable. Maintainer 2 week timeout. 2002-09-20 17:57:05 +00:00