ports/net/multicat/files/patch-util.h
Matthias Andree 2afe3963da net/multicat: Update to 2.3, new maintainer
- pkg-descr: WWW: changed to https://
- Makefile ordering: PORTDOCS and PKG_PLIST swapped (portclippy suggestion)
- extra patch of the file "patch" successfully ignored :-)
- set MAINTAINER (was unmaintained)

PR:		241982
Submitted by:	Michael Muenz <m.muenz@gmail.com> (new maintainer)
2020-05-04 23:03:41 +00:00

20 lines
711 B
C

--- util.h.orig 2019-11-15 11:52:14 UTC
+++ util.h
@@ -25,7 +25,7 @@
#include <netinet/ip.h>
#include <sys/types.h>
-#if defined(__APPLE__) || defined(__FreeBSD__)
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__)
#define POLLRDHUP 0
/* uClibc may does not have clock_nanosleep() */
#elif !defined (__UCLIBC__) || \
@@ -60,7 +60,7 @@ typedef union
* Raw udp packet structure with flexible-array payload
*****************************************************************************/
struct udprawpkt {
-#if defined(__APPLE__) || defined(__FreeBSD__)
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__)
struct ip iph;
#else
struct iphdr iph;