summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2024-03-16 12:09:49 -0700
committerSam James <sam@gentoo.org>2024-03-21 02:22:27 +0000
commitb1449661e505efe64abd07cf7d8fe42ecba1eaf9 (patch)
tree426f20de0a832ce7333ff71caf6a26be79cff458 /media-libs/libopenraw/files
parentdev-lang/rust: Disable LTO by default and use thin (diff)
downloadgentoo-b1449661e505efe64abd07cf7d8fe42ecba1eaf9.tar.gz
gentoo-b1449661e505efe64abd07cf7d8fe42ecba1eaf9.tar.bz2
gentoo-b1449661e505efe64abd07cf7d8fe42ecba1eaf9.zip
media-libs/libopenraw: remove typo
The libtool flag is '-all-static' and not '--all-static' which causes slibtool to fail while GNU libtool silently ignores the unknown flag. Additionally fixing the typo causes the build to fail with undefined references so just remove it instead. Upstream already removed it themselves, but their change is not trivial to backport. Closes: https://bugs.gentoo.org/913723 Upstream-Commit: https://gitlab.freedesktop.org/libopenraw/libopenraw/-/commit/eb873c75b09074d710e3f105b9c988a28058db53 Signed-off-by: orbea <orbea@riseup.net> Closes: https://github.com/gentoo/gentoo/pull/35789 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/libopenraw/files')
-rw-r--r--media-libs/libopenraw/files/libopenraw-0.3.7-slibtool.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/media-libs/libopenraw/files/libopenraw-0.3.7-slibtool.patch b/media-libs/libopenraw/files/libopenraw-0.3.7-slibtool.patch
new file mode 100644
index 000000000000..1109a332402e
--- /dev/null
+++ b/media-libs/libopenraw/files/libopenraw-0.3.7-slibtool.patch
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/913723
+https://gitlab.freedesktop.org/libopenraw/libopenraw/-/commit/eb873c75b09074d710e3f105b9c988a28058db53
+
+--- a/lib/Makefile.am
++++ b/lib/Makefile.am
+@@ -118,10 +118,8 @@ clean-local:
+ CARGO_TARGET_DIR=$(CARGO_TARGET_DIR) cargo clean $(CARGO_VERBOSE) $(CARGO_RELEASE_ARGS)
+ rm -f $(CARGO_TARGET_DIR)/.rustc_info.json
+
+-# The use of --all-static is necesary for the RUST_LIB
+ libopenraw_la_LDFLAGS = \
+ -version-info @LIBOPENRAW_VERSION_INFO@ \
+- --all-static \
+ -lpthread -ldl
+ libopenraw_la_LIBADD = -ljpeg $(RUST_LIB) libopenraw_internals.la
+ libopenraw_la_SOURCES = \