summaryrefslogtreecommitdiff
path: root/cross/avrdude/patches/patch-ae
diff options
context:
space:
mode:
authorwennmach <wennmach@pkgsrc.org>2003-07-17 19:09:23 +0000
committerwennmach <wennmach@pkgsrc.org>2003-07-17 19:09:23 +0000
commitfb54ce400f0f5dfc27e13f2c3011afc5f706817d (patch)
tree25ad23c1392c615e210c0f530dda2f1d9c5a1652 /cross/avrdude/patches/patch-ae
parent7f512cd63ec133c811663e197e0910d65b350673 (diff)
downloadpkgsrc-fb54ce400f0f5dfc27e13f2c3011afc5f706817d.tar.gz
avrdude - Program for programming the on-chip memory of Atmel AVR CPUs
Submitted by Karl Janmar <karlj@mdstud.chalmers.se> in PR 22139, with several changes by myself. Original package from FreeBSD.
Diffstat (limited to 'cross/avrdude/patches/patch-ae')
-rw-r--r--cross/avrdude/patches/patch-ae13
1 files changed, 13 insertions, 0 deletions
diff --git a/cross/avrdude/patches/patch-ae b/cross/avrdude/patches/patch-ae
new file mode 100644
index 00000000000..390fa3f54d1
--- /dev/null
+++ b/cross/avrdude/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1.1.1 2003/07/17 19:09:23 wennmach Exp $
+
+--- ser_posix.c.org Tue Jul 8 11:11:06 2003
++++ ser_posix.c Tue Jul 8 11:11:22 2003
+@@ -120,7 +120,7 @@
+ /*
+ * open the serial port
+ */
+- fd = open(port, O_RDWR | O_NOCTTY /*| O_NONBLOCK*/);
++ fd = open(port, O_RDWR | O_NOCTTY | O_NONBLOCK);
+ if (fd < 0) {
+ fprintf(stderr, "%s: serial_open(): can't open device \"%s\": %s\n",
+ progname, port, strerror(errno));