[neon/backports-jammy/kimageannotator/Neon/release] debian/patches: debian/patches/0001: Add patch to fix SONAME setup

Boyuan Yang null at kde.org
Tue Jan 16 14:14:15 GMT 2024


Git commit 13a59e2af32d310def9be38ab8d29ec00eae1933 by Boyuan Yang.
Committed on 27/12/2020 at 04:27.
Pushed by jriddell into branch 'Neon/release'.

debian/patches/0001: Add patch to fix SONAME setup

A  +24   -0    debian/patches/0001-Fix-soname.patch
A  +1    -0    debian/patches/series

https://invent.kde.org/neon/backports-jammy/kimageannotator/-/commit/13a59e2af32d310def9be38ab8d29ec00eae1933

diff --git a/debian/patches/0001-Fix-soname.patch b/debian/patches/0001-Fix-soname.patch
new file mode 100644
index 0000000..1e9dc50
--- /dev/null
+++ b/debian/patches/0001-Fix-soname.patch
@@ -0,0 +1,24 @@
+From: Boyuan Yang <byang at debian.org>
+Date: Sat, 26 Dec 2020 22:26:25 -0500
+Subject: Fix soname
+
+Bug-Debian: https://bugs.debian.org/977649
+Applied-Upstream: https://github.com/ksnip/kImageAnnotator/commit/72353f0208410ec1170daf07859a88365f86605f
+---
+ CMakeLists.txt | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 6cf69d2..6c97b81 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -80,7 +80,8 @@ set_target_properties(kImageAnnotator
+ 					  ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib
+ 					  LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib
+ 					  RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin
+-					  SOVERSION ${PROJECT_VERSION}
++					  VERSION ${PROJECT_VERSION}
++					  SOVERSION 0
+ 					  )
+ 
+ install(TARGETS kImageAnnotator
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9bb24ce
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Fix-soname.patch



More information about the Neon-commits mailing list