File: SONAME-version-suffix.patch

package info (click to toggle)
libimagequant 4.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 536 kB
  • sloc: ansic: 430; java: 158; cs: 132; xml: 87; makefile: 72
file content (20 lines) | stat: -rw-r--r-- 723 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: allows a suffix of `.so.0`
Author: xiao sheng wen <atzlinux@debian.org>
Forwarded: not-needed
Last-Update: 2025-08-24

---

--- libimagequant-4.2.0.orig/imagequant-sys/Cargo.toml
+++ libimagequant-4.2.0/imagequant-sys/Cargo.toml
@@ -30,6 +30,10 @@ libc = "0.2.112"
 [package.metadata.capi.library]
 name = "imagequant"
 version = "0.4.1"
+# Instead of using semver, select a fixed number of version components for your SONAME version suffix:
+# Setting this to 1 with a version of 0.0.0 allows a suffix of `.so.0`
+# Setting this to 3 always includes the full version in the SONAME (indicate any update is ABI breaking)
+version_suffix_components = 1
 
 [package.metadata.capi.pkg_config]
 name = "imagequant"