From owner-svn-ports-all@FreeBSD.ORG Sat Jan 10 16:48:31 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4252F41C; Sat, 10 Jan 2015 16:48:31 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2DF8793E; Sat, 10 Jan 2015 16:48:31 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t0AGmV0O037277; Sat, 10 Jan 2015 16:48:31 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t0AGmUZH037275; Sat, 10 Jan 2015 16:48:30 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201501101648.t0AGmUZH037275@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Sat, 10 Jan 2015 16:48:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r376717 - in head/net/libsrtp: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2015 16:48:31 -0000 Author: tijl Date: Sat Jan 10 16:48:30 2015 New Revision: 376717 URL: https://svnweb.freebsd.org/changeset/ports/376717 QAT: https://qat.redports.org/buildarchive/r376717/ Log: Mark some inline functions static such that gcc (in C89 mode) doesn't export them. Clang already doesn't export them because it assumes C99 by default. This fixes net/ortp on systems without clang. Added: head/net/libsrtp/files/patch-crypto-include-sha1.h (contents, props changed) Modified: head/net/libsrtp/Makefile Modified: head/net/libsrtp/Makefile ============================================================================== --- head/net/libsrtp/Makefile Sat Jan 10 16:31:39 2015 (r376716) +++ head/net/libsrtp/Makefile Sat Jan 10 16:48:30 2015 (r376717) @@ -4,6 +4,7 @@ PORTNAME= libsrtp DISTVERSIONPREFIX= v DISTVERSION= 1.5.0 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= GHR Added: head/net/libsrtp/files/patch-crypto-include-sha1.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/libsrtp/files/patch-crypto-include-sha1.h Sat Jan 10 16:48:30 2015 (r376717) @@ -0,0 +1,23 @@ +--- crypto/include/sha1.h.orig 2014-10-13 14:35:33 UTC ++++ crypto/include/sha1.h +@@ -68,17 +68,20 @@ typedef EVP_MD_CTX sha1_ctx_t; + * + */ + ++static + void inline sha1_init (sha1_ctx_t *ctx) + { + EVP_MD_CTX_init(ctx); + EVP_DigestInit(ctx, EVP_sha1()); + } + ++static + void inline sha1_update (sha1_ctx_t *ctx, const uint8_t *M, int octets_in_msg) + { + EVP_DigestUpdate(ctx, M, octets_in_msg); + } + ++static + void inline sha1_final (sha1_ctx_t *ctx, uint32_t *output) + { + unsigned int len = 0;