Hi,

I'm attaching a patch for the Debian package which enables building with 
xz/zlib.

-- 
Tomáš Janoušek, a.k.a. Liskni_si, http://work.lisk.in/
From 6230f6eda014bc2c2f13d11943cb72187e65695e Mon Sep 17 00:00:00 2001
From: Tomas Janousek <t...@nomi.cz>
Date: Sun, 14 Dec 2014 23:55:39 +0100
Subject: [PATCH] enable compression

---
 debian/changelog | 6 ++++++
 debian/control   | 1 +
 debian/rules     | 2 +-
 3 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index cd4249c..54c4eb5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+kmod (18-3.0.1) unstable; urgency=low
+
+  * enable compression
+
+ -- Tomas Janousek <t...@nomi.cz>  Sun, 14 Dec 2014 23:55:24 +0100
+
 kmod (18-3) unstable; urgency=high
 
   * postinst: do not use autodie. (Closes: #762974)
diff --git a/debian/control b/debian/control
index bc0efa3..d884a8e 100644
--- a/debian/control
+++ b/debian/control
@@ -3,6 +3,7 @@ Section: admin
 Priority: important
 Maintainer: Marco d'Itri <m...@linux.it>
 Build-Depends: debhelper (>> 9), xsltproc,
+  liblzma-dev, zlib1g-dev,
   autoconf, automake, libtool, gtk-doc-tools
 Standards-Version: 3.9.5
 Vcs-Git: git://anonscm.debian.org/git/users/md/kmod.git
diff --git a/debian/rules b/debian/rules
index 6fb945a..60c4736 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,7 +17,7 @@ CONFFLAGS_deb  = $(CONFFLAGS) \
     dpkg-buildflags --export=configure || true) \
   --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
   --with-rootlibdir=/lib/$(DEB_HOST_MULTIARCH) \
-  --enable-debug
+  --enable-debug --with-xz --with-zlib
 CONFFLAGS_udeb = $(CONFFLAGS) \
   $(subst -O2,-Os -fomit-frame-pointer,$(shell DEB_BUILD_MAINT_OPTIONS="hardening=-all" \
     dpkg-buildflags --export=configure || true)) \
-- 
2.1.3

Reply via email to