mirror of
https://git.freebsd.org/ports.git
synced 2025-05-12 23:31:50 -04:00
* 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]
11 lines
247 B
C
11 lines
247 B
C
--- src/dbinc/mutex_int.h.orig 2013-09-09 15:35:08 UTC
|
|
+++ src/dbinc/mutex_int.h
|
|
@@ -596,7 +596,7 @@ MUTEX_SET(int *tsl) {
|
|
: "=&r" (__r), "+r" (tsl)
|
|
:
|
|
: "cr0", "memory");
|
|
- return (int)tsl;
|
|
+ return (tsl != 0);
|
|
}
|
|
|
|
static inline int
|