UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #2302 ufo-ai won't compile against jpeg-8
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    Engine
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    2. Low
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/2302 Item 2302] imported from sourceforge.net tracker on 2013-01-28 19:30:37

Just making sure this doesn't end up being to another IRC discussion and the fix gets applied ;-)

Freenode, #ufoai

17:30 < ssuominen> It&#039;s known that 2.2.1 won&#039;t compile against jpeg-8 due to conflicting type of jpeg_mem_src ?
17:31 <  @geever > hi, don&#039;t think so. but why anyone would compile 2.2.1 in 2010? :)
17:32 < ssuominen> it&#039;s pretty much:
17:32 < ssuominen> src/renderer/r_image.c:654: error: conflicting types for ‘jpeg_mem_src’
17:32 < ssuominen> /usr/include/jpeglib.h:959: note: previous declaration of ‘jpeg_mem_src’ was here
17:32 <  @geever > if it&#039;s still an issue with the trunk please let us know..
17:32 <  @geever > we don&#039;t maintain 2.2.x anymore
17:33 < ssuominen> geever: ok
17:33 <  @geever > it&#039;s very different from where we are now..
17:33 < ssuominen> geever: as for people compiling: think of freebsd and gentoo users ;-)
17:33 * ssuominen checks out trunk
17:33 -!- Topic for #ufoai: Current stable version is 2.2.1 | http://ufoai.sourceforge.net | Wiki at http://ufoai.ninex.info/wiki | Bugtracker at
http://tinyurl.com/ufobugs | This channel is being logged, logs available at http://colabti.org/ | patches via http://pastebin.com | files via
http://drop.io or http://www.fileupl.com/ | Current doxygen warnings: http://ufoai.killfile.pl/doxygen.warnings
17:33 -!- Topic set by Zenerka [] [Wed Sep 9 13:22:13 2009]
17:34 <  @geever > oh, I&#039;m happy If I can get debian stable compatibility :)
17:34 < ssuominen> I&#039;ve renamed jpeg_mem_src to _jpeg_mem_src in renderer/r_image.c and tools/ufo2map/common/imagelib.c for 2.2.1 as a workaround
17:37 <  @geever > a quick grep shown we still have that definition
17:38 < ssuominen> It works with jpeg-6b and 7, just not with 8 anymore since it defines it&#039;s own
17:39 < o01eg> geever: Isn&#039;t it better to use SDL_image?
17:40 < ssuominen> The same(?) file r_image.c is also used in Warsow -game it seems
17:40 <  @geever > q2w engine ;)

===== Comments Ported from Sourceforge =====

====== geever (2010-01-19 16:19:33) ======

Mattn, could you check/fix this?

-geever
====== ssuominen (2010-01-29 12:09:08) ======

https://bugs.gentoo.org/302093
https://bugs.gentoo.org/attachment.cgi?id=217814

alienarena game had the same problem, again, the same file r_image.c

it&#039;s pretty sad to see this one same source file distributed across different games, and then have to fix it in everyone separately... but i&#039;m not volunteering to create a shared lib out of this stuff :-D
====== tlh2000 (2010-02-03 07:46:01) ======

should be fixed now - i don&#039;t have libjpeg8 installed, but i&#039;ve applied a similar patch as the one that was posted on the gentoo tracker

i&#039;m not sure about #define HAVE_PROTOTYPES though.

====== sf-robot (2010-02-18 02:20:14) ======

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif