Update for freeglut, triggered by a rough diff from Azwaw OUSADOU. Some symbols have been added, but there is also a size change -> Major version bump
Instead of fixing the demo programs and documentation, disable both since they are not considered for installation anyways. Tested with crack-attack on amd64, compile tested on i386 and sparc64. Index: Makefile =================================================================== RCS file: /home/vcs/cvs/openbsd/ports/graphics/freeglut/Makefile,v retrieving revision 1.6 diff -u -p -r1.6 Makefile --- Makefile 1 May 2012 16:10:07 -0000 1.6 +++ Makefile 30 Aug 2012 12:42:43 -0000 @@ -1,9 +1,8 @@ # $OpenBSD: Makefile,v 1.6 2012/05/01 16:10:07 pascal Exp $ COMMENT = open source alternative to glut -DISTNAME = freeglut-2.6.0 -REVISION = 1 -SHARED_LIBS = glut 4.1 +DISTNAME = freeglut-2.8.0 +SHARED_LIBS = glut 5.0 CATEGORIES = graphics HOMEPAGE = http://freeglut.sourceforge.net/ MAINTAINER = Tobias Ulmer <tobi...@tmux.org> @@ -14,7 +13,8 @@ PERMIT_PACKAGE_FTP = Yes PERMIT_DISTFILES_CDROM =Yes PERMIT_DISTFILES_FTP = Yes -WANTLIB = GL X11 Xext Xi Xxf86vm m xcb Xdamage Xfixes drm stdc++ +WANTLIB = GL X11 Xext Xxf86vm m xcb Xdamage Xfixes drm stdc++ +WANTLIB += usbhid MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=freeglut/} Index: distinfo =================================================================== RCS file: /home/vcs/cvs/openbsd/ports/graphics/freeglut/distinfo,v retrieving revision 1.2 diff -u -p -r1.2 distinfo --- distinfo 21 Mar 2010 12:45:21 -0000 1.2 +++ distinfo 30 Aug 2012 12:42:43 -0000 @@ -1,5 +1,2 @@ -MD5 (freeglut-2.6.0.tar.gz) = OfDy3onzmVKdK5gRiAgiGA== -RMD160 (freeglut-2.6.0.tar.gz) = Q72xptmURe4JNwkw7GvA+DEOf88= -SHA1 (freeglut-2.6.0.tar.gz) = aDBsRIbBPQBaTk1UA14MCxvcIgs= -SHA256 (freeglut-2.6.0.tar.gz) = YVtB7clsQF7mu36aKUJkIUDD5Xwd2MaOlooX3ftZ6Y8= -SIZE (freeglut-2.6.0.tar.gz) = 1124186 +SHA256 (freeglut-2.8.0.tar.gz) = GXKT/4hqvmE7yetKdi2RYbDJ5ks+jmE+18XjU5dPugU= +SIZE (freeglut-2.8.0.tar.gz) = 979459 Index: patches/patch-Makefile_in =================================================================== RCS file: patches/patch-Makefile_in diff -N patches/patch-Makefile_in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-Makefile_in 30 Aug 2012 12:42:43 -0000 @@ -0,0 +1,12 @@ +$OpenBSD$ +--- Makefile.in.orig Thu Aug 30 08:08:49 2012 ++++ Makefile.in Thu Aug 30 08:09:12 2012 +@@ -230,7 +230,7 @@ target_alias = @target_alias@ + top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-SUBDIRS = src include progs doc ++SUBDIRS = src include #progs doc + AUTOMAKE_OPTIONS = gnu + EXTRA_DIST = \ + FrequentlyAskedQuestions \ Index: patches/patch-include_GL_freeglut_ext_h =================================================================== RCS file: /home/vcs/cvs/openbsd/ports/graphics/freeglut/patches/patch-include_GL_freeglut_ext_h,v retrieving revision 1.1 diff -u -p -r1.1 patch-include_GL_freeglut_ext_h --- patches/patch-include_GL_freeglut_ext_h 1 May 2012 16:10:07 -0000 1.1 +++ patches/patch-include_GL_freeglut_ext_h 30 Aug 2012 12:42:43 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-include_GL_freeglut_ext_h,v 1.1 2012/05/01 16:10:07 pascal Exp $ ---- include/GL/freeglut_ext.h.orig Mon Apr 30 20:39:58 2012 -+++ include/GL/freeglut_ext.h Mon Apr 30 20:40:07 2012 -@@ -163,7 +163,7 @@ FGAPI void FGAPIENTRY glutSolidCylinder( GLdouble r +--- include/GL/freeglut_ext.h.orig Sun Sep 4 21:38:32 2011 ++++ include/GL/freeglut_ext.h Thu Aug 30 07:10:04 2012 +@@ -170,7 +170,7 @@ FGAPI void FGAPIENTRY glutSolidCylinder( GLdouble r /* * Extension functions, see freeglut_ext.c */