Commit graph

7 commits

Author SHA1 Message Date
Matthias Andree
7a68cdcef2 Avoid junk pointer when __db_vrfy_datapage() fails
Rather than second-guessing what the __os_free() might be doing and
avoiding it, initialize the pointer to NULL, which __os_free() will
skip.  This should be the safer approach if Oracle ever patches other
parts of db 5.3.

PR:		210829
Submitted by:	Mark Millard
2016-11-09 22:31:48 +00:00
Matthias Andree
a59f1e5a96 Fix strncat() misuse, and enable TCL option.
PR:		209730
Submitted by:	gahr@
2016-05-24 21:26:12 +00:00
Matthias Andree
e44111f491 Modernize Makefile and chase new requisites.
* Modernize Makefile [1].

* The Tcl changes suggested in the PR [1] are applied but commented out
  because the code causes scary "warning: the value of the size argument
  in 'strncat' is too large, might lead to a buffer overflow
  [-Wstrncat-size]" in lang/tcl/tcl_*.c on FreeBSD 10.3 amd64.

* Other than what is suggested in the PR,
  refuse to add the TCL option, and leave --disable-tcl in.

* JAVA option: restrict to Java versions 1.6 and 1.7 because the port
  fails to compile with JAVA option enabled and openjdk8
  (IllegalArgument exception).

portlint cleanups:
* Set PATCH_WRKSRC, and refresh patches with "make makepatch".
* Use Space (not HTab) after WWW: tag in pkg-descr
* Drop "The" from COMMENT.

PR:		208740 [1]
Submitted by:	gahr@ [1]
2016-05-23 22:07:24 +00:00
Matthias Andree
eeaaf77bc5 Fix mutex code on powerpc64.
PR:		191453
Submitted by:	jhibbits@
2014-07-02 20:59:24 +00:00
Matthias Andree
dbf33b220e Fix C++11 compatibility by renaming atomic_init().
Modified version of dim's patch, where most of the stuff
moves into a REINPLACE_CMD called from post-patch.

Submitted by:	dim
2013-07-24 21:35:51 +00:00
Matthias Andree
42201a3a02 Fix compilation with clang, patch taken from
http://lists.freebsd.org/pipermail/freebsd-current/2012-May/033615.html

Reported by: Mel Flynn
Patch by:    Dimitry Andric
2012-06-14 23:34:42 +00:00
Matthias Andree
2771c1d785 Add new port databases/db50, to package Oracle Berkeley DB 5.0.21.
Approved by:	garga (mentor)
2010-04-26 07:40:15 +00:00