Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 314051 Details for
Bug 418185
media-sound/xmp-3.5.0 fails to play LZMA compressed module
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixes the problem described in this bug report for LZMA files.
xmp-3.5.0-lzma-detection-fix.diff (text/plain), 601 bytes, created by
Bodo Thiesen
on 2012-06-03 13:27:25 UTC
(
hide
)
Description:
Fixes the problem described in this bug report for LZMA files.
Filename:
MIME Type:
Creator:
Bodo Thiesen
Created:
2012-06-03 13:27:25 UTC
Size:
601 bytes
patch
obsolete
>--- xmp-3.5.0.org/src/misc/load.c >+++ xmp-3.5.0.mod/src/misc/load.c >@@ -105,12 +105,19 @@ > if ((headersize = fread(b, 1, 1024, *f)) < 100) /* minimum valid file size */ > return 0; > >+ size_t sl=strlen(*s); >+ > #if defined __AMIGA__ && !defined __AROS__ > if (packer = test_xfd(b, 1024)) { > builtin = BUILTIN_XFD; > } else > #endif > >+ if (!strcmp((*s)+sl-5,".lzma")) { >+ packer = "lzma"; >+ cmd = "lzma -dc \"%s\""; >+ } else >+ > if (b[0] == 'P' && b[1] == 'K' && > ((b[2] == 3 && b[3] == 4) || (b[2] == '0' && b[3] == '0' && > b[4] == 'P' && b[5] == 'K' && b[6] == 3 && b[7] == 4))) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 418185
: 314051