Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#22362 - [xarchiver] Add Support 7-Zip 9
Attached to Project:
Arch Linux
Opened by Tetsumaki (tetsumaki) - Sunday, 09 January 2011, 02:23 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 09 January 2011, 15:09 GMT
Opened by Tetsumaki (tetsumaki) - Sunday, 09 January 2011, 02:23 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 09 January 2011, 15:09 GMT
|
DetailsHello.
Can you add support for 7-Zip 9 with a patch please ? In the PKGBUILD add only this : source=(http://downloads.sourceforge.net/xarchiver/xarchiver-$pkgver.tar.bz2 fix-7z.patch) md5sums=('2bc7f06403cc6582dd4a8029ec9d038d' 'e4b3d96daacd6e6e6d1c407df7a60f09') And : cd "$srcdir/xarchiver-$pkgver/src" patch -Np0 -i "${srcdir}/fix-7z.patch" And the content of fix-7z.patch : --- 7zip.c.orig 2011-01-09 02:53:44.840002221 +0100 +++ 7zip.c 2011-01-09 02:56:58.000000000 +0100 @@ -72,7 +72,7 @@ if (jump_header == FALSE) { - if (line[0] == '-') + if ((line[0] == '-') && (line[3] != NULL)) { jump_header = TRUE; return; Thanks. |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Sunday, 09 January 2011, 15:09 GMT
Reason for closing: Won't implement
Sunday, 09 January 2011, 15:09 GMT
Reason for closing: Won't implement
fix-7z.patch
http://slackbuilds.org/slackbuilds/13.1/system/xarchiver/xarchiver-0.5.2-add_xz_support.patch
The patch can also be found here: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-arch/xarchiver/files/xarchiver-0.5.2-add_xz_support.patch?revision=1.1 with the note:
"Not submitted upstream because the upstream author rewrote the code. So, this
patch may be dropped when/if upstream releases a new version."
EDIT : i have trying your patch for support XZ and conflict with 7z format.