Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300026 - games-fps/darkplaces-20090709 using bundled jpeg source instead of system libjpeg.h
Summary: games-fps/darkplaces-20090709 using bundled jpeg source instead of system lib...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-07 12:00 UTC by Valeriy Malov
Modified: 2010-03-17 20:19 UTC (History)
0 users

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


Attachments
Upstream patch for linking against system jpeg (darkplaces-20090709-system_jpeg.patch,3.18 KB, patch)
2010-03-02 21:49 UTC, Samuli Suominen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Valeriy Malov 2010-01-07 12:00:44 UTC
Darkplaces-20090709 using bundled jpeg source with JPEG_LIB_VERSION 62 and won't start with an error

Wrong JPEG library version: library is 70, caller expects 62

if no jpeg-compat installed and jpeg-7 is used in system. Since Jul 20 2009, linking to jpeg is should be available without modifying the source http://svn.icculus.org/twilight?view=rev&revision=9064

Reproducible: Sometimes

Steps to Reproduce:
1. unmerge media-libs/jpeg-compat
2. emerge games-fps/darkplaces-20090709
3. run darkplaces

Actual Results:  
darkplaces quits with "Wrong JPEG library version: library is 70, caller expects 62"

Expected Results:  
darkplaces should run without any problems
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-03-02 21:49:58 UTC
Created attachment 221875 [details, diff]
Upstream patch for linking against system jpeg

This should work if you add it to src_prepare() { } and DP_LINK_TO_JPEG=1 to "local opts" in src_compile().

However, the build system is a bit confusing me here... It looks like this, and all the previous additions in the ebuild are currently ignored?! Please check.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2010-03-17 20:19:19 UTC
version bumped it and cleaned out all the old cruft.  Enhancement patches if necessary in a new bug please.