Package: deb-gview Version: 0.2.9 Followup-For: Bug #701205 User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu raring ubuntu-patch
In Ubuntu, the attached patch was applied to achieve the following: * Rebuild for libarchive13 and port to avoid deprecated functions. The patch should be self-explanatory. It also should build fine against the version of libarchive in unstable, so no reason to hold off on uploading until after the new one transitions. ... 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 deb-gview-0.2.9/debian/changelog deb-gview-0.2.9ubuntu1/debian/changelog diff -Nru deb-gview-0.2.9/src/dvarchive.c deb-gview-0.2.9ubuntu1/src/dvarchive.c --- deb-gview-0.2.9/src/dvarchive.c 2012-03-31 15:37:23.000000000 -0600 +++ deb-gview-0.2.9ubuntu1/src/dvarchive.c 2013-02-24 16:28:04.000000000 -0700 @@ -507,7 +507,7 @@ } deb->current = &controlgz; deb->control_tar = archive_read_new (); - archive_read_support_compression_gzip (deb->control_tar); + archive_read_support_filter_gzip (deb->control_tar); archive_read_support_format_tar (deb->control_tar); error_num = ARCHIVE_OK; error_num = archive_read_open (deb->control_tar, deb, @@ -579,7 +579,7 @@ } deb->current = &datagz; deb->data_tar = archive_read_new (); - archive_read_support_compression_gzip (deb->data_tar); + archive_read_support_filter_gzip (deb->data_tar); archive_read_support_format_tar (deb->data_tar); error_num = ARCHIVE_OK; error_num = archive_read_open (deb->data_tar, deb, @@ -635,7 +635,7 @@ g_hash_table_insert (deb->data_files, locate, dvfd); archive_read_data_skip (deb->data_tar); } - archive_read_finish (deb->data_tar); + archive_read_free (deb->data_tar); } g_input_stream_close (deb->stream, NULL, &result); if (result) {