Your message dated Thu, 08 Sep 2005 15:32:06 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#297298: fixed in xwnc 0.3.3-5
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; 28 Feb 2005 13:42:27 +0000
>From [EMAIL PROTECTED] Mon Feb 28 05:42:27 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c204041.adsl.hansenet.de (localhost.localdomain) [213.39.204.41] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1D5lAJ-000353-00; Mon, 28 Feb 2005 05:42:27 -0800
Received: from aj by localhost.localdomain with local (Exim 4.44)
        id 1D5m6c-0001Vf-Vz; Mon, 28 Feb 2005 15:42:43 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: xwnc: FTBFS (amd64/gcc-4.0): invalid lvalue in assignment
Message-Id: <[EMAIL PROTECTED]>
Date: Mon, 28 Feb 2005 15:42:43 +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: xwnc
Severity: normal
Tags: patch

When building 'xwnc' on amd64 with gcc-4.0,
I get the following error:

dispcur.c: In function 'rfbInitCursor':
dispcur.c:320: error: invalid lvalue in assignment
make[5]: *** [dispcur.o] Error 1
make[5]: Leaving directory `/xwnc-0.3.3/xserver/hw/wnc'

With the attached patch 'xwnc' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/xwnc-0.3.3/xserver/hw/wnc/dispcur.c 
./xserver/hw/wnc/dispcur.c
--- ../tmp-orig/xwnc-0.3.3/xserver/hw/wnc/dispcur.c     2004-08-26 
16:56:03.000000000 +0200
+++ ./xserver/hw/wnc/dispcur.c  2005-02-28 15:29:29.971734194 +0100
@@ -317,7 +317,7 @@
      if (!ScreenPriv)
           return FALSE;
 
-     CURSOR_PRIV(pScreen) = ScreenPriv;
+     pScreen->devPrivates[rfbCursorScreenIndex].ptr = ScreenPriv;
 
      /* override some screen procedures */
      ScreenPriv->QueryBestSize = pScreen->QueryBestSize;
diff -urN ../tmp-orig/xwnc-0.3.3/xserver/hw/wnc/rootlessScreen.c 
./xserver/hw/wnc/rootlessScreen.c
--- ../tmp-orig/xwnc-0.3.3/xserver/hw/wnc/rootlessScreen.c      2004-08-26 
16:56:02.000000000 +0200
+++ ./xserver/hw/wnc/rootlessScreen.c   2005-02-28 15:31:50.390630757 +0100
@@ -567,7 +567,7 @@
 
     s = xalloc(sizeof(RootlessScreenRec));
     if (! s) return FALSE;
-    SCREENREC(pScreen) = s;
+    pScreen->devPrivates[rootlessScreenPrivateIndex].ptr = s;
 
     s->pixmap_data = NULL;
     s->pixmap_data_size = 0;
diff -urN ../tmp-orig/xwnc-0.3.3/xserver/hw/wnc/rootlessWindow.c 
./xserver/hw/wnc/rootlessWindow.c
--- ../tmp-orig/xwnc-0.3.3/xserver/hw/wnc/rootlessWindow.c      2004-08-26 
16:56:05.000000000 +0200
+++ ./xserver/hw/wnc/rootlessWindow.c   2005-02-28 15:34:10.637560512 +0100
@@ -64,7 +64,7 @@
     Bool result;
     RegionRec saveRoot;
 
-    WINREC(pWin) = NULL;
+    pWin->devPrivates[rootlessWindowPrivateIndex].ptr = NULL;
 
     SCREEN_UNWRAP(pWin->drawable.pScreen, CreateWindow);
 
@@ -105,7 +105,7 @@
 #endif
 
     xfree(winRec);
-    WINREC(pWin) = NULL;
+    pWin->devPrivates[rootlessWindowPrivateIndex].ptr = NULL;
 }
 
 
@@ -349,7 +349,7 @@
     winRec->pixmap = NULL;
     winRec->wid = NULL;
 
-    WINREC(pWin) = winRec;
+    pWin->devPrivates[rootlessWindowPrivateIndex].ptr = winRec;
 
 #ifdef SHAPE
     // Set the frame's shape if the window is shaped
@@ -366,7 +366,7 @@
     {
         RL_DEBUG_MSG("implementation failed to create frame!\n");
         xfree(winRec);
-        WINREC(pWin) = NULL;
+        pWin->devPrivates[rootlessWindowPrivateIndex].ptr = NULL;
         return NULL;
     }
 
@@ -1261,8 +1261,8 @@
 
        /* Switch the frame record from one to the other. */
 
-       WINREC(pWin) = NULL;
-       WINREC(pTopWin) = winRec;
+       pWin->devPrivates[rootlessWindowPrivateIndex].ptr = NULL;
+       pTopWin->devPrivates[rootlessWindowPrivateIndex].ptr = winRec;
 
        RootlessInitializeFrame(pTopWin, winRec);
        RootlessReshapeFrame(pTopWin);

---------------------------------------
Received: (at 297298-close) by bugs.debian.org; 8 Sep 2005 22:39:01 +0000
>From [EMAIL PROTECTED] Thu Sep 08 15:39:01 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1EDUwA-0008PT-00; Thu, 08 Sep 2005 15:32:06 -0700
From: Loic Dachary (OuoU) <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#297298: fixed in xwnc 0.3.3-5
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Thu, 08 Sep 2005 15:32:06 -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

Source: xwnc
Source-Version: 0.3.3-5

We believe that the bug you reported is fixed in the latest version of
xwnc, which is due to be installed in the Debian FTP archive:

xwnc_0.3.3-5.diff.gz
  to pool/main/x/xwnc/xwnc_0.3.3-5.diff.gz
xwnc_0.3.3-5.dsc
  to pool/main/x/xwnc/xwnc_0.3.3-5.dsc
xwnc_0.3.3-5_i386.deb
  to pool/main/x/xwnc/xwnc_0.3.3-5_i386.deb



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.
Loic Dachary (OuoU) <[EMAIL PROTECTED]> (supplier of updated xwnc 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: Fri,  9 Sep 2005 00:07:53 +0200
Source: xwnc
Binary: xwnc
Architecture: source i386
Version: 0.3.3-5
Distribution: unstable
Urgency: low
Maintainer: Loic Dachary (OuoU) <[EMAIL PROTECTED]>
Changed-By: Loic Dachary (OuoU) <[EMAIL PROTECTED]>
Description: 
 xwnc       - Mix of Xvnc and XDarwin with improved protocol
Closes: 297298
Changes: 
 xwnc (0.3.3-5) unstable; urgency=low
 .
   * Andreas Jochens <[EMAIL PROTECTED]> fix (closes: #297298)
Files: 
 d74bf10a5cc86e2f217d21ec00274df1 606 x11 optional xwnc_0.3.3-5.dsc
 c6263bb3ee046ddbd34314e29bc12d5f 9505 x11 optional xwnc_0.3.3-5.diff.gz
 fa41d723d45fc934766921ddc2c7c2bd 433552 x11 optional xwnc_0.3.3-5_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDILhH8dLMyEl6F20RAohdAKDFHLniQlYv58pXy7+t6CLB09jhfwCgk0ew
04ne48RQZbskKM/kfbqi8pc=
=fCtN
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to