mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
net-misc/megasync: add 5.10.0.2
Reintroduce dolphin USE flag with Qt6 support. Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
30
net-misc/megasync/files/megasync-5.10.0.2-link-zlib.patch
Normal file
30
net-misc/megasync/files/megasync-5.10.0.2-link-zlib.patch
Normal file
@@ -0,0 +1,30 @@
|
||||
Add missing zlib links.
|
||||
```
|
||||
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: src/MEGASync/mega/tools/gfxworker/liblibgfxworker.a(logger.cpp.o): undefined reference to symbol 'gzputs'
|
||||
```
|
||||
--- a/src/MEGASync/control/control.cmake
|
||||
+++ b/src/MEGASync/control/control.cmake
|
||||
@@ -100,6 +100,9 @@ set(DESKTOP_APP_CONTROL_SOURCES
|
||||
${CMAKE_CURRENT_LIST_DIR}/UsersUpdateListener.cpp
|
||||
)
|
||||
|
||||
+find_package(ZLIB REQUIRED)
|
||||
+target_link_libraries(${ExecutableTarget} PRIVATE ZLIB::ZLIB)
|
||||
+
|
||||
target_sources(${ExecutableTarget}
|
||||
PRIVATE
|
||||
${DESKTOP_APP_CONTROL_HEADERS}
|
||||
--- a/src/MEGASync/mega/tools/gfxworker/CMakeLists.txt
|
||||
+++ b/src/MEGASync/mega/tools/gfxworker/CMakeLists.txt
|
||||
@@ -70,9 +70,11 @@ add_executable(gfxworker
|
||||
src/main.cpp
|
||||
)
|
||||
|
||||
+find_package(ZLIB REQUIRED)
|
||||
target_link_libraries(gfxworker
|
||||
PRIVATE
|
||||
libgfxworker
|
||||
+ ZLIB::ZLIB
|
||||
)
|
||||
|
||||
# Adjust compilation flags for warnings and errors for gfxworker
|
||||
Reference in New Issue
Block a user