Bug 145204 - Alien Arena fails to compile due to jpeg error
Summary: Alien Arena fails to compile due to jpeg error
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-30 15:10 UTC by rnejdl
Modified: 2010-03-30 19:48 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rnejdl 2010-03-30 15:10:05 UTC
Alien Arena fails to compile and produces the following error output:

cc -O2 -pipe -march=nocona -fno-strict-aliasing -Dstricmp=strcasecmp -D_stricmp=strcasecmp -I/usr/local/include -fno-strict-aliasing -fmerge-constants -DHAVE_CURL -pthread -DDATADIR='"/usr/local/share/alienarena"' -DLIBDIR='"/usr/local/lib/alienarena"' -O2 -fomit-frame-pointer -fexpensive-optimizations -ffast-math -fPIC -o release/ref_gl/r_image.o -c ref_gl/r_image.c
ref_gl/r_image.c:606: error: conflicting types for 'jpeg_mem_src'
/usr/local/include/jpeglib.h:959: error: previous declaration of 'jpeg_mem_src' was here
ref_gl/r_image.c: In function 'jpeg_mem_src':
ref_gl/r_image.c:609: warning: assignment from incompatible pointer type
ref_gl/r_image.c: In function 'GL_InitImages':
ref_gl/r_image.c:1685: warning: passing argument 2 of 'FS_LoadFile' from incompatible pointer type
gmake[1]: *** [release/ref_gl/r_image.o] Error 1
gmake[1]: Leaving directory `/usr/ports/games/alienarena/work/alienarena7_33/source'
gmake: *** [build-release] Error 2
*** Error code 1

Stop in /usr/ports/games/alienarena.
*** Error code 1

Stop in /usr/ports/games/alienarena.
Exit 1

Fix: 

Some work has been done in a PR for openbsd:

http://mail-index.netbsd.org/pkgsrc-bugs/2010/01/30/msg035807.html

This same issue affects UFOAI and AlienArena.  That doesn't contain the complete fix though.
How-To-Repeat: Try to build alienarena.
Comment 1 Dirk Meyer freebsd_committer freebsd_triage 2010-03-30 15:36:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dinoex

I will take care of it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-03-30 18:47:47 UTC
dinoex      2010-03-30 17:47:34 UTC

  FreeBSD ports repository

  Modified files:
    games/alienarena     Makefile 
  Log:
  - fix build for jpeg-8
  PR:             145204
  
  Revision  Changes    Path
  1.24      +6 -1      ports/games/alienarena/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Dirk Meyer freebsd_committer freebsd_triage 2010-03-30 19:47:58 UTC
State Changed
From-To: open->closed

A fix has been committed, thanks.