Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 457634

Summary: media-libs/imlib2-1.4.5 with media-libs/giflib-5.0.x - pass NULL a second argument to DGifOpenFileHandle
Product: Gentoo Linux Reporter: Andrew John Hughes <gnu_andrew>
Component: [OLD] LibraryAssignee: Gentoo Graphics Project <graphics+disabled>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 451324    
Attachments: Pass NULL as second argument if on giflib5.

Description Andrew John Hughes 2013-02-15 00:21:14 UTC
DGifOpenFileHandle takes an optional extra parameter (a pointer to an int for an error code) on giflib 5, so the build fails.  The attached patch fixes the issue.

Reproducible: Always
Comment 1 Andrew John Hughes 2013-02-15 00:22:18 UTC
Created attachment 338922 [details, diff]
Pass NULL as second argument if on giflib5.
Comment 2 Emil Medve 2014-01-11 07:02:00 UTC
Confirm both build issue and patch effectiveness to complete the build for imlib2-1.4.6