This package is a modified version of Doug Lea's malloc-2.8.3
implementation adapted for multiple threads, while trying to
avoid lock contention as much as possible.
As part of the GNU C library, the source files may be available under
the GNU Library General Public License (see the comments in the
files). But as part of this stand-alone package, the code is also
available under the (probably less restrictive) conditions described
in the file 'COPYRIGHT'. In any case, there is no warranty whatsoever
for this package.
This release was partly funded by Pixar Animation Studios.
devel/ptmalloc: Remove expired port
2023-11-30 devel/ptmalloc: Abandonware, last release in 2006 and there are other
alternative malloc implementations available
devel/ptmalloc: Deprecate and set expiration date to 2023-11-30
Untouched for over a decade upstream and we have there are other
active alternative malloc implementations available
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above )
Use INSTALL_DATA for shared libraries instead of INSTALL_PROGRAM in
order to fix the build failure in graphics/xaralx:
../wxOil/compatdef.h:605: undefined reference to `malloc_usable_size'
(if the library is stripped then nm(1) shows "no symbols")
Submitted by: vd
Reviewed by: pav
Approved by: Pedro Giffuni <pfgshield-freebsd@yahoo.com> (maintainer)
devel/ptmalloc port enhancements
- USE_GMAKE is not necessary
- make thread aware by using the 'posix' target
- add regression-test target
- Clean up some unnecessary verbosity.
The posix target introduced a lot of warnings but it seems
to work. This malloc should behave pretty much like the one
in glibc now, but FreeBSD's native malloc is probably better.
PR: ports/126547
Submitted by: "Pedro F. Giffuni" <giffunip@tutopia.com>
Standardize placement and style of WWW: lines, and in some cases
remove ^M from line endings.
List of files with "issues" supplied by: Alex Kozlov <spam@rm-rf.kiev.ua>
* Install the header file so applications can use functions which are present
in this library but not in FreeBSD's libc and thus not prototyped in the
stock malloc.h [1]
* Remove direct reference to work/ptmalloc in the post-install message
PR: ports/95179 [1]
Submitted by: Pedro F. Giffuni <giffunip@asme.org> [1]
Approved by: grog (maintainer timeout)
Split out build targets into all (only libraries) and tests (only
tests). The original Makefile built only the tests.
This solves a problem with (only slightly) older versions of FreeBSD
which don't have libpthreads. This is required for the tests, and
since there are other issues, it doesn't seem to be worthwhile trying
to fix them. If you want to build the tests on a release older than
5.3, you'll have to play around a bit.
New port: ptmalloc is an older version of the GNU libc malloc. It has
a BSD compatible license and outperforms FreeBSD's malloc by an order
of magnitude with some pathological files (notably pthreads and
realloc abuse).