From ccacf372a3653f7c7a2ae21b94756a1215dee443 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Wed, 6 Jan 2021 04:53:40 -0500 Subject: [PATCH 14/19] gnu: libtgvoip: Remove obsolete patches. * gnu/packages/telephony.scm (libtgvoip) [patches]: Remove libtgvoip-disable-webrtc and "libtgvoip-disable-sse2. * gnu/packages/patches/libtgvoip-disable-webrtc.patch: Remove file. * gnu/packages/patches/libtgvoip-disable-sse2.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Remove them. --- gnu/local.mk | 2 - .../patches/libtgvoip-disable-sse2.patch | 51 ------------------- .../patches/libtgvoip-disable-webrtc.patch | 47 ----------------- gnu/packages/telephony.scm | 7 +-- 4 files changed, 1 insertion(+), 106 deletions(-) delete mode 100644 gnu/packages/patches/libtgvoip-disable-sse2.patch delete mode 100644 gnu/packages/patches/libtgvoip-disable-webrtc.patch diff --git a/gnu/local.mk b/gnu/local.mk index e2e694a833..bf07b820f2 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1289,8 +1289,6 @@ dist_patch_DATA = \ %D%/packages/patches/libqalculate-3.8.0-libcurl-ssl-fix.patch \ %D%/packages/patches/libquicktime-ffmpeg.patch \ %D%/packages/patches/libtar-CVE-2013-4420.patch \ - %D%/packages/patches/libtgvoip-disable-sse2.patch \ - %D%/packages/patches/libtgvoip-disable-webrtc.patch \ %D%/packages/patches/libtgvoip-pkgconfig.patch \ %D%/packages/patches/libtheora-config-guess.patch \ %D%/packages/patches/libtirpc-hurd.patch \ diff --git a/gnu/packages/patches/libtgvoip-disable-sse2.patch b/gnu/packages/patches/libtgvoip-disable-sse2.patch deleted file mode 100644 index 0e4faeab26..0000000000 --- a/gnu/packages/patches/libtgvoip-disable-sse2.patch +++ /dev/null @@ -1,51 +0,0 @@ -Copied from Debian. - -Description: Disable SSE2 code on i386 - This patch is not complete. A high-graded solution may use automatic switching - between SSE2 and C++ implementations based on the results of runtime checks. - The webrtc code already provides for one of them inside its GetCPUInfo function. -Bug-Debian: https://bugs.debian.org/892823 -Author: Nicholas Guriev -Last-Update: Tue, 29 Jan 2019 23:26:38 +0300 - ---- a/libtgvoip.gyp -+++ b/libtgvoip.gyp -@@ -871,11 +871,7 @@ - 'WEBRTC_POSIX', - ], - 'conditions': [ -- [ '" -Last-Update: Tue, 29 Jan 2019 23:26:44 +0300 - ---- a/libtgvoip.gyp -+++ b/libtgvoip.gyp -@@ -869,20 +869,18 @@ - '"<(OS)" == "linux"', { - 'defines': [ - 'WEBRTC_POSIX', -- 'WEBRTC_LINUX', - ], - 'conditions': [ - [ '"(pthread_self()); -+ return static_cast(pthread_self()); - #endif - #endif // defined(WEBRTC_POSIX) - } diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm index 05538762c3..86a24f8fd8 100644 --- a/gnu/packages/telephony.scm +++ b/gnu/packages/telephony.scm @@ -874,13 +874,8 @@ Initiation Protocol (SIP) and a multimedia framework.") (url "https://github.com/grishka/libtgvoip") (commit version))) (file-name (git-file-name name version)) - ;; Fix compilation on i686-linux architecture. - ;; NOTE: Applying these patches is order-dependent! - ;; The patch for WebRTC /must/ precede the patch for SSE2. (patches - (search-patches "libtgvoip-disable-webrtc.patch" - "libtgvoip-disable-sse2.patch" - "libtgvoip-pkgconfig.patch")) + (search-patches "libtgvoip-pkgconfig.patch")) (sha256 (base32 "122kn3jx6v0kkldlzlpzvlwqxgp6pmzxsjhrhcxw12bx9c08sar5")))) -- 2.29.2