Add patch to fix #8276

This commit is contained in:
2025-11-08 22:05:24 +03:00
parent 4db65c2132
commit d6e40fb7f5
3 changed files with 35 additions and 0 deletions

View File

@@ -192,6 +192,9 @@ build_for_arch() {
echo "[*] Building for target: $short (RID=$rid, RPM --target $rpm_target)"
# Apply patches before building
git apply ./patches/0001-fix-automatic-connection.patch
# .NET publish (self-contained) for this RID
dotnet restore "$PROJECT"
rm -rf "$(dirname "$PROJECT")/bin/Release/net8.0" || true
@@ -203,6 +206,9 @@ build_for_arch() {
-p:IncludeNativeLibrariesForSelfExtract=true \
-p:StripSymbols=true
# Revert patches after building
git apply -R ./patches/0001-fix-automatic-connection.patch
# Per-arch variables (scoped)
local RID_DIR="$rid"
local PUBDIR