![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package avrdude checked in at Fri Aug 8 23:48:35 CEST 2008. -------- --- avrdude/avrdude.changes 2008-06-23 21:01:17.000000000 +0200 +++ /mounts/work_src_done/STABLE/avrdude/avrdude.changes 2008-08-08 21:22:10.938884003 +0200 @@ -1,0 +2,6 @@ +Fri Aug 8 21:13:36 CEST 2008 - sndirsch@suse.de + +- avrdude-5.5.usbtiny.64bit.patch + * fixes initialization of USBtinyISP on 64bit (bnc #415773) + +------------------------------------------------------------------- New: ---- avrdude-5.5.usbtiny.64bit.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ avrdude.spec ++++++ --- /var/tmp/diff_new_pack.l17809/_old 2008-08-08 23:47:40.000000000 +0200 +++ /var/tmp/diff_new_pack.l17809/_new 2008-08-08 23:47:40.000000000 +0200 @@ -2,9 +2,16 @@ # spec file for package avrdude (Version 5.5) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -24,7 +31,7 @@ BuildRequires: libpng mesa-libGL te_latex texi2html %endif Version: 5.5 -Release: 69 +Release: 89 Url: http://savannah.nongnu.org/projects/avrdude Group: Development/Tools/Other License: GPL v2 or later @@ -33,6 +40,7 @@ Source2: modprobe.avrdude_parport Source3: udev-parport.rules Patch0: avrdude-use-serial-device-for-serbb +Patch1: avrdude-5.5.usbtiny.64bit.patch AutoReqProv: on Provides: avr-programmer BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -60,6 +68,7 @@ %prep %setup %patch0 -p1 +%patch1 -p1 touch lexer.l %build @@ -110,6 +119,9 @@ %config /etc/* %changelog +* Fri Aug 08 2008 sndirsch@suse.de +- avrdude-5.5.usbtiny.64bit.patch + * fixes initialization of USBtinyISP on 64bit (bnc #415773) * Mon Jun 23 2008 bwalle@suse.de - don't use default_parallel for "serbb" devices like the "ponyser" programmer (https://savannah.nongnu.org/bugs/index.php?23685) ++++++ avrdude-5.5.usbtiny.64bit.patch ++++++ --- avrdude-5.5/usbtiny.c 2007-10-29 09:40:04.000000000 -0600 +++ avrdude-5.5.patched/usbtiny.c 2008-01-06 07:13:41.000000000 -0700 @@ -138,7 +138,7 @@ fprintf( stderr, "Operation %d not defined for this chip!\n", op ); return -1; } - memset(cmd, 0, sizeof(cmd)); + memset(cmd, 0, 4); avr_set_bits(p->op[op], cmd); return pgm->cmd(pgm, cmd, res); @@ -286,19 +286,19 @@ int nbytes; // Make sure its empty so we don't read previous calls if it fails - memset(res, '\0', sizeof(res) ); + memset(res, '\0', 4 ); nbytes = usb_in( USBTINY_SPI, (cmd[1] << 8) | cmd[0], // convert to 16-bit words (cmd[3] << 8) | cmd[2], // " - res, sizeof(res), 8 * sck_period ); + res, 4, 8 * sck_period ); if (verbose > 1) { // print out the data we sent and received - printf( "CMD: [%02x %02x %02x %02x] [%02x %02x %02x %02x]\n", + printf( "CMD: [%02x %02x %02x %02x] [%02x %02x %02x %02x] \n", cmd[0], cmd[1], cmd[2], cmd[3], res[0], res[1], res[2], res[3] ); } - return ((nbytes == sizeof(res)) && // should have read 4 bytes + return ((nbytes == 4) && // should have read 4 bytes res[2] == cmd[1]); // AVR's do a delayed-echo thing } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de