summaryrefslogtreecommitdiffstats
path: root/debian/patches/add-so-version-to-private-libraries
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/add-so-version-to-private-libraries')
-rw-r--r--debian/patches/add-so-version-to-private-libraries22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/add-so-version-to-private-libraries b/debian/patches/add-so-version-to-private-libraries
new file mode 100644
index 0000000..8313f1e
--- /dev/null
+++ b/debian/patches/add-so-version-to-private-libraries
@@ -0,0 +1,22 @@
+From: Jeroen Dekkers <jeroen@dekkers.ch>
+Subject: Add so version number to private libraries for dpkg-shlibdeps
+
+We also want dpkg-shlibdeps to generate correct dependency information
+for the private libraries in our binary packages, but dpkg-shlibdeps
+only works when the library has a version number.
+
+Origin: vendor
+Forwarded: not-needed
+---
+ buildtools/wafsamba/wafsamba.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
+index 185ef3b73a2..291239fcaa7 100644
+--- a/buildtools/wafsamba/wafsamba.py
++++ b/buildtools/wafsamba/wafsamba.py
+@@ -307,3 +307,3 @@ def SAMBA_LIBRARY(bld, libname, source,
+ bundled_name = PRIVATE_NAME(bld, libname.replace('_', '-'))
+- vnum = None
++ vnum = '0'
+