Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 288883 Details for
Bug 385755
Patch for timidity++-2.13.2 with libpng 1.5
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Gets timidity++ compiling
timidity++-2.13.2-png15.patch (text/plain), 1.03 KB, created by
Cliff Yapp
on 2011-10-05 17:01:17 UTC
(
hide
)
Description:
Gets timidity++ compiling
Filename:
MIME Type:
Creator:
Cliff Yapp
Created:
2011-10-05 17:01:17 UTC
Size:
1.03 KB
patch
obsolete
>--- TiMidity++-2.13.2/interface/x_sherry.c >+++ TiMidity++-2.13.2-new/interface/x_sherry.c >@@ -782,7 +782,7 @@ > static void png_read_func(png_structp png_ptr, char *buff, size_t n) > { > struct timidity_file *tf; >- tf = (struct timidity_file *)png_ptr->io_ptr; >+ tf = (struct timidity_file *)png_get_io_ptr(png_ptr); > tf_read(buff, 1, n, tf); > } > >@@ -909,7 +909,7 @@ > { > if(png_get_valid(pngPtr, infoPtr, PNG_INFO_hIST)) > png_get_hIST(pngPtr, infoPtr, &hist); >- png_set_dither(pngPtr, palette, >+ png_set_quantize(pngPtr, palette, > numPalette, MAX_SCREEN_COLORS, hist, 1); > } > } >@@ -934,13 +934,11 @@ > } > } > } >- png_set_dither(pngPtr, stdColorCube, >+ png_set_quantize(pngPtr, stdColorCube, > 6*7*6, MAX_SCREEN_COLORS, > NULL, 1); > /*???*/ >- png_set_PLTE(pngPtr, infoPtr, pngPtr->palette, pngPtr->num_palette); >- palette = pngPtr->palette; >- numPalette = pngPtr->num_palette; >+ png_set_PLTE(pngPtr, infoPtr, palette, numPalette); > } > > if(png_get_valid(pngPtr, infoPtr, PNG_INFO_tRNS))
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 Raw
Actions:
View
Attachments on
bug 385755
: 288883