[neon/kde/sonnet/Neon/unstable] debian/patches: add patch to fix compile

Jonathan Riddell null at kde.org
Thu May 6 16:28:46 BST 2021


Git commit 7e20ece577dfc25e042f733164c4b851669feba2 by Jonathan Riddell.
Committed on 06/05/2021 at 15:28.
Pushed by jriddell into branch 'Neon/unstable'.

add patch to fix compile

A  +13   -0    debian/patches/libz.diff
A  +1    -0    debian/patches/series

https://invent.kde.org/neon/kde/sonnet/commit/7e20ece577dfc25e042f733164c4b851669feba2

diff --git a/debian/patches/libz.diff b/debian/patches/libz.diff
new file mode 100644
index 0000000..188f710
--- /dev/null
+++ b/debian/patches/libz.diff
@@ -0,0 +1,13 @@
+diff --git a/src/plugins/hspell/CMakeLists.txt b/src/plugins/hspell/CMakeLists.txt
+index 3c87cdb..c7460cb 100644
+--- a/src/plugins/hspell/CMakeLists.txt
++++ b/src/plugins/hspell/CMakeLists.txt
+@@ -16,7 +16,7 @@ ecm_qt_declare_logging_category(sonnet_hspell_PART_SRCS
+ 
+ add_library(sonnet_hspell MODULE ${sonnet_hspell_PART_SRCS})
+ 
+-target_link_libraries(sonnet_hspell PRIVATE KF5::SonnetCore ${HSPELL_LIBRARIES})
++target_link_libraries(sonnet_hspell PRIVATE KF5::SonnetCore ${HSPELL_LIBRARIES} z)
+ 
+ install(TARGETS sonnet_hspell  DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/sonnet/)
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..827bcf0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+libz.diff


More information about the Neon-commits mailing list