Hi.  As this bug just caused odt2txt to be removed from Jessie, I just
uploaded a fix for it to the 5 day delayed queue.

The attached patch is the change I did, after testing the build both
in wheezy and in a sid pbuilder run.

-- 
Happy hacking
Petter Reinholdtsen
diff -Nru odt2txt-0.4+git20100620/debian/changelog 
odt2txt-0.4+git20100620/debian/changelog
--- odt2txt-0.4+git20100620/debian/changelog    2010-06-21 03:33:48.000000000 
+0200
+++ odt2txt-0.4+git20100620/debian/changelog    2014-04-15 21:12:36.000000000 
+0200
@@ -1,3 +1,15 @@
+odt2txt (0.4+git20100620-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload using patch from Hideki Yamane to fix
+    RC bug.
+  * debian/control
+    - Add "Build-Depends: pkg-config"
+  * debian/rules
+    - Add pkg-config to fix FTBFS "zip.h:53:21: fatal error: zipconf.h: No such
+      file or directory" with libzip-dev changes (Closes: #741752)
+
+ -- Petter Reinholdtsen <p...@debian.org>  Tue, 15 Apr 2014 21:11:48 +0200
+
 odt2txt (0.4+git20100620-1) unstable; urgency=low
 
   * New upstream git snapshot (53b4871):
diff -Nru odt2txt-0.4+git20100620/debian/control 
odt2txt-0.4+git20100620/debian/control
--- odt2txt-0.4+git20100620/debian/control      2010-06-21 02:08:25.000000000 
+0200
+++ odt2txt-0.4+git20100620/debian/control      2014-04-15 21:11:05.000000000 
+0200
@@ -2,7 +2,7 @@
 Section: text
 Priority: optional
 Maintainer: Nelson A. de Oliveira <nao...@debian.org>
-Build-Depends: cdbs, debhelper (>= 7), zlib1g-dev, libzip-dev
+Build-Depends: cdbs, debhelper (>= 7), zlib1g-dev, libzip-dev, pkg-config
 Standards-Version: 3.8.4
 Homepage: http://stosberg.net/odt2txt/
 
diff -Nru odt2txt-0.4+git20100620/debian/rules 
odt2txt-0.4+git20100620/debian/rules
--- odt2txt-0.4+git20100620/debian/rules        2010-06-21 03:20:48.000000000 
+0200
+++ odt2txt-0.4+git20100620/debian/rules        2014-04-15 21:11:05.000000000 
+0200
@@ -5,7 +5,7 @@
 
 DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(CURDIR)/debian/odt2txt/usr
 DEB_MAKE_ENVVARS := HAVE_LIBZIP="true"
-CFLAGS += -DHAVE_LIBZIP
+CFLAGS += -DHAVE_LIBZIP `pkg-config libzip --cflags`
 
 binary-install/odt2txt::
        mv $(CURDIR)/debian/odt2txt/usr/bin/odt2txt 
$(CURDIR)/debian/odt2txt/usr/bin/odt2txt.odt2txt

Reply via email to