mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-08 12:01:56 +00:00
![Tijl Coosemans](/assets/img/avatar_default.png)
Linphone uses Qt5 now instead of GTK2. audio/bcg729: - switch to cmake, required by net/mediastreamer - download distfile instead of using gitlab - fix license: source code allows later GPL version audio/msbcg729: deleted, net/mediastreamer contains a G.729 codec now audio/msilbc: deleted, superseded by multimedia/mswebrtc deskutils/belcard: version 1.0.2 multimedia/bcmatroska2: version 0.23 multimedia/msopenh264: version 1.2.1 multimedia/mswebrtc: version 1.1.1 multimedia/msx264: deleted, superseded by msopenh264 net/bctoolbox: version 0.6.0 net/belle-sip: version 1.6.3 net/liblinphone: version 3.12.0 net/linphone: version 4.1.1 + upstream Qt 5.11 patches net/mediastreamer: version 2.16.1 + upstream libsrtp2 patch net/ortp: version 1.0.2 + bump dependent port devel/libosmo-abis security/bzrtp: version 1.0.6 textproc/belr: version 0.1.3
28 lines
911 B
C
28 lines
911 B
C
--- src/base/msfactory.c.orig 2017-07-20 13:56:05 UTC
|
|
+++ src/base/msfactory.c
|
|
@@ -20,14 +20,13 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Bos
|
|
#ifdef HAVE_CONFIG_H
|
|
#include "mediastreamer-config.h"
|
|
#include "gitversion.h"
|
|
-#else
|
|
+#endif
|
|
# ifndef MEDIASTREAMER_VERSION
|
|
# define MEDIASTREAMER_VERSION "unknown"
|
|
# endif
|
|
# ifndef MS2_GIT_VERSION
|
|
# define MS2_GIT_VERSION "unknown"
|
|
# endif
|
|
-#endif
|
|
|
|
#include "mediastreamer2/msfilter.h"
|
|
#include "mediastreamer2/mseventqueue.h"
|
|
@@ -184,7 +183,7 @@ void ms_factory_init(MSFactory *obj){
|
|
GetNativeSystemInfo( &sysinfo );
|
|
|
|
num_cpu = sysinfo.dwNumberOfProcessors;
|
|
-#elif __APPLE__ || __linux
|
|
+#elif __APPLE__ || __linux || __DragonFly__ || __FreeBSD__
|
|
num_cpu = sysconf( _SC_NPROCESSORS_CONF); /*check the number of processors configured, not just the one that are currently active.*/
|
|
#elif __QNX__
|
|
num_cpu = _syspage_ptr->num_cpu;
|