openbsd-ports/sysutils/bacula/patches/patch-src_lib_bnet_c
ajacoutot 186a14223e Major update to Bacula 7.0.2.
Some info at:
http://blog.bacula.org/p710/
http://blog.bacula.org/release-7-0-2/

Now builds with our libtool(1).

While there's a huge amount of changes, existing setups "should" just
work without any modification.

tested by sthen@ and myself
ok sthen@, my new co-maintainer :-)
2014-04-19 09:44:11 +00:00

14 lines
446 B
Plaintext

$OpenBSD: patch-src_lib_bnet_c,v 1.1 2014/04/19 09:44:11 ajacoutot Exp $
--- src/lib/bnet.c.orig Wed Apr 2 18:32:30 2014
+++ src/lib/bnet.c Tue Apr 8 16:26:01 2014
@@ -627,7 +627,9 @@ int set_socket_errno(int sockstat)
/* Handle errrors from prior connections as EAGAIN */
switch (errno) {
case ENETDOWN:
+#ifdef EPROTO
case EPROTO:
+#endif
case ENOPROTOOPT:
case EHOSTDOWN:
#ifdef ENONET