Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Mar 2006 07:49:09 -0600 (CST)
From:      Erik Greenwald <erik@smluc.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        erik@math.missouristate.edu
Subject:   ports/95221: [Maintainer Update] graphics/gauche-gl minor fix for 'broken' status
Message-ID:  <20060331134909.88E5E1CE7B@phoenix.smluc.org>
Resent-Message-ID: <200604021110.k32BAIrN017506@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         95221
>Category:       ports
>Synopsis:       [Maintainer Update]  graphics/gauche-gl  minor fix for 'broken' status
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 02 11:10:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Erik Greenwald
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD fenris 6.0-STABLE FreeBSD 6.0-STABLE #2: Fri Nov 4 19:18:58 EST 2005 root@fenris:/usr/obj/usr/src/sys/FENRIS i386

>Description:

Both gauche-gl and recent xorg include/GL/glext.h typedef GLchar for
OpenGL2.0 support. The second typedef caused a compiler error... this
comments out the gauche-gl typedef and I'll just assume that people
have a reasonably recent copy of xorg-libraries.

This adds files/patch-src_gen-ptrs.scm

I bumped the port revision "just because". If someone has it already
installed from before the xorg-libraries bump, it should still work,
but this is a tiny compile, so *shrug*. If not appropriate, let me
know :)

>How-To-Repeat:
>Fix:

--- graphics.gauche-gl.patch begins here ---
Index: graphics/gauche-gl/Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/gauche-gl/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- graphics/gauche-gl/Makefile	25 Feb 2006 21:40:30 -0000	1.19
+++ graphics/gauche-gl/Makefile	31 Mar 2006 13:36:15 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	gl
 PORTVERSION=	0.4.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics scheme
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	gauche
@@ -22,8 +22,6 @@
 LIB_DEPENDS=	glut.4:${PORTSDIR}/graphics/libglut
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
-BROKEN=		Does not build
-
 USE_GL=		yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${X11BASE}/include"
Index: graphics/gauche-gl/files/patch-src_gen-ptrs.scm
===================================================================
RCS file: graphics/gauche-gl/files/patch-src_gen-ptrs.scm
diff -N graphics/gauche-gl/files/patch-src_gen-ptrs.scm
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ graphics/gauche-gl/files/patch-src_gen-ptrs.scm	31 Mar 2006 13:36:15 -0000
@@ -0,0 +1,11 @@
+--- src/gen-ptrs.scm.orig	Fri Mar 31 08:31:31 2006
++++ src/gen-ptrs.scm	Fri Mar 31 08:33:23 2006
+@@ -51,7 +51,7 @@
+   (cgen-decl "#ifndef APIENTRY" "#define APIENTRY  /*empty*/" "#endif"
+              "#ifndef APIENTRYP" "#define APIENTRYP APIENTRY*" "#endif"
+              "#ifndef GL_VESRION_2_0"
+-             "typedef char GLchar;"
++             "/* typedef char GLchar;  -- we seem to have this defined in our glext.h? */"
+              "#endif"
+              "#ifndef GL_VERSION_1_5"
+              "typedef ptrdiff_t GLintptr;"
--- graphics.gauche-gl.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060331134909.88E5E1CE7B>