Your message dated Wed, 12 Oct 2005 17:17:07 -0700 with message-id <[EMAIL PROTECTED]> and subject line Bug#296242: fixed in freeglut 2.4.0-1 has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 21 Feb 2005 10:12:02 +0000 >From [EMAIL PROTECTED] Mon Feb 21 02:12:02 2005 Return-path: <[EMAIL PROTECTED]> Received: from c169066.adsl.hansenet.de (localhost.localdomain) [213.39.169.66] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1D3AXp-0001UD-00; Mon, 21 Feb 2005 02:12:01 -0800 Received: from aj by localhost.localdomain with local (Exim 4.44) id 1D3BTj-00035b-EI; Mon, 21 Feb 2005 12:11:53 +0100 To: Debian Bug Tracking System <[EMAIL PROTECTED]> From: Andreas Jochens <[EMAIL PROTECTED]> Subject: freeglut: FTBFS (amd64/gcc-4.0): invalid lvalue in assignment Message-Id: <[EMAIL PROTECTED]> Date: Mon, 21 Feb 2005 12:11:53 +0100 Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-Spam-Level: Package: freeglut Severity: normal Tags: patch When building 'freeglut' on amd64 with gcc-4.0, I get the following error: freeglut_callbacks.c:286: error: invalid lvalue in assignment freeglut_callbacks.c: In function 'glutSpaceballRotateFunc': freeglut_callbacks.c:294: error: invalid lvalue in assignment freeglut_callbacks.c: In function 'glutSpaceballButtonFunc': freeglut_callbacks.c:302: error: invalid lvalue in assignment freeglut_callbacks.c: In function 'glutButtonBoxFunc': freeglut_callbacks.c:310: error: invalid lvalue in assignment freeglut_callbacks.c: In function 'glutDialsFunc': freeglut_callbacks.c:318: error: invalid lvalue in assignment freeglut_callbacks.c: In function 'glutTabletMotionFunc': freeglut_callbacks.c:326: error: invalid lvalue in assignment freeglut_callbacks.c: In function 'glutTabletButtonFunc': freeglut_callbacks.c:334: error: invalid lvalue in assignment make[3]: *** [libglut_la-freeglut_callbacks.lo] Error 1 make[3]: Leaving directory `/freeglut-2.2.0/src' With the attached patch 'freeglut' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/freeglut-2.2.0/src/freeglut_internal.h ./src/freeglut_internal.h --- ../tmp-orig/freeglut-2.2.0/src/freeglut_internal.h 2004-03-30 08:37:27.000000000 +0000 +++ ./src/freeglut_internal.h 2005-02-21 11:03:52.716154177 +0000 @@ -386,6 +386,9 @@ #define FETCH_WCB(window,cbname) \ ((FGCB ## cbname)((window).CallBacks[CB_ ## cbname])) +#define FETCH_WCB_LVALUE(window,cbname) \ + (((window).CallBacks[CB_ ## cbname])) + /* * INVOKE_WCB() is used as: * diff -urN ../tmp-orig/freeglut-2.2.0/src/freeglut_callbacks.c ./src/freeglut_callbacks.c --- ../tmp-orig/freeglut-2.2.0/src/freeglut_callbacks.c 2004-03-30 08:37:27.000000000 +0000 +++ ./src/freeglut_callbacks.c 2005-02-21 11:04:03.621046165 +0000 @@ -41,7 +41,7 @@ #define SET_CALLBACK(a) \ if( fgStructure.Window == NULL ) \ return; \ - FETCH_WCB( ( *( fgStructure.Window ) ), a ) = callback; + FETCH_WCB_LVALUE( ( *( fgStructure.Window ) ), a ) = callback; /* * Sets the Display callback for the current window diff -urN ../tmp-orig/freeglut-2.2.0/src/freeglut_structure.c ./src/freeglut_structure.c --- ../tmp-orig/freeglut-2.2.0/src/freeglut_structure.c 2004-03-30 08:37:27.000000000 +0000 +++ ./src/freeglut_structure.c 2005-02-21 11:04:48.272414660 +0000 @@ -209,7 +209,7 @@ { void *destroy = FETCH_WCB( *window, Destroy ); fgClearCallBacks( window ); - FETCH_WCB( *window, Destroy ) = destroy; + FETCH_WCB_LVALUE( *window, Destroy ) = destroy; } } --------------------------------------- Received: (at 296242-close) by bugs.debian.org; 13 Oct 2005 00:18:18 +0000 >From [EMAIL PROTECTED] Wed Oct 12 17:18:18 2005 Return-path: <[EMAIL PROTECTED]> Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian)) id 1EPqmR-0005o5-00; Wed, 12 Oct 2005 17:17:07 -0700 From: Jamie Wilkinson <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] X-Katie: $Revision: 1.56 $ Subject: Bug#296242: fixed in freeglut 2.4.0-1 Message-Id: <[EMAIL PROTECTED]> Sender: Archive Administrator <[EMAIL PROTECTED]> Date: Wed, 12 Oct 2005 17:17:07 -0700 Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Level: X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-CrossAssassin-Score: 4 Source: freeglut Source-Version: 2.4.0-1 We believe that the bug you reported is fixed in the latest version of freeglut, which is due to be installed in the Debian FTP archive: freeglut3-dbg_2.4.0-1_i386.deb to pool/main/f/freeglut/freeglut3-dbg_2.4.0-1_i386.deb freeglut3-dev_2.4.0-1_i386.deb to pool/main/f/freeglut/freeglut3-dev_2.4.0-1_i386.deb freeglut3_2.4.0-1_i386.deb to pool/main/f/freeglut/freeglut3_2.4.0-1_i386.deb freeglut_2.4.0-1.diff.gz to pool/main/f/freeglut/freeglut_2.4.0-1.diff.gz freeglut_2.4.0-1.dsc to pool/main/f/freeglut/freeglut_2.4.0-1.dsc freeglut_2.4.0.orig.tar.gz to pool/main/f/freeglut/freeglut_2.4.0.orig.tar.gz A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Jamie Wilkinson <[EMAIL PROTECTED]> (supplier of updated freeglut package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Thu, 13 Oct 2005 09:45:46 +1000 Source: freeglut Binary: freeglut3-dbg freeglut3-dev freeglut3 Architecture: source i386 Version: 2.4.0-1 Distribution: unstable Urgency: low Maintainer: Jamie Wilkinson <[EMAIL PROTECTED]> Changed-By: Jamie Wilkinson <[EMAIL PROTECTED]> Description: freeglut3 - OpenGL Utility Toolkit freeglut3-dbg - OpenGL Utility Toolkit debugging information freeglut3-dev - OpenGL Utility Toolkit development files Closes: 248201 265373 293687 296242 306369 319365 323177 325067 331552 Changes: freeglut (2.4.0-1) unstable; urgency=low . * New upstream release. (Closes: #319365, #331552) - Fixes key repeat bug. (Closes: #248201, #293687) - Remove patch for GLUT_XLIB_IMPLEMENTATION as now fixed upstream. - GLUT_ACTION_CONTINUE_EXECUTION fixed in new upstream. (Closes: #306369, 325067) - Acknowledge NMU 2.2.0-8.1: 64bit fixes incorporated upstream. (Closes: #296242) * Update build dependencys on libGL and libGLU from Xorg. (Closes: #323177) * Remove dependency on transition packages that no longer exist. (Closes: #265373) * Add build dependency on autogoats. Files: f6e3fc6fa8a0a060894fd019989db663 774 graphics optional freeglut_2.4.0-1.dsc 6d16873bd876fbf4980a927cfbc496a1 469557 graphics optional freeglut_2.4.0.orig.tar.gz 56bac09725fb5664729191ba0875a2f9 333817 graphics optional freeglut_2.4.0-1.diff.gz 7b2ae79c7040147fc90ed31d653b7001 85910 libs optional freeglut3_2.4.0-1_i386.deb 66eb5ea216dcd13f83f92ba9bc647319 156548 libdevel optional freeglut3-dev_2.4.0-1_i386.deb d9d365df24c4307338fc343e76aaa384 142062 libdevel optional freeglut3-dbg_2.4.0-1_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDTaVw5u9oNyz9HDgRAjEKAKCgvCaaVE9s7I7tJtakjRm3xVhg0QCfZMZH Ac/IvQftNwYFnPBCBelLvhE= =Ws+h -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]