Your message dated Mon, 15 Aug 2005 18:17:20 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#315704: fixed in toshset 1.70-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; 25 Jun 2005 05:43:26 +0000
>From [EMAIL PROTECTED] Fri Jun 24 22:43:26 2005
Return-path: <[EMAIL PROTECTED]>
Received: from quack.cs.berkeley.edu (quack.quarl.org) [128.32.132.234] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Dm3Ru-0006Xt-00; Fri, 24 Jun 2005 22:43:26 -0700
Received: from boink.cs.berkeley.edu (boink.CS.Berkeley.EDU [128.32.35.201])
        by quack.quarl.org (Postfix) with ESMTP id 549F370077
        for <[EMAIL PROTECTED]>; Fri, 24 Jun 2005 22:43:26 -0700 (PDT)
Received: by boink.cs.berkeley.edu (Postfix, from userid 1000)
        id 0E023272FA; Fri, 24 Jun 2005 22:43:25 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Karl Chen <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: toshset: FTBFS with gcc-3.4: cannot bind packed field
 `reg.SMMRegisters::ecx' to `unsigned int&'
X-Mailer: reportbug 3.8
Date: Fri, 24 Jun 2005 22:43:25 -0700
Message-Id: <[EMAIL PROTECTED]>
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: toshset
Severity: normal
Tags: patch


The patch below allows toshset to compile under gcc-3.4.

--- toshset.cc.orig     2005-06-23 15:06:35.000000000 -0700
+++ toshset.cc  2005-06-23 15:07:29.000000000 -0700
@@ -1030,10 +1030,14 @@
    if ((*s)[0]=='0' &&
        tolower((*s)[1])=='x') {
      IStringStream is( (*s)+2 );
-     is >> hex >> reg.ecx;
+     unsigned int tmp;
+     is >> hex >> tmp;
+     reg.ecx = tmp;
    } else {
      IStringStream is( *s );
-     is >> reg.ecx;
+     unsigned int tmp;
+     is >> tmp;
+     reg.ecx = tmp;
    }
    cout << "setting lba to " << reg.ecx << '\n';
    int ret = HciFunction( &reg );
@@ -1076,10 +1080,14 @@
    if ((*s)[0]=='0' &&
         tolower((*s)[1])=='x') {
      IStringStream is( (*s)+2 );
-     is >> hex >> reg.ecx;
+     unsigned int tmp;
+     is >> hex >> tmp;
+     reg.ecx = tmp;
    } else {
      IStringStream is( *s );
-     is >> reg.ecx;
+     unsigned int tmp;
+     is >> tmp;
+     reg.ecx = tmp;
    }
    String type = "invalid";
    switch (hibInfoMode) {

--- cdsMath.cc.orig     2005-06-24 22:17:47.000000000 -0700
+++ cdsMath.cc  2005-06-24 22:27:30.000000000 -0700
@@ -1,6 +1,7 @@
 
 //#include <sthead.hh>
 #include <cdsMath.hh>
+#include <cstdlib> // for std::abs
 
 namespace CDS {
 
@@ -25,7 +26,7 @@
    - works for negative integers too*/
 {
  T temp = 1;
- for (int cnt=0 ; cnt<abs(i) ; cnt++) temp *= x;
+ for (int cnt=0 ; cnt<std::abs(i) ; cnt++) temp *= x;
 
  if (i<0 && temp != 0.0) temp = 1.0 / temp;
 



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages toshset depends on:
ii  debconf [debconf-2.0]       1.4.30.11    Debian configuration management sy
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.4.3-12   GCC support library
ii  libstdc++5                  1:3.3.5-8    The GNU Standard C++ Library v3

---------------------------------------
Received: (at 315704-close) by bugs.debian.org; 16 Aug 2005 01:23:24 +0000
>From [EMAIL PROTECTED] Mon Aug 15 18:23:24 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1E4q4u-00013j-00; Mon, 15 Aug 2005 18:17:20 -0700
From: [EMAIL PROTECTED] (Roberto C. Sanchez)
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#315704: fixed in toshset 1.70-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Mon, 15 Aug 2005 18:17:20 -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: toshset
Source-Version: 1.70-1

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

toshset_1.70-1.diff.gz
  to pool/main/t/toshset/toshset_1.70-1.diff.gz
toshset_1.70-1.dsc
  to pool/main/t/toshset/toshset_1.70-1.dsc
toshset_1.70-1_i386.deb
  to pool/main/t/toshset/toshset_1.70-1_i386.deb
toshset_1.70.orig.tar.gz
  to pool/main/t/toshset/toshset_1.70.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.
Roberto C. Sanchez <[EMAIL PROTECTED]> (supplier of updated toshset 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: Sat, 13 Aug 2005 13:12:12 -0400
Source: toshset
Binary: toshset
Architecture: source i386
Version: 1.70-1
Distribution: unstable
Urgency: low
Maintainer: Roberto C. Sanchez <[EMAIL PROTECTED]>
Changed-By: Roberto C. Sanchez <[EMAIL PROTECTED]>
Description: 
 toshset    - Access much of the Toshiba laptop hardware interface
Closes: 315704
Changes: 
 toshset (1.70-1) unstable; urgency=low
 .
   * New upstream release. (Closes: #315704)
   * Added a patch to correct lintian warnings on the toshset.1 man page.
Files: 
 b65df1a9697e5cac0ddf777863f57d25 685 utils optional toshset_1.70-1.dsc
 fb26e18bbd0b9228084328a024646613 72268 utils optional toshset_1.70.orig.tar.gz
 79d9b8dd62f7fe82099a6180cc936c18 19486 utils optional toshset_1.70-1.diff.gz
 a119b819da4d2f28a81b5f6c04bf89fe 51034 utils optional toshset_1.70-1_i386.deb

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

iD8DBQFDATusgY5NIXPNpFURAqIOAJ9V4khy0O1Xtit32WuDxmXNk2tEGgCfZH2O
JO2fNaig5RRLsZg11FEQvLw=
=YQJK
-----END PGP SIGNATURE-----


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

Reply via email to