From a04177f1049519b9b0ea0393ae7e943eaf890d1a Mon Sep 17 00:00:00 2001 From: ston Date: Fri, 23 Jun 2023 10:15:43 +0800 Subject: [PATCH] net-im/tencent-qq: fix start.sh Signed-off-by: ston --- net-im/tencent-qq/files/start-script/merge-usr/start.sh | 2 ++ net-im/tencent-qq/files/start-script/split-usr/start.sh | 2 ++ ...qq-3.1.2_p13107.ebuild => tencent-qq-3.1.2_p13107-r1.ebuild} | 0 3 files changed, 4 insertions(+) rename net-im/tencent-qq/{tencent-qq-3.1.2_p13107.ebuild => tencent-qq-3.1.2_p13107-r1.ebuild} (100%) diff --git a/net-im/tencent-qq/files/start-script/merge-usr/start.sh b/net-im/tencent-qq/files/start-script/merge-usr/start.sh index f95acbe151c..7aa46c31660 100644 --- a/net-im/tencent-qq/files/start-script/merge-usr/start.sh +++ b/net-im/tencent-qq/files/start-script/merge-usr/start.sh @@ -1,6 +1,8 @@ #!/bin/bash # https://aur.archlinux.org/cgit/aur.git/tree/start.sh?h=linuxqq-nt-bwrap +export LD_PRELOAD=/usr/lib/gcc/x86_64-pc-linux-gnu/12/libstdc++.so.6 + USER_RUN_DIR="/run/user/$(id -u)" XAUTHORITY="${XAUTHORITY:-$HOME/.Xauthority}" XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}" diff --git a/net-im/tencent-qq/files/start-script/split-usr/start.sh b/net-im/tencent-qq/files/start-script/split-usr/start.sh index 6166215b470..3e85ab805bc 100644 --- a/net-im/tencent-qq/files/start-script/split-usr/start.sh +++ b/net-im/tencent-qq/files/start-script/split-usr/start.sh @@ -1,6 +1,8 @@ #!/bin/bash # https://aur.archlinux.org/cgit/aur.git/tree/start.sh?h=linuxqq-nt-bwrap +export LD_PRELOAD=/usr/lib/gcc/x86_64-pc-linux-gnu/12/libstdc++.so.6 + USER_RUN_DIR="/run/user/$(id -u)" XAUTHORITY="${XAUTHORITY:-$HOME/.Xauthority}" XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}" diff --git a/net-im/tencent-qq/tencent-qq-3.1.2_p13107.ebuild b/net-im/tencent-qq/tencent-qq-3.1.2_p13107-r1.ebuild similarity index 100% rename from net-im/tencent-qq/tencent-qq-3.1.2_p13107.ebuild rename to net-im/tencent-qq/tencent-qq-3.1.2_p13107-r1.ebuild