tags 625409 +patch
thanks
Patch is attatched, just add it to the dpatch list.
#! /bin/sh /usr/share/dpatch/dpatch-run
## 40_fix_g++_4.6.dpatch by <root@localhost>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
@DPATCH@
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch'
'--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' uisp-20050207~/src/Stk500.C
uisp-20050207/src/Stk500.C
--- uisp-20050207~/src/Stk500.C 2011-10-29 23:04:59.000000000 +0000
+++ uisp-20050207/src/Stk500.C 2011-10-29 23:06:46.000000000 +0000
@@ -724,7 +724,6 @@
void TStk500::ReadMem(){
TByte buf[0x200];
int wordsize;
- TAddr addr;
TByte seg;
if (segment == SEG_FLASH) {
@@ -741,7 +740,6 @@
EnterProgrammingMode();
- addr = 0;
for (unsigned int addr=0; addr<GetSegmentSize(); addr+=0x100) {
memcpy(buf, SetAddress, sizeof(SetAddress));
buf[1] = (addr/wordsize) & 0xff;