Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102359 - media-gfx/dcraw missing sys/types.h include
Summary: media-gfx/dcraw missing sys/types.h include
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-13 06:00 UTC by Alberto Zennaro
Modified: 2006-04-12 10:50 UTC (History)
0 users

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


Attachments
Fix the missing sys/types.h include in parse.c (types.h_include.patch,222 bytes, patch)
2005-08-13 06:01 UTC, Alberto Zennaro
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alberto Zennaro 2005-08-13 06:00:06 UTC
This is the output when i try to emerge dcraw

Calculating dependencies  ...done!
>>> emerge (1 of 1) media-gfx/dcraw-7.02 to /
>>> md5 src_uri ;-) dcraw-7.02.tar.bz2
>>> Unpacking source...
>>> Unpacking dcraw-7.02.tar.bz2 to /var/tmp/portage/dcraw-7.02/work
>>> Source unpacked.
parse.c:53: error: parse error before "get2"
parse.c:54: warning: return type defaults to `int'
parse.c: In function `rollei_decode':
parse.c:489: error: `ushort' undeclared (first use in this function)
parse.c:489: error: (Each undeclared identifier is reported only once
parse.c:489: error: for each function it appears in.)
parse.c:489: error: parse error before "data"
parse.c:496: error: `data' undeclared (first use in this function)
parse.c: In function `get_utf8':
parse.c:506: error: `ushort' undeclared (first use in this function)
parse.c:506: error: parse error before "c"
parse.c:510: error: `c' undeclared (first use in this function)
parse.c: At top level:
parse.c:525: error: parse error before "sget2"
parse.c:526: warning: return type defaults to `int'
parse.c: In function `parse_foveon':
parse.c:631: warning: dereferencing type-punned pointer will break
strict-aliasing rules
parse.c: In function `kodak_yuv_decode':
parse.c:756: error: `ushort' undeclared (first use in this function)
parse.c:756: error: `out' undeclared (first use in this function)
parse.c:756: error: `op' undeclared (first use in this function)
parse.c:756: warning: left-hand operand of comma expression has no effect
parse.c:756: warning: statement with no effect
gmake: *** [parse] Error 1
gmake: *** Waiting for unfinished jobs....

!!! ERROR: media-gfx/dcraw-7.02 failed.
!!! Function src_compile, Line 28, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Alberto Zennaro 2005-08-13 06:01:27 UTC
Created attachment 65829 [details, diff]
Fix the missing sys/types.h include in parse.c
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-10 06:20:02 UTC
Can't reproduce here. Sure this is needed?