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

Bug 356751

Summary: media-gfx/transfig-3.2.5d fails to build with media-libs/libpng-1.5
Product: Gentoo Linux Reporter: Alexis Ballier <aballier>
Component: Current packagesAssignee: Peter Volkov (RETIRED) <pva>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 354479    
Attachments: fix

Description Alexis Ballier gentoo-dev 2011-02-27 20:21:22 UTC
gcc -O2 -fno-strength-reduce -fno-strict-aliasing    -I.. -I../..  -I/usr/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L                          -D_POSIX_SOURCE -D_XOPEN_SOURCE                          -D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                                                                -DFUNCPROTO=15 -DNARROWPROTO   -DUSE_PNG -DUSE_XPM -I/usr/include/X11 -I/usr/include/X11 -DNFSS            -DLATEX2E_GRAPHICS   -DDVIPS -DI18N -DFIG2DEV_LIBDIR=/usr/share/fig2dev -DFIG2DEV_LIBDIR_STR=\"/usr/share/fig2dev\" -DBITMAPDIR=\"/usr/share/xfig/bitmaps\"    -c -o readpng.o readpng.c
readpng.c: In function ‘read_png’:
readpng.c:65:9: error: dereferencing pointer to incomplete type
readpng.c:81:17: error: dereferencing pointer to incomplete type
readpng.c:82:38: error: dereferencing pointer to incomplete type
readpng.c:86:17: error: dereferencing pointer to incomplete type
readpng.c:88:39: error: dereferencing pointer to incomplete type
make[2]: *** [readpng.o] Error 1
Comment 1 Alexis Ballier gentoo-dev 2011-02-27 20:32:37 UTC
Created attachment 264093 [details, diff]
fix

not upstreamed, please do it
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2011-05-01 09:58:36 UTC
Patch applied in 3.2.5d-r1 and upstreamed. Thank you Alexis!