[53846] trunk/dports/cross/avrdude
snc at macports.org
snc at macports.org
Wed Jul 15 09:27:06 PDT 2009
Revision: 53846
http://trac.macports.org/changeset/53846
Author: snc at macports.org
Date: 2009-07-15 09:27:05 -0700 (Wed, 15 Jul 2009)
Log Message:
-----------
update per #20308, fixed lint
Modified Paths:
--------------
trunk/dports/cross/avrdude/Portfile
Added Paths:
-----------
trunk/dports/cross/avrdude/files/patch-stk500v2.c.diff
Removed Paths:
-------------
trunk/dports/cross/avrdude/files/osxhack.patch
Modified: trunk/dports/cross/avrdude/Portfile
===================================================================
--- trunk/dports/cross/avrdude/Portfile 2009-07-15 16:13:08 UTC (rev 53845)
+++ trunk/dports/cross/avrdude/Portfile 2009-07-15 16:27:05 UTC (rev 53846)
@@ -1,8 +1,10 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
+
name avrdude
-version 5.5
+version 5.8
categories cross devel
maintainers bdmicro.com:bsd
description an Atmel AVR MCU programmer
@@ -12,12 +14,13 @@
several popular programmers including the STK500, \
JTAGICE MkII, AVRISP, and others.
homepage http://www.nongnu.org/avrdude/
+platforms darwin
master_sites http://savannah.nongnu.org/download/avrdude/
-checksums md5 60180d3f5f467987bfd7bc4505796fae \
- sha1 a97a5f520e6c1504d39cd77ebd72a367ac0f5e95 \
- rmd160 29d7a3f86172e156c744747856c4c581dd78e62d
+checksums md5 d459dcf47fa7fc2a29a70d68ebff4886 \
+ sha1 77198df91a7176bbdab19ef4a4caf0bdc5862c94 \
+ rmd160 c8eb0675f84477d6b58f0e8dc0438e16ac0714db
depends_lib port:libusb \
port:ncurses \
port:readline
configure.args --mandir=${prefix}/share/man
-patchfiles osxhack.patch
+patchfiles patch-stk500v2.c.diff
Deleted: trunk/dports/cross/avrdude/files/osxhack.patch
===================================================================
--- trunk/dports/cross/avrdude/files/osxhack.patch 2009-07-15 16:13:08 UTC (rev 53845)
+++ trunk/dports/cross/avrdude/files/osxhack.patch 2009-07-15 16:27:05 UTC (rev 53846)
@@ -1,13 +0,0 @@
-*** stk500v2.c.orig Wed Jan 17 15:15:40 2007
---- stk500v2.c Wed Jan 17 15:16:21 2007
-***************
-*** 485,490 ****
---- 485,492 ----
-
- if (pgmtype == PGMTYPE_JTAGICE_MKII)
- return 0;
-+ if (pgmtype == PGMTYPE_AVRISP_MKII)
-+ return 0;
-
- retry:
- tries++;
Added: trunk/dports/cross/avrdude/files/patch-stk500v2.c.diff
===================================================================
--- trunk/dports/cross/avrdude/files/patch-stk500v2.c.diff (rev 0)
+++ trunk/dports/cross/avrdude/files/patch-stk500v2.c.diff 2009-07-15 16:27:05 UTC (rev 53846)
@@ -0,0 +1,11 @@
+--- stk500v2.c.orig 2009-07-11 00:39:37.000000000 +0200
++++ stk500v2.c 2009-07-15 12:04:18.000000000 +0200
+@@ -626,7 +626,7 @@
+
+ DEBUG("STK500V2: stk500v2_getsync()\n");
+
+- if (PDATA(pgm)->pgmtype == PGMTYPE_JTAGICE_MKII)
++ if ((PDATA(pgm)->pgmtype == PGMTYPE_JTAGICE_MKII) || (PDATA(pgm)->pgmtype == PGMTYPE_AVRISP_MKII))
+ return 0;
+
+ retry:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090715/7618d1e4/attachment-0001.html>
More information about the macports-changes
mailing list