Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 499480 - media-libs/libmng-2.0.2 jpeglib.h:1000:52: error: unknown type name 'FILE'
Summary: media-libs/libmng-2.0.2 jpeglib.h:1000:52: error: unknown type name 'FILE'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-01-27 17:55 UTC by Andreas Proteus
Modified: 2014-01-27 18:13 UTC (History)
0 users

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


Attachments
The build.log (build.log.txt,18.82 KB, text/plain)
2014-01-27 17:55 UTC, Andreas Proteus
Details
Suggested patch (stdio.patch,286 bytes, patch)
2014-01-27 17:57 UTC, Andreas Proteus
Details | Diff
My emerge.info (emerge.info,5.65 KB, text/plain)
2014-01-27 17:58 UTC, Andreas Proteus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Proteus 2014-01-27 17:55:58 UTC
Created attachment 368900 [details]
The build.log

Fails to compile with the following error: 
In file included from /var/tmp/portage/media-libs/libmng-2.0.2/work/libmng-2.0.2/libmng_types.h:207:0,
                 from /var/tmp/portage/media-libs/libmng-2.0.2/work/libmng-2.0.2/libmng.h:386,
                 from /var/tmp/portage/media-libs/libmng-2.0.2/work/libmng-2.0.2/libmng_filter.c:41:
/usr/include/jpeglib.h:1000:52: error: unknown type name 'FILE'
/usr/include/jpeglib.h:1001:53: error: unknown type name 'FILE'
Makefile:459: recipe for target 'libmng_filter.lo' failed
Comment 1 Andreas Proteus 2014-01-27 17:57:41 UTC
Created attachment 368902 [details, diff]
Suggested patch

This patch seems to solve the problem.
Comment 2 Andreas Proteus 2014-01-27 17:58:36 UTC
Created attachment 368904 [details]
My emerge.info
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2014-01-27 18:12:55 UTC
Comment on attachment 368902 [details, diff]
Suggested patch

looks same as...

https://projects.archlinux.org/svntogit/packages.git/plain/trunk/libmng-stdio.patch?h=packages/libmng

added the patch to portage as 2.0.2-r1