about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/telegram
diff options
context:
space:
mode:
authorYureka <yuka@yuka.dev>2023-02-19 01:35:30 +0100
committerYureka <yuka@yuka.dev>2023-02-19 13:40:44 +0100
commite8de6a730c1554c8d34d0fe5719067f566d819b1 (patch)
tree370b2b097e14060c7da277d4d0edab384d369436 /pkgs/applications/networking/instant-messengers/telegram
parentd71d42707ed7d00201f99f6935044549f96869bb (diff)
tdesktop.tg_owt: additional fix for GCC 12 + musl
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/telegram')
-rw-r--r--pkgs/applications/networking/instant-messengers/telegram/tdesktop/tg_owt.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/telegram/tdesktop/tg_owt.nix b/pkgs/applications/networking/instant-messengers/telegram/tdesktop/tg_owt.nix
index 9feb5ff10a077..713069ff95a3a 100644
--- a/pkgs/applications/networking/instant-messengers/telegram/tdesktop/tg_owt.nix
+++ b/pkgs/applications/networking/instant-messengers/telegram/tdesktop/tg_owt.nix
@@ -37,6 +37,11 @@ stdenv.mkDerivation {
       url = "https://github.com/desktop-app/tg_owt/pull/101/commits/86d2bcd7afb8706663d29e30f65863de5a626142.patch";
       hash = "sha256-iWS0mB8R0vqPU/0qf6Ax54UCAKYDVCPac2mi/VHbFm0=";
     })
+    # additional fix for GCC 12 + musl
+    (fetchpatch {
+      url = "https://git.alpinelinux.org/aports/plain/community/tg_owt/gcc12.patch?id=8120df03fa3b6db5b8ff92c7a52b680290ad6e20";
+      hash = "sha256-ikgxUH1e7pz0n0pKUemrPXXa4UkECX+w467M9gU68zs=";
+    })
   ];
 
   cmakeFlags = [