Notification time stamped 2018-08-31 21:09:04 UTC
From f77c14792c6dc8bf58f1b78ecd25faf9b73b8ff4 Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin zebob.m@gmail.com Date: Aug 31 2018 21:08:47 +0000 Subject: Add patch to install libmisc_tools needed by DHT_bootstrap
---
diff --git a/toxcore-0.2.7-install_libmisc.patch b/toxcore-0.2.7-install_libmisc.patch new file mode 100644 index 0000000..3e44014 --- /dev/null +++ b/toxcore-0.2.7-install_libmisc.patch @@ -0,0 +1,11 @@ +diff -up c-toxcore-0.2.7/CMakeLists.txt.install_libmisc c-toxcore-0.2.7/CMakeLists.txt +--- c-toxcore-0.2.7/CMakeLists.txt.install_libmisc 2018-08-30 22:43:11.000000000 +0200 ++++ c-toxcore-0.2.7/CMakeLists.txt 2018-08-31 22:26:32.658047924 +0200 +@@ -375,6 +375,7 @@ add_library(misc_tools + testing/misc_tools.c + testing/misc_tools.h) + target_link_modules(misc_tools toxcore) ++install (TARGETS misc_tools LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) + + set(TEST_TIMEOUT_SECONDS "" CACHE STRING "Limit runtime of each test to the number of seconds specified") + diff --git a/toxcore.spec b/toxcore.spec index 66a1ee2..f9f07df 100644 --- a/toxcore.spec +++ b/toxcore.spec @@ -2,7 +2,7 @@
Name: toxcore Version: 0.2.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Peer to peer instant messenger
# GPLv3+: main library @@ -12,6 +12,10 @@ License: GPLv3+ and BSD and ISC URL: https://github.com/TokTok/c-toxcore Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+# https://github.com/TokTok/c-toxcore/issues/1144 +Patch0: toxcore-0.2.7-install_libmisc.patch + +BuildRequires: gcc-c++ BuildRequires: gcc BuildRequires: cmake BuildRequires: pkgconfig(libsodium) @@ -66,6 +70,7 @@ rm -f %{buildroot}/%{_libdir}/*.{a,la} %{_bindir}/DHT_bootstrap %{_libdir}/libtoxcore.so.%{sover} %{_libdir}/libtoxcore.so.%{sover}.* +%{_libdir}/libmisc_tools.so
%files devel @@ -75,6 +80,9 @@ rm -f %{buildroot}/%{_libdir}/*.{a,la}
%changelog +* Fri Aug 31 2018 Robert-André Mauchin zebob.m@gmail.com - 0.2.7-2 +- Add patch to install libmisc_tools needed by DHT_bootstrap + * Fri Aug 31 2018 Robert-André Mauchin zebob.m@gmail.com - 0.2.7-1 - Upstream release 0.2.7
https://src.fedoraproject.org/rpms/toxcore/c/f77c14792c6dc8bf58f1b78ecd25faf...
scm-commits@lists.fedoraproject.org