- update to 0.18
This commit is contained in:
parent
7dc4dfa7c2
commit
52a9316b55
@ -1,9 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2011/09/06 20:36:24 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2011/11/11 15:48:39 jasper Exp $
|
||||
|
||||
COMMENT= debugger for use with MSP 430 MCUs
|
||||
|
||||
DISTNAME= mspdebug-0.17
|
||||
REVISION= 1
|
||||
DISTNAME= mspdebug-0.18
|
||||
CATEGORIES= devel devel/msp430
|
||||
|
||||
HOMEPAGE= http://mspdebug.sourceforge.net/
|
||||
@ -18,7 +17,7 @@ PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mspdebug/}
|
||||
|
||||
WANTLIB += c readline termcap usb
|
||||
WANTLIB += c pthread readline termcap usb
|
||||
|
||||
BUILD_DEPENDS= archivers/gtar
|
||||
LIB_DEPENDS= devel/libusb
|
||||
@ -27,11 +26,8 @@ TAR= ${LOCALBASE}/bin/gtar
|
||||
|
||||
USE_GMAKE= Yes
|
||||
MAKE_FLAGS= CC="${CC}" GCC_CFLAGS="" LDFLAGS=""
|
||||
FAKE_FLAGS= PREFIX=${PREFIX} MANDIR=${PREFIX}/man/man1/
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/mspdebug ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/mspdebug.man ${PREFIX}/man/man1/mspdebug.1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (mspdebug-0.17.tar.gz) = bBEpOdN7sRSfYcWMeohr1g==
|
||||
RMD160 (mspdebug-0.17.tar.gz) = e3vaOd+ZTR86+MIiBmZRveL0i+o=
|
||||
SHA1 (mspdebug-0.17.tar.gz) = hPGDOAAi/GqvcJ8MqA5xRqmtu90=
|
||||
SHA256 (mspdebug-0.17.tar.gz) = +cH/s5lprXcWNHES5mxuZ7n1e8R+16Q3lpfRFE7juKQ=
|
||||
SIZE (mspdebug-0.17.tar.gz) = 144012
|
||||
MD5 (mspdebug-0.18.tar.gz) = i+//Em2cKtGRnYNWa+TJ8A==
|
||||
RMD160 (mspdebug-0.18.tar.gz) = /HAaArSLQQVnxAJuOgHEaXfFLvQ=
|
||||
SHA1 (mspdebug-0.18.tar.gz) = pRQ8a0UcNFwzuQC8LIn/QhmgyI0=
|
||||
SHA256 (mspdebug-0.18.tar.gz) = Nl9hS5RnnTbNd3E1sqsVKklbrnNQ7BksbOGjpbOQFws=
|
||||
SIZE (mspdebug-0.18.tar.gz) = 171442
|
||||
|
@ -1,18 +0,0 @@
|
||||
$OpenBSD: patch-olimex_c,v 1.5 2011/09/06 20:36:24 jasper Exp $
|
||||
|
||||
From 7a0a30f62665ba85fa6e74ec3d9541bcafec34ad Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Beer <dlbeer@gmail.com>
|
||||
Date: Wed, 7 Sep 2011 08:18:00 +1200
|
||||
Subject: [PATCH] usb_bulk_read: may return 0 on timeout.
|
||||
|
||||
--- olimex.c.orig Wed Aug 24 06:24:16 2011
|
||||
+++ olimex.c Tue Sep 6 22:35:25 2011
|
||||
@@ -272,7 +272,7 @@ transport_t olimex_open(const char *devpath, const cha
|
||||
/* Flush out lingering data */
|
||||
while (usb_bulk_read(tr->handle, tr->in_ep,
|
||||
buf, sizeof(buf),
|
||||
- 100) >= 0);
|
||||
+ 100) > 0);
|
||||
|
||||
return (transport_t)tr;
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
$OpenBSD: patch-rf2500_c,v 1.6 2011/09/06 20:36:24 jasper Exp $
|
||||
|
||||
From 7a0a30f62665ba85fa6e74ec3d9541bcafec34ad Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Beer <dlbeer@gmail.com>
|
||||
Date: Wed, 7 Sep 2011 08:18:00 +1200
|
||||
Subject: [PATCH] usb_bulk_read: may return 0 on timeout.
|
||||
|
||||
--- rf2500.c.orig Wed Aug 24 06:24:16 2011
|
||||
+++ rf2500.c Tue Sep 6 22:35:25 2011
|
||||
@@ -231,7 +231,7 @@ transport_t rf2500_open(const char *devpath, const cha
|
||||
#ifndef __APPLE__
|
||||
while (usb_bulk_read(tr->handle, USB_FET_IN_EP,
|
||||
buf, sizeof(buf),
|
||||
- 100) >= 0);
|
||||
+ 100) > 0);
|
||||
#endif
|
||||
|
||||
return (transport_t)tr;
|
@ -1,3 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/12/02 10:35:04 jasper Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2011/11/11 15:48:39 jasper Exp $
|
||||
@bin bin/mspdebug
|
||||
lib/mspdebug/
|
||||
lib/mspdebug/ti_3410.fw.ihex
|
||||
@man man/man1/mspdebug.1
|
||||
|
Loading…
Reference in New Issue
Block a user