Date: Tue, 24 Jan 2017 10:22:39 +0000 (UTC) From: Alex Dupre <ale@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r432320 - in head/www/tomcat-native: . files Message-ID: <201701241022.v0OAMdFv049374@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ale Date: Tue Jan 24 10:22:39 2017 New Revision: 432320 URL: https://svnweb.freebsd.org/changeset/ports/432320 Log: Use correct pthread function. PR: 216419 Submitted by: vvd@unislabs.com Modified: head/www/tomcat-native/Makefile head/www/tomcat-native/files/patch-src_ssl.c Modified: head/www/tomcat-native/Makefile ============================================================================== --- head/www/tomcat-native/Makefile Tue Jan 24 09:34:52 2017 (r432319) +++ head/www/tomcat-native/Makefile Tue Jan 24 10:22:39 2017 (r432320) @@ -3,6 +3,7 @@ PORTNAME= tomcat-native PORTVERSION= 1.2.10 +PORTREVISION= 1 CATEGORIES= www java MASTER_SITES= APACHE/tomcat/tomcat-connectors/native/${PORTVERSION}/source DISTNAME= ${PORTNAME}-${PORTVERSION}-src Modified: head/www/tomcat-native/files/patch-src_ssl.c ============================================================================== --- head/www/tomcat-native/files/patch-src_ssl.c Tue Jan 24 09:34:52 2017 (r432319) +++ head/www/tomcat-native/files/patch-src_ssl.c Tue Jan 24 10:22:39 2017 (r432320) @@ -5,7 +5,7 @@ pthread_threadid_np(NULL, &tid); return (unsigned long)tid; +#elif defined(__FreeBSD__) -+ return (unsigned long)pthread_threadid_np(); ++ return (unsigned long)pthread_getthreadid_np(); #elif defined(__linux__) return (unsigned long)syscall(SYS_gettid); #else
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701241022.v0OAMdFv049374>