svn commit: r509778 - head/net/knxd/files

Matthias Fechner mfechner at FreeBSD.org
Sun Aug 25 08:31:00 UTC 2019


Author: mfechner
Date: Sun Aug 25 08:30:59 2019
New Revision: 509778
URL: https://svnweb.freebsd.org/changeset/ports/509778

Log:
  net/knxd: fix build with GCC architectures.
  
  This patch is also requested upstream:
  https://github.com/knxd/knxd/pull/407
  
  PR:		239469
  Submitted by:	pkubaj

Added:
  head/net/knxd/files/patch-src_libserver_eibnetip.cpp   (contents, props changed)

Added: head/net/knxd/files/patch-src_libserver_eibnetip.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/knxd/files/patch-src_libserver_eibnetip.cpp	Sun Aug 25 08:30:59 2019	(r509778)
@@ -0,0 +1,14 @@
+--- src/libserver/eibnetip.cpp.orig	2019-07-26 22:23:32 UTC
++++ src/libserver/eibnetip.cpp
+@@ -248,7 +248,11 @@ EIBNetIPSocket::port ()
+     return -1;
+   if (sa.sin_family != AF_INET)
+     {
++#ifdef ENODATA
+       errno = ENODATA;
++#else
++      errno = 9919;
++#endif
+       return -1;
+     }
+   return sa.sin_port;


More information about the svn-ports-all mailing list