unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Raghav Gururajan <rg@raghavgururajan.name>
To: guix-devel@gnu.org
Cc: Leo Prikler <leo.prikler@student.tugraz.at>
Subject: Fix seg-faulting of telegram-desktop
Date: Thu, 18 Feb 2021 11:30:21 -0500	[thread overview]
Message-ID: <9c37716f-8bbb-b107-8c15-27f27314e1c6@raghavgururajan.name> (raw)


[-- Attachment #1.1.1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #1.1.2: 0001-gnu-webrtc-for-telegram-desktop-Compile-with-gcc-9.patch --]
[-- Type: text/x-patch, Size: 927 bytes --]

From 15b14fda8d954d184b3509359ae440dd47ab2ff6 Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <rg@raghavgururajan.name>
Date: Thu, 18 Feb 2021 11:23:16 -0500
Subject: [PATCH 1/2] gnu: webrtc-for-telegram-desktop: Compile with gcc-9.

* gnu/packages/telegram.scm (webrtc-for-telegram-desktop) [native-inputs]: Add gcc-9.
---
 gnu/packages/telegram.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 2430242241..5eb4081363 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -126,7 +126,8 @@
                   (copy-recursively libyuv-from libyuv-to))
                 #t)))))
        (native-inputs
-        `(("pkg-config" ,pkg-config)
+        `(("gcc" ,gcc-9)
+          ("pkg-config" ,pkg-config)
           ("python" ,python-wrapper)
           ("yasm" ,yasm)))
        (inputs
-- 
2.30.1


[-- Attachment #1.1.3: 0002-gnu-webrtc-for-telegram-desktop-Add-missing-input.patch --]
[-- Type: text/x-patch, Size: 816 bytes --]

From 98cb75d0c5235bfca33f7188f356985b744e1d08 Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <rg@raghavgururajan.name>
Date: Thu, 18 Feb 2021 11:28:01 -0500
Subject: [PATCH 2/2] gnu: webrtc-for-telegram-desktop: Add missing input.

* gnu/packages/telegram.scm (webrtc-for-telegram-desktop) [native-inputs]: Add perl.
---
 gnu/packages/telegram.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 5eb4081363..661d390dbf 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -127,6 +127,7 @@
                 #t)))))
        (native-inputs
         `(("gcc" ,gcc-9)
+          ("perl" ,perl)
           ("pkg-config" ,pkg-config)
           ("python" ,python-wrapper)
           ("yasm" ,yasm)))
-- 
2.30.1


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

                 reply	other threads:[~2021-02-18 16:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9c37716f-8bbb-b107-8c15-27f27314e1c6@raghavgururajan.name \
    --to=rg@raghavgururajan.name \
    --cc=guix-devel@gnu.org \
    --cc=leo.prikler@student.tugraz.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).