Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 2015 18:41:16 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r386697 - head/net/mediastreamer
Message-ID:  <201505181841.t4IIfGxb059848@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Mon May 18 18:41:16 2015
New Revision: 386697
URL: https://svnweb.freebsd.org/changeset/ports/386697

Log:
  Fix non-x86 builds by using arc4random(3) instead of random(3) + rdtsc (x86
  instruction).
  
  PR:		200289

Modified:
  head/net/mediastreamer/Makefile

Modified: head/net/mediastreamer/Makefile
==============================================================================
--- head/net/mediastreamer/Makefile	Mon May 18 18:20:22 2015	(r386696)
+++ head/net/mediastreamer/Makefile	Mon May 18 18:41:16 2015	(r386697)
@@ -3,6 +3,7 @@
 
 PORTNAME=	mediastreamer
 PORTVERSION=	2.11.2
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	SAVANNAH/linphone/mediastreamer
 
@@ -24,7 +25,7 @@ CONFIGURE_ARGS=	--disable-alsa --disable
 		--disable-silent-rules --disable-strict \
 		--with-gsm=${LOCALBASE} --with-srtp=${LOCALBASE} \
 		--with-polarssl=${LOCALBASE} xxd_found=yes
-CPPFLAGS+=	-I${LOCALBASE}/include
+CPPFLAGS+=	-I${LOCALBASE}/include -DHAVE_ARC4RANDOM
 LIBS+=		-L${LOCALBASE}/lib
 INSTALL_TARGET=	install-strip
 USES=		gettext-tools gmake libtool pathfix pkgconfig



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505181841.t4IIfGxb059848>