update to avrdude 5.10

This commit is contained in:
ckuethe 2010-06-27 20:39:33 +00:00
parent 2254e083cb
commit 20d93004f2
4 changed files with 20 additions and 32 deletions

View File

@ -1,11 +1,10 @@
# $OpenBSD: Makefile,v 1.8 2009/12/06 02:05:51 ckuethe Exp $
# $OpenBSD: Makefile,v 1.9 2010/06/27 20:39:33 ckuethe Exp $
COMMENT= AVR microcontroller hardware in-system programmer
V= 5.8
V= 5.10
DISTNAME= avrdude-${V}
DISTFILES+= avrdude-${V}.tar.gz avrdude-doc-${V}.pdf
PKGNAME= ${DISTNAME}p0
CATEGORIES= devel
HOMEPAGE= http://www.nongnu.org/avrdude/

View File

@ -1,10 +1,10 @@
MD5 (avrdude-5.8.tar.gz) = 1Fnc9H+n/Coppw1o6/9Ihg==
MD5 (avrdude-doc-5.8.pdf) = zNs+CU5tocJGRBD1JpTWSw==
RMD160 (avrdude-5.8.tar.gz) = yOsGdfhEd9a1jw6NwEOOFqwHFNs=
RMD160 (avrdude-doc-5.8.pdf) = JUR89w4q1HQ87/wZWDIETMZfDGo=
SHA1 (avrdude-5.8.tar.gz) = dxmN+RpxdrvasZ70pMrwvcWGLJQ=
SHA1 (avrdude-doc-5.8.pdf) = fbB0uzkqga3CTpxgNyUysW6UIkw=
SHA256 (avrdude-5.8.tar.gz) = /5pbE8Rev5XMS3egeQRjoOvvvhx22J/4z6lSBGH50EY=
SHA256 (avrdude-doc-5.8.pdf) = 2ghSfhw+07qrdy37PdKgda+ZFsVHHEWE3sH9VkKu01U=
SIZE (avrdude-5.8.tar.gz) = 488771
SIZE (avrdude-doc-5.8.pdf) = 214889
MD5 (avrdude-5.10.tar.gz) = abCCaDBH4FQ0gIj9Y7rS/w==
MD5 (avrdude-doc-5.10.pdf) = eKd1R9aVkwQAWv4yWc4P+Q==
RMD160 (avrdude-5.10.tar.gz) = OM6UB6M79KTGVmUQcbRKkv291jk=
RMD160 (avrdude-doc-5.10.pdf) = +BUkUNOF1SEAfCk0F2bu1O741sY=
SHA1 (avrdude-5.10.tar.gz) = wJFn6mTD9gtZTQ5Npxr37eoNb4M=
SHA1 (avrdude-doc-5.10.pdf) = DCiMzcJzDauswcSUqeOOppgYOkg=
SHA256 (avrdude-5.10.tar.gz) = gVAbY9W4aZh00AyeykKDe4VpW8CCC6mEOxf1c844vl4=
SHA256 (avrdude-doc-5.10.pdf) = Se1csAoAGETPbsz5RErY+iaL2++PEXYOjQwBW1zZO3A=
SIZE (avrdude-5.10.tar.gz) = 525750
SIZE (avrdude-doc-5.10.pdf) = 231216

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-stk500v2_c,v 1.3 2009/12/06 02:05:51 ckuethe Exp $
--- stk500v2.c.orig Fri Jul 10 15:39:37 2009
+++ stk500v2.c Sat Dec 5 16:10:58 2009
@@ -312,6 +312,7 @@ static void stk500v2_jtagmkII_setup(PROGRAMMER * pgm)
$OpenBSD: patch-stk500v2_c,v 1.4 2010/06/27 20:39:33 ckuethe Exp $
--- stk500v2.c.orig Tue Jan 19 03:39:11 2010
+++ stk500v2.c Sat Jun 26 15:41:53 2010
@@ -353,6 +353,7 @@ static void stk500v2_jtagmkII_setup(PROGRAMMER * pgm)
static void stk500v2_teardown(PROGRAMMER * pgm)
{
free(pgm->cookie);
@ -9,7 +9,7 @@ $OpenBSD: patch-stk500v2_c,v 1.3 2009/12/06 02:05:51 ckuethe Exp $
}
static void stk500v2_jtagmkII_teardown(PROGRAMMER * pgm)
@@ -323,6 +324,7 @@ static void stk500v2_jtagmkII_teardown(PROGRAMMER * pg
@@ -364,6 +365,7 @@ static void stk500v2_jtagmkII_teardown(PROGRAMMER * pg
jtagmkII_teardown(pgm);
free(mycookie);
@ -17,7 +17,7 @@ $OpenBSD: patch-stk500v2_c,v 1.3 2009/12/06 02:05:51 ckuethe Exp $
}
@@ -1124,12 +1126,14 @@ static int stk500hv_initialize(PROGRAMMER * pgm, AVRPA
@@ -1169,12 +1171,14 @@ static int stk500hv_initialize(PROGRAMMER * pgm, AVRPA
if ((PDATA(pgm)->flash_pagecache = malloc(PDATA(pgm)->flash_pagesize)) == NULL) {
fprintf(stderr, "%s: stk500pp_initialize(): Out of memory\n",
progname);
@ -32,14 +32,3 @@ $OpenBSD: patch-stk500v2_c,v 1.3 2009/12/06 02:05:51 ckuethe Exp $
return -1;
}
PDATA(pgm)->flash_pageaddr = PDATA(pgm)->eeprom_pageaddr = (unsigned long)-1L;
@@ -3586,8 +3590,8 @@ void stk500v2_dragon_isp_initpgm(PROGRAMMER * pgm)
pgm->paged_load = stk500v2_paged_load;
pgm->print_parms = stk500v2_print_parms;
pgm->set_sck_period = stk500v2_set_sck_period_mk2;
- pgm->setup = jtagmkII_setup;
- pgm->teardown = jtagmkII_teardown;
+ pgm->setup = stk500v2_jtagmkII_setup;
+ pgm->teardown = stk500v2_jtagmkII_teardown;
pgm->page_size = 256;
}

View File

@ -1,8 +1,8 @@
@comment $OpenBSD: PLIST,v 1.4 2009/07/20 16:44:05 ckuethe Exp $
@comment $OpenBSD: PLIST,v 1.5 2010/06/27 20:39:33 ckuethe Exp $
@bin bin/avrdude
@man man/man1/avrdude.1
share/doc/avrdude/
share/doc/avrdude/avrdude-doc-5.8.pdf
share/doc/avrdude/avrdude-doc-5.10.pdf
share/examples/avrdude/
share/examples/avrdude/avrdude.conf
@sample ${SYSCONFDIR}/avrdude.conf