[Bug 292376] devel/qt6-base: Regression in 6.10.1: qbittorrent crashes after the update

[email protected]
Newsgroups gmane.comp.kde.freebsd
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292376

--- Comment #19 from Jesper Schmitz Mouridsen <[email protected]> ---
FWIW
diff --git a/multimedia/obs-studio/Makefile b/multimedia/obs-studio/Makefile
index 02d459f69..1b6138847 100644
--- a/multimedia/obs-studio/Makefile
+++ b/multimedia/obs-studio/Makefile
@@ -69,9 +69,9 @@ CMAKE_OFF=    CMAKE_COMPILE_WARNING_AS_ERROR # no -Werror
 CFLAGS+=       -Wno-error=attribute-warning
 CFLAGS_powerpc64=      -Wno-error=deprecated-altivec-src-compat
-Wno-error=pass-failed
 CFLAGS_powerpc64le=    -Wno-error=deprecated-altivec-src-compat
-CFLAGS+=       -fPIC # otherwise we get: relocation R_X86_64_PC32 cannot be
used against symbol '__stack_chk_guard'; recompile with -fPIC
-CXXFLAGS+=     -fPIC # otherwise we get: relocation R_X86_64_PC32 cannot be
used against symbol '__stack_chk_guard'; recompile with -fPIC
-LDFLAGS+=      -fPIC # pending
https://github.com/obsproject/obs-studio/issues/3436
+CFLAGS+=       -fPIC  -fvisibility=hidden -fvisibility-inlines-hidden  #
otherwise we get: relocation R_X86_64_PC32 cannot be used against symbol
'__stack_chk_guard'; recompile with -fPIC
+CXXFLAGS+=     -fPIC -fvisibility=hidden -fvisibility-inlines-hidden  #
otherwise we get: relocation R_X86_64_PC32 cannot be used against symbol
'__stack_chk_guard'; recompile with -fPIC
+LDFLAGS+=      -fPIC -fvisibility=hidden -fvisibility-inlines-hidden # pending
https://github.com/obsproject/obs-studio/issues/3436


Makes obs work start on qt6-base-10.2 with QT_FEATURE_reduce_relocations ON

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.