Package: tuxcmd-modules
Version: 0.6.70+ds-1
Severity: normal
Tags: patch

I am getting ready for an upload of the latest stable release of libarchive
version 3.0.2 to unstable. Because of a SONAME bump, this requires packages
using libarchive to be rebuilt. I found that tuxcmd-modules fails to build using
libarchive 3.0.2. Attached is a patch that will allow tuxcmd-modules to be built
with either the current version of libarchive in unstable (2.8.5) or the latest
version of libarchive (3.0.2).

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Description: Fix build failure because of removal of ARCHIVE_LIBRARY_VERSION.
 Use ARCHIVE_VERSION_STRING instead.
Author: Andres Mejia <ame...@debian.org>

--- a/libarchive/libarchive.c
+++ b/libarchive/libarchive.c
@@ -141,7 +141,7 @@
 
   module_info->ID = g_strdup ("libarchive_plugin");
   module_info->Name = g_strdup ("libarchive plugin");
-  module_info->About = g_strdup_printf ("version %s, build date: %s\nusing %s\n", VERSION, BUILD_DATE, ARCHIVE_LIBRARY_VERSION);
+  module_info->About = g_strdup_printf ("version %s, build date: %s\nusing %s\n", VERSION, BUILD_DATE, ARCHIVE_VERSION_STRING);
   module_info->Copyright = g_strdup ("Plugin Copyright (C) 2008-2009 Tomáš Bžatek\nlibarchive sources Copyright (c) 2003-2007 Tim Kientzle");
 
   return module_info;

Reply via email to