From owner-freebsd-ports Mon Oct 9 19:47:45 2000 Delivered-To: freebsd-ports@freebsd.org Received: from ms.tokyo.jcom.ne.jp (ms.tokyo.jcom.ne.jp [210.234.123.18]) by hub.freebsd.org (Postfix) with ESMTP id 480BC37B502 for ; Mon, 9 Oct 2000 19:47:42 -0700 (PDT) Received: from daemon.local.idaemons.org (203-165-77-17.sugnm1.kt.home.ne.jp [203.165.77.17]) by ms.tokyo.jcom.ne.jp (8.9.3/3.7W 04/27/00) with ESMTP id LAA28717 for ; Tue, 10 Oct 2000 11:47:37 +0900 (JST) Received: by daemon.local.idaemons.org (8.11.0/3.7W) id e9A2kuM77667; Tue, 10 Oct 2000 11:46:57 +0900 (JST) Date: Tue, 10 Oct 2000 11:46:56 +0900 Message-ID: <86lmvxwgyn.wl@archon.local.idaemons.org> From: "Akinori MUSHA" To: freebsd-ports@FreeBSD.org Subject: GL_CLIENT_ALL_ATTRIB_BITS or GL_ALL_CLIENT_ATTRIB_BITS? User-Agent: Wanderlust/1.1.2 (Raspberry Beret) EMIKO/1.13.12 (Euglena sociabilis) FLIM/1.13.2 (Kasanui) APEL/10.2 MULE XEmacs/21.1 (patch 12) (Channel Islands) (i386--freebsd) Organization: Associated I. Daemons X-PGP-Public-Key: finger knu@FreeBSD.org X-PGP-Fingerprint: 081D 099C 1705 861D 4B70 B04A 920B EFC7 9FD9 E1EE X-PGP-Comment: I changed my key on 2000-08-10 MIME-Version: 1.0 (generated by EMIKO 1.13.12 - "Euglena sociabilis") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This seems to be a discrepancy between Mesa3 and XFree86 4.0's Mesa. http://bento.FreeBSD.org/errorlogs/4-latest/ruby-opengl-0.31_1.log Take a look at graphics/ruby-opengl's patch-ab. This patch wasn't needed when Mesa3 was version 3.2 because it defined GL_CLIENT_ALL_ATTRIB_BITS, but on version 3.2.1 it was changed to GL_ALL_CLIENT_ATTRIB_BITS and I had to add the patch. Now, XFree86 4.0 is found to lack the latter one... I don't have XFree86 4.0 installed on any of my boxen, so would someone please check XFree86 4.0 and tell me if it has GL_CLIENT_ALL_ATTRIB_BITS, or something other than that? If it has GL_CLIENT_ALL_ATTRIB_BITS, I could change the part to something like this: #ifdef GL_CLIENT_ALL_ATTRIB_BITS /* For Mesa 3.2 and XFree86 4.0 */ rb_define_const(mOGL, "CLIENT_ALL_ATTRIB_BITS", INT2NUM(GL_CLIENT_ALL_ATTRIB_BITS)); #endif #ifdef GL_ALL_CLIENT_ATTRIB_BITS /* For Mesa 3.2.1 */ rb_define_const(mOGL, "CLIENT_ALL_ATTRIB_BITS", INT2NUM(GL_ALL_CLIENT_ATTRIB_BITS)); #endif -- / /__ __ / ) ) ) ) / Akinori -Aki- MUSHA aka / (_ / ( (__( @ idaemons.org / FreeBSD.org "We're only at home when we're on the run, on the wing, on the fly" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message