Package: rdup Version: 1.1.11-1 Severity: important Tags: patch User: [email protected] Usertags: origin-ubuntu raring ubuntu-patch
In Ubuntu, I've applied this simple 1-line patch to port rdup to the newer libarchive API, which will be needed for libarchive13 currently in experimental, but should also build fine against the version in unstable as well. ... Adam -- System Information: Debian Release: wheezy/sid APT prefers raring-updates APT policy: (500, 'raring-updates'), (500, 'raring-security'), (500, 'raring') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.8.0-7-generic (SMP w/4 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nru rdup-1.1.11/debian/patches/0004-libarchive.patch rdup-1.1.11/debian/patches/0004-libarchive.patch --- rdup-1.1.11/debian/patches/0004-libarchive.patch 1969-12-31 17:00:00.000000000 -0700 +++ rdup-1.1.11/debian/patches/0004-libarchive.patch 2013-02-24 21:06:56.000000000 -0700 @@ -0,0 +1,15 @@ +Description: Port to new libarchive API, drop deprecated calls +Author: Adam Conrad <[email protected]> +Forwarded: no + +--- rdup-1.1.11.orig/rdup-tr.c ++++ rdup-1.1.11/rdup-tr.c +@@ -294,7 +294,7 @@ not_s_isreg: + + if (opt_output != O_RDUP) { + archive_write_close(archive); +- archive_write_finish(archive); ++ archive_write_free(archive); + } + g_free(readbuf); + g_free(buf); diff -Nru rdup-1.1.11/debian/patches/series rdup-1.1.11/debian/patches/series --- rdup-1.1.11/debian/patches/series 2013-02-22 14:12:21.000000000 -0700 +++ rdup-1.1.11/debian/patches/series 2013-02-24 21:05:03.000000000 -0700 @@ -1,1 +1,2 @@ 0001-Delete-set-but-unused-variables.patch +0004-libarchive.patch

