1
0
element-desktop/cc-link-lib-no-static.patch
Dominik Heidler b0a831af09 - Version 1.11.82
##  Features
  * Deduplicate more icons using Compound Design Tokens (https://github.com/element-hq/matrix-react-sdk/pull/132). Contributed by @t3chguy.
  * Always show link new device flow even if unsupported (https://github.com/element-hq/matrix-react-sdk/pull/147). Contributed by @t3chguy.
  * Update design of files list in right panel (https://github.com/element-hq/matrix-react-sdk/pull/144). Contributed by @t3chguy.
  * Remove feature\_dehydration (https://github.com/element-hq/matrix-react-sdk/pull/138). Contributed by @florianduros.
  * Upgrade emojibase-bindings and remove local handling of emoticon variations (https://github.com/element-hq/matrix-react-sdk/pull/127). Contributed by @langleyd.
  * Add support for rendering media captions (https://github.com/element-hq/matrix-react-sdk/pull/43). Contributed by @tulir.
  * Replace composer icons with Compound variants (https://github.com/element-hq/matrix-react-sdk/pull/123). Contributed by @t3chguy.
  * Tweak default right panel size to be 320px except for maximised widgets at 420px (https://github.com/element-hq/matrix-react-sdk/pull/110). Contributed by @t3chguy.
  * Add a pinned message badge under a pinned message (https://github.com/element-hq/matrix-react-sdk/pull/118). Contributed by @florianduros.
  * Ditch right panel tabs and re-add close button (https://github.com/element-hq/matrix-react-sdk/pull/99). Contributed by @t3chguy.
  * Force verification even for refreshed clients (https://github.com/element-hq/matrix-react-sdk/pull/44). Contributed by @dbkr.
  * Update emoji text, border and background colour in timeline (https://github.com/element-hq/matrix-react-sdk/pull/119). Contributed by @florianduros.
  * Disable ICE fallback based on well-known configuration (https://github.com/element-hq/matrix-react-sdk/pull/111). Contributed by @t3chguy.
  * Remove legacy room header and promote beta room header (https://github.com/element-hq/matrix-react-sdk/pull/105). Contributed by @t3chguy.
  * Respect `io.element.jitsi` `useFor1To1Calls` in well-known (https://github.com/element-hq/matrix-react-sdk/pull/112). Contributed by @t3chguy.
  * Use Compound close icon in favour of mishmash of x/close icons (https://github.com/element-hq/matrix-react-sdk/pull/108). Contributed by @t3chguy.
  ## 🐛 Bug Fixes
  * Correct typo in option documentation (https://github.com/element-hq/element-web/pull/28148). Contributed by @AndrewKvalheim.
  * Revert #124 and #135 (https://github.com/element-hq/matrix-react-sdk/pull/139). Contributed by @dbkr.
  * Add aria-label to e2e icon (https://github.com/element-hq/matrix-react-sdk/pull/136). Contributed by @florianduros.
  * Fix bell icons on room list hover being black squares (https://github.com/element-hq/matrix-react-sdk/pull/135). Contributed by @dbkr.
  * Fix vertical overflow on the mobile register screen (https://github.com/element-hq/matrix-react-sdk/pull/137). Contributed by @langleyd.
  * Allow to unpin redacted event (https://github.com/element-hq/matrix-react-sdk/pull/98). Contributed by @florianduros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=83
2024-10-22 13:58:16 +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()));