1
0
element-desktop/cc-link-lib-no-static.patch
Dominik Heidler 1ac3d41f1e - Version 1.11.80
##  Features
  * Add doc for 'force\_verification config option (https://github.com/element-hq/element-web/pull/28035). Contributed by @dbkr.
  * Roll back change to device isolation mode (https://github.com/element-hq/matrix-react-sdk/pull/104). Contributed by @richvdh.
  * Remove right panel toggling behaviour on room header buttons (https://github.com/element-hq/matrix-react-sdk/pull/100). Contributed by @t3chguy.
  * Improve error display for messages sent from insecure devices (https://github.com/element-hq/matrix-react-sdk/pull/93). Contributed by @richvdh.
  * Add labs option to exclude unverified devices (https://github.com/element-hq/matrix-react-sdk/pull/92). Contributed by @richvdh.
  * Improve contrast for timestamps, date separators \& spotlight trigger (https://github.com/element-hq/matrix-react-sdk/pull/91). Contributed by @t3chguy.
  * Open room settings on room header avatar click (https://github.com/element-hq/matrix-react-sdk/pull/88). Contributed by @t3chguy.
  * Use `strong` over `b` for improved a11y semantics (https://github.com/element-hq/matrix-react-sdk/pull/41). Contributed by @t3chguy.
  * Grant Element Call widget capabilities for "raise hand" feature (https://github.com/element-hq/matrix-react-sdk/pull/82). Contributed by @AndrewFerr.
  * Mobile registration optimizations and tests (https://github.com/element-hq/matrix-react-sdk/pull/62). Contributed by @langleyd.
  * Ignore chat effect when older than 48h (https://github.com/element-hq/matrix-react-sdk/pull/48). Contributed by @florianduros.
  ## 🐛 Bug Fixes
  * Update native OIDC callback url to be RFC8252 compliant (https://github.com/element-hq/element-web/pull/28096). Contributed by @t3chguy.
  * Update icons to include transparency (https://github.com/element-hq/element-web/pull/28040). Contributed by @t3chguy.
  * Fix default\_widget\_container\_height in sample config (https://github.com/element-hq/element-web/pull/28034). Contributed by @dbkr.
  * Fix untranslated keys being rendered in `/help` dialog (https://github.com/element-hq/matrix-react-sdk/pull/90). Contributed by @t3chguy.
  * Ensure timeline search results are visible even in video rooms (https://github.com/element-hq/matrix-react-sdk/pull/96). Contributed by @t3chguy.
  * Pop right panel timeline when unmaximising widget to avoid double timeline (https://github.com/element-hq/matrix-react-sdk/pull/94). Contributed by @t3chguy.
  * Fix accessible label on left panel spotlight trigger (https://github.com/element-hq/matrix-react-sdk/pull/87). Contributed by @t3chguy.
  * Crypto: fix display of device key (https://github.com/element-hq/matrix-react-sdk/pull/86). Contributed by @richvdh.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=80
2024-10-09 09:29:13 +00:00

19 lines
1.0 KiB
Diff

Do not make cc emit "static" to cargo, that option is broken (rustc tries to repact LTO objects and corrupts them in the process leading to missing symbols).
Make rustc believe everything foreign is a “dylib”. (It's not, but that makes it pass them to intact to GCC to do the linking)
--- vendor/.hak/hakModules/matrix-seshat/vendor/cc/src/lib.rs.orig 2024-05-16 18:44:16.828468243 +0200
+++ vendor/.hak/hakModules/matrix-seshat/vendor/cc/src/lib.rs 2024-05-16 19:04:27.036595422 +0200
@@ -1100,10 +1100,10 @@ impl Build {
}
if self.link_lib_modifiers.is_empty() {
- self.print(&format!("cargo:rustc-link-lib=static={}", lib_name));
+ self.print(&format!("cargo:rustc-link-lib={}", lib_name));
} else {
let m = self.link_lib_modifiers.join(",");
- self.print(&format!("cargo:rustc-link-lib=static:{}={}", m, lib_name));
+ self.print(&format!("cargo:rustc-link-lib:{}={}", m, lib_name));
}
self.print(&format!("cargo:rustc-link-search=native={}", dst.display()));