Group :: Rede/Mensagens instantâneas
RPM: libtgvoip
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: libtgvoip-system-json11.patch
Download
Download
From 7e017735122d67b7e759b9b0548f088dc021e914 Mon Sep 17 00:00:00 2001
From: Vitaly Zaitsev <vitaly@easycoding.org>
Date: Fri, 24 Jan 2020 12:11:13 +0100
Subject: [PATCH] Build against system json11.
---
Makefile.am | 4 +---
configure.ac | 1 +
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 8695bb1..40a5f59 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -26,8 +26,7 @@ audio/Resampler.cpp \
os/posix/NetworkSocketPosix.cpp \
video/VideoSource.cpp \
video/VideoRenderer.cpp \
-video/ScreamCongestionController.cpp \
-json11.cpp
+video/ScreamCongestionController.cpp
TGVOIP_HDRS = \
TgVoip.h \
@@ -55,7 +54,6 @@ os/posix/NetworkSocketPosix.h \
video/VideoSource.h \
video/VideoRenderer.h \
video/ScreamCongestionController.h \
-json11.hpp \
utils.h
if TARGET_OS_OSX
diff --git a/configure.ac b/configure.ac
index 8a3df4d..3a55189 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,6 +29,7 @@ AC_CHECK_LIB([crypto], [SHA1], [], [AC_MSG_FAILURE([libssl-dev is required but n
AC_CHECK_LIB([m], [floorf])
AC_CHECK_LIB([opus], [opus_decoder_create], [], [AC_MSG_FAILURE([libopus-dev is required but not found])])
AC_CHECK_LIB([pthread], [pthread_create])
+AC_CHECK_LIB([json11], [main], [], [AC_MSG_FAILURE([json11-dev is required but not found])])
AC_CANONICAL_HOST
--
2.24.1