1
0
Files
element-desktop/no-walrus-operator.patch
Dominik Heidler faf9082c7c - Version 1.11.90
##  Features
  * Docker: run as non-root (https://github.com/element-hq/element-web/pull/28849). Contributed by @richvdh.
  * Docker: allow configuration of HTTP listen port via env var (https://github.com/element-hq/element-web/pull/28840). Contributed by @richvdh.
  * Update matrix-wysiwyg to consume WASM asset (https://github.com/element-hq/element-web/pull/28838). Contributed by @t3chguy.
  * OIDC settings tweaks (https://github.com/element-hq/element-web/pull/28787). Contributed by @t3chguy.
  * Delabs native OIDC support (https://github.com/element-hq/element-web/pull/28615). Contributed by @t3chguy.
  * Move room header info button to right-most position (https://github.com/element-hq/element-web/pull/28754). Contributed by @t3chguy.
  * Enable key backup by default (https://github.com/element-hq/element-web/pull/28691). Contributed by @dbkr.
  ## 🐛 Bug Fixes
  * Fix building the automations mermaid diagram (https://github.com/element-hq/element-web/pull/28881). Contributed by @dbkr.
  * Playwright: wait for the network listener on the postgres db (https://github.com/element-hq/element-web/pull/28808). Contributed by @dbkr.
Version 1.11.89
  * No changes
  ## 🐛 Bug Fixes
  * Upgrade matrix-sdk-crypto-wasm to 1.11.0 (https://github.com/matrix-org/matrix-js-sdk/pull/4593)
  * Fix url preview display (https://github.com/element-hq/element-web/pull/28766).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=91
2025-01-15 14:02:01 +00:00

25 lines
1000 B
Diff

--- foo/node_modules/node-gyp/gyp/pylib/gyp/common.py 2024-09-26 12:47:30.529999000 +0200
+++ ./common.py 2024-09-26 22:52:44.247875969 +0200
@@ -432,13 +432,17 @@
def replace_sep(s):
return s.replace(os.sep, "/") if os.sep != "/" else s
- if CC := os.environ.get("CC_target") or os.environ.get("CC"):
+ CC = os.environ.get("CC_target") or os.environ.get("CC")
+ CXX = os.environ.get("CXX_target") or os.environ.get("CXX")
+ CFLAGS = os.environ.get("CFLAGS")
+ CXXFLAGS = os.environ.get("CXXFLAGS")
+ if CC:
cmd += shlex.split(replace_sep(CC))
- if CFLAGS := os.environ.get("CFLAGS"):
+ if CFLAGS:
cmd += shlex.split(replace_sep(CFLAGS))
- elif CXX := os.environ.get("CXX_target") or os.environ.get("CXX"):
+ elif CXX:
cmd += shlex.split(replace_sep(CXX))
- if CXXFLAGS := os.environ.get("CXXFLAGS"):
+ if CXXFLAGS:
cmd += shlex.split(replace_sep(CXXFLAGS))
else:
return {}