Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 356751 - media-gfx/transfig-3.2.5d fails to build with media-libs/libpng-1.5
Summary: media-gfx/transfig-3.2.5d fails to build with media-libs/libpng-1.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libpng-1.5
  Show dependency tree
 
Reported: 2011-02-27 20:21 UTC by Alexis Ballier
Modified: 2011-05-01 09:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
fix (libpng.patch,1.37 KB, patch)
2011-02-27 20:32 UTC, Alexis Ballier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!