On 2014/02/02 22:31, Jonathan Gray wrote:
> I've run into a situation where on both i386 and amd64 machines the
> OpenGL window of crack-attack won't run.  After running ktrace I see:
> 
> "/usr/local/bin/crack-attack:/usr/local/lib/libglut.so.5.0: undefined symbol 
> 'atexit'
> 
> It looks like at least a REVISION crank is needed here
> as otherwise pkg_add -u won't update glut to sometime after the atexit change.
> 
> Is the following enough or is something else needed?

I wonder if actually we should have bumped libGL major when the
atexit hack was removed..

> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/graphics/freeglut/Makefile,v
> retrieving revision 1.9
> diff -u -p -r1.9 Makefile
> --- Makefile  21 Mar 2013 08:45:18 -0000      1.9
> +++ Makefile  2 Feb 2014 10:53:54 -0000
> @@ -2,6 +2,7 @@
>  
>  COMMENT =            open source alternative to glut
>  DISTNAME =           freeglut-2.8.0
> +REVISION =           0
>  SHARED_LIBS =                glut 5.0
>  CATEGORIES =         graphics
>  HOMEPAGE =           http://freeglut.sourceforge.net/
> 

This certainly helps things for packages, so let's at least get
this in. OK.


Reply via email to