svn commit: r386697 - head/net/mediastreamer

Tijl Coosemans tijl at FreeBSD.org
Mon May 18 18:41:17 UTC 2015


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


More information about the svn-ports-all mailing list