summaryrefslogtreecommitdiff
path: root/net/mtftpd
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-12-31 16:39:22 +0000
committerobache <obache@pkgsrc.org>2010-12-31 16:39:22 +0000
commitd5e20c89968708d417af09295b41f63a7d0833cd (patch)
tree8b9e0e81c22afcb60029b9f21e4708704dc5cd26 /net/mtftpd
parent4720c64334dec999beb9dc040f1945efa78c8202 (diff)
downloadpkgsrc-d5e20c89968708d417af09295b41f63a7d0833cd.tar.gz
include <sys/socket.h> additionally for socket related things.
fixes build failure on DragonFly.
Diffstat (limited to 'net/mtftpd')
-rw-r--r--net/mtftpd/distinfo5
-rw-r--r--net/mtftpd/patches/patch-ab12
-rw-r--r--net/mtftpd/patches/patch-ac12
-rw-r--r--net/mtftpd/patches/patch-ad12
4 files changed, 40 insertions, 1 deletions
diff --git a/net/mtftpd/distinfo b/net/mtftpd/distinfo
index 1b9858f22dd..10b899c9bb2 100644
--- a/net/mtftpd/distinfo
+++ b/net/mtftpd/distinfo
@@ -1,6 +1,9 @@
-$NetBSD: distinfo,v 1.1.1.1 2008/05/11 20:27:04 jmcneill Exp $
+$NetBSD: distinfo,v 1.2 2010/12/31 16:39:22 obache Exp $
SHA1 (mtftpd-20080229.tar.gz) = f4ca14fa9dfd3ba6fa92abe9b87bcc1b4f071810
RMD160 (mtftpd-20080229.tar.gz) = af3d046ea7a57fcc00d7955a7707d8c007e7aeca
Size (mtftpd-20080229.tar.gz) = 135499 bytes
SHA1 (patch-aa) = 2a6c77a7481500fcf41b4fe89905447b346c5569
+SHA1 (patch-ab) = e368d65598fffb7db71e853977e9d1885228c43e
+SHA1 (patch-ac) = 325bf7ce42d84939cecff288d385875e5bda6fea
+SHA1 (patch-ad) = c8da2390a0c287860240f5bf4044d7f3c92f3ad6
diff --git a/net/mtftpd/patches/patch-ab b/net/mtftpd/patches/patch-ab
new file mode 100644
index 00000000000..277521c6b21
--- /dev/null
+++ b/net/mtftpd/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1 2010/12/31 16:39:23 obache Exp $
+
+--- mtftpd.c.orig 2008-02-29 18:25:59.000000000 +0000
++++ mtftpd.c
+@@ -47,6 +47,7 @@
+ #include <sys/stat.h>
+
+ #include <arpa/inet.h>
++#include <sys/socket.h>
+
+ #include <pthread.h>
+ #include <stdlib.h>
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>
+
diff --git a/net/mtftpd/patches/patch-ad b/net/mtftpd/patches/patch-ad
new file mode 100644
index 00000000000..5e1e20e3950
--- /dev/null
+++ b/net/mtftpd/patches/patch-ad
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.1 2010/12/31 16:39:23 obache Exp $
+
+--- transmit.c.orig 2008-02-29 18:25:59.000000000 +0000
++++ transmit.c
+@@ -41,6 +41,7 @@
+ #include <sys/types.h>
+
+ #include <netinet/in.h>
++#include <sys/socket.h>
+
+ #include <pthread.h>
+ #include <stdlib.h>