Fix non-x86 builds by using arc4random(3) instead of random(3) + rdtsc (x86

instruction).

PR:		200289
This commit is contained in:
Tijl Coosemans 2015-05-18 18:41:16 +00:00
parent 4ae2b42965
commit 2b83cd11a3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386697

View File

@ -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-matroska --disable-pulseaudio \
--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