Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/simulavr Use BSD bind, not STL bind.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ada913c67e37
branches:  trunk
changeset: 432861:ada913c67e37
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue May 26 11:28:50 2020 +0000

description:
Use BSD bind, not STL bind.

diffstat:

 emulators/simulavr/distinfo                            |   4 ++--
 emulators/simulavr/patches/patch-src_cmd_gdbserver.cpp |  13 +++++++++++++
 2 files changed, 15 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r 4d13c62c9341 -r ada913c67e37 emulators/simulavr/distinfo
--- a/emulators/simulavr/distinfo       Tue May 26 11:28:04 2020 +0000
+++ b/emulators/simulavr/distinfo       Tue May 26 11:28:50 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2016/03/08 07:42:48 dsainty Exp $
+$NetBSD: distinfo,v 1.13 2020/05/26 11:28:50 joerg Exp $
 
 SHA1 (simulavr-1.0.0.tar.gz) = e7cacc74be974793bd9c18330ec8d128fbd17d42
 RMD160 (simulavr-1.0.0.tar.gz) = 0e9eb32f398943449b564e919765348c32f4c600
@@ -9,7 +9,7 @@
 SHA1 (patch-examples_atmel_key_StdDefs_c) = 73a89da0144d1d0cc2c678476270ea1f79300089
 SHA1 (patch-examples_atmel_key_scancodes.h) = f7f6d3f2da8eec4cf9b52800a499bd8300545bc0
 SHA1 (patch-regress_timertest_timer_16bit.c) = 81ee86847fd4d40817b2f4bf01e03aca86856f3c
-SHA1 (patch-src_Makefile.in) = 28354fe97e521b528b6f6d804b7b750d7c63062f
+SHA1 (patch-src_cmd_gdbserver.cpp) = 4697b3ddb0e1b5e8088beab2a0af67c226921447
 SHA1 (patch-src_systemclock_cpp) = 91535a11446dade72752dd0d549d4a605c5e90bc
 SHA1 (patch-src_systemclock_h) = fce9df95336b02b3152ec9b162a085c8c4b20283
 SHA1 (patch-src_traceval_cpp) = a92597bd935916fa0ec366b9187df33f075a7c83
diff -r 4d13c62c9341 -r ada913c67e37 emulators/simulavr/patches/patch-src_cmd_gdbserver.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/simulavr/patches/patch-src_cmd_gdbserver.cpp    Tue May 26 11:28:50 2020 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_cmd_gdbserver.cpp,v 1.1 2020/05/26 11:28:50 joerg Exp $
+
+--- src/cmd/gdbserver.cpp.orig 2020-05-26 01:36:49.070961229 +0000
++++ src/cmd/gdbserver.cpp
+@@ -183,7 +183,7 @@ GdbServerSocketUnix::GdbServerSocketUnix
+     address->sin_port = htons(port);
+     memset(&address->sin_addr, 0, sizeof(address->sin_addr));
+ 
+-    if(bind(sock, (struct sockaddr *)address, sizeof(address)))
++    if(::bind(sock, (struct sockaddr *)address, sizeof(address)))
+         avr_error("Can not bind socket: %s", strerror(errno));
+ 
+     if(listen(sock, 1) < 0)



Home | Main Index | Thread Index | Old Index