[libcompress-raw-lzma-perl] 01/05: Add patch to turn off check for liblzma version at runtime.
gregor herrmann
gregoa at debian.org
Sat Oct 15 10:02:48 UTC 2016
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libcompress-raw-lzma-perl.
commit 898ccbda13fe5e910ae1a95f979e9afc92ad9784
Author: gregor herrmann <gregoa at debian.org>
Date: Sat Oct 15 11:57:25 2016 +0200
Add patch to turn off check for liblzma version at runtime.
Closes: #839987
---
debian/patches/no-version-check.patch | 23 +++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 24 insertions(+)
diff --git a/debian/patches/no-version-check.patch b/debian/patches/no-version-check.patch
new file mode 100644
index 0000000..b9fbb28
--- /dev/null
+++ b/debian/patches/no-version-check.patch
@@ -0,0 +1,23 @@
+Description: Turn off version comparison in Lzma.xs.
+ liblzma5 has a proper symbols file which is used by
+ dh_shlibdeps/dpkg-shlibdeps
+Origin: vendor
+Forwarded: not-needed
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2016-10-15
+
+--- a/Lzma.xs
++++ b/Lzma.xs
+@@ -590,10 +590,12 @@ INCLUDE: constants.xs
+
+ BOOT:
+ int t = trace; t = t;
++/*
+ if (lzma_version_number() != LZMA_VERSION)
+ {
+ croak("Version Mismatch - Built with version %d, library used is version %d\n", LZMA_VERSION, lzma_version_number());
+ }
++*/
+ //set_compression_settings();
+ //lzma_init();
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8e72e8e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+no-version-check.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcompress-raw-lzma-perl.git
More information about the Pkg-perl-cvs-commits
mailing list