summaryrefslogtreecommitdiff
path: root/net/mtftpd/patches/patch-ac
diff options
context:
space:
mode:
authorobache <obache>2010-12-31 16:39:22 +0000
committerobache <obache>2010-12-31 16:39:22 +0000
commit0e5bf7906d47cde6f2698ec97c75e656d0149f82 (patch)
tree8b9e0e81c22afcb60029b9f21e4708704dc5cd26 /net/mtftpd/patches/patch-ac
parente3fd9fa0bbb5013ffa2eff4852a352be1b55f87a (diff)
downloadpkgsrc-0e5bf7906d47cde6f2698ec97c75e656d0149f82.tar.gz
include <sys/socket.h> additionally for socket related things.
fixes build failure on DragonFly.
Diffstat (limited to 'net/mtftpd/patches/patch-ac')
-rw-r--r--net/mtftpd/patches/patch-ac12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/mtftpd/patches/patch-ac b/net/mtftpd/patches/patch-ac
new file mode 100644
index 00000000000..2186a94247c
--- /dev/null
+++ b/net/mtftpd/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1 2010/12/31 16:39:23 obache Exp $
+
+--- conf.c.orig 2008-02-29 18:25:59.000000000 +0000
++++ conf.c
+@@ -42,6 +42,7 @@
+ #include <sys/stat.h>
+
+ #include <arpa/inet.h>
++#include <sys/socket.h>
+
+ #include <prop/proplib.h>
+