Description: Fix for libpng 1.6 Author: Programmer Nerd Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743388#20 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743388 Reviewed-by: Tobias Frost > Last-Update: 2016-04-07 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/src/t4k_loaders.c +++ b/src/t4k_loaders.c @@ -1028,12 +1028,9 @@ { png_init_io(png_ptr, fi); - info_ptr->width = surf->w; - info_ptr->height = surf->h; - info_ptr->bit_depth = 8; - info_ptr->color_type = PNG_COLOR_TYPE_RGB_ALPHA; - info_ptr->interlace_type = 1; - info_ptr->valid = 0; /* will be updated by various png_set_FOO() functions */ + png_set_IHDR(png_ptr, info_ptr, surf->w, surf->h, 8, + PNG_COLOR_TYPE_RGB_ALPHA, PNG_INTERLACE_NONE, + PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT); png_set_sRGB_gAMA_and_cHRM(png_ptr, info_ptr, PNG_sRGB_INTENT_PERCEPTUAL); table class='tabs'> aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-07-25gnu: go-github-com-hjson-hjson-go: Rename variable.Sharlatan Hellseher
* gnu/packages/golang-web.scm (go-github-com-hjson-hjson-go): Rename variable to go-github-com-hjson-hjson-go-v4 to reflect go.mod import path. Apply new package style. * gnu/packages/networking.scm (yggdrasil) [propagated-inputs]: Remove go-github-com-hjson-hjson-go, add go-github-com-hjson-hjson-go-v4. * gnu/packages/uucp.scm (nncp) [propagated-inputs]: Remove go-github-com-hjson-hjson-go, add go-github-com-hjson-hjson-go-v4. Change-Id: I9e99f208feaf535d9946e11dff09a81fc4a01a7a
2024-06-29gnu: nncp: Apply "-trimpath" flag.Sharlatan Hellseher
* gnu/packages/uucp.scm (nncp) [arguments]: <#:phases>: Remove 'remove-go-references phase. Set BUILDFLAGS=-trimpath to replace 'remove-go-references phase in 'configure phase. Change-Id: I7cfe14174e38708d36329d8e33ed6bb1ce0ae220
2024-02-13gnu: go-github-com-klauspost-compress: Move to golang-compression.Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-klauspost-compress): Move from here ... * gnu/packages/golang-compression.scm: ... to here. * gnu/packages/golang-compression.scm: Add (gnu packages golang-compression) module. * gnu/packages/golang-crypto.scm: As above. * gnu/packages/golang-web.scm: As above. * gnu/packages/uucp.scm: As above. Change-Id: Ia99f1e6aae7f75940fc150eb02862c0b3e9f3325
2024-02-13gnu: go-golang-org-x-net: Move to golang-build.Sharlatan Hellseher
* gnu/packages/golang.scm (go-golang-org-x-net, go-golang-org-x-net-0.17, go-golang-org-x-net-html): Move from here ... * gnu/packages/golang-build.scm: ... to here. * gnu/packages/configuration-management.scm: Add (gnu packages golang-build) module. * gnu/packages/education.scm: As above ... * gnu/packages/file-systems.scm: As above ... * gnu/packages/golang-check.scm: As above ... * gnu/packages/golang-crypto.scm: As above ... * gnu/packages/golang-web.scm: As above ... * gnu/packages/golang-xyz.scm: As above ... * gnu/packages/golang.scm: As above ... * gnu/packages/ipfs.scm: As above ... * gnu/packages/messaging.scm: As above ... * gnu/packages/networking.scm: As above ... * gnu/packages/uucp.scm: As above ... * gnu/packages/version-control.scm: As above ... Change-Id: If009e62555ada293f17cf0f42fde82c21ef4615e
2024-01-28gnu: go-lukechampine-com-blake3: Move to (gnu packages golang-crypto).Sharlatan Hellseher
* gnu/packages/golang.scm (go-lukechampine-com-blake3): Move from here ... * gnu/packages/golang-crypto.scm: ... to here. * gnu/packages/uucp.scm: Add (gnu packages golang-crypto) to used modules. Change-Id: I56dba8380317a0f58f92140889611ac3075af2cf
2024-01-03gnu: go-github-com-hjson-hjson-go: Move to (gnu packages golang-web).Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-hjson-hjson-go): Move from here... * gnu/packages/golang-web.scm: ...to here. * gnu/packages/networking.scm: Add (gnu packages golang-web) module. * gnu/packages/uucp.scm: As above. Change-Id: If1ba5e4d866ce74fa35ae9126c6ba4cd0b149dab