summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorreed <reed>2005-12-28 16:37:59 +0000
committerreed <reed>2005-12-28 16:37:59 +0000
commit0e1e1ffaadd8ca25aa97156efe4c537cdbfdb976 (patch)
tree0b92d11eb4f8c099be34bd00be9e6bc9dc9cd31a
parent9281fd83211305426174bba40553b9ae41dae62a (diff)
downloadpkgsrc-0e1e1ffaadd8ca25aa97156efe4c537cdbfdb976.tar.gz
Move include of sys/types.h earlier. Fixes build as noticed on DragonFly.
-rw-r--r--misc/siag/distinfo3
-rw-r--r--misc/siag/patches/patch-aa19
2 files changed, 21 insertions, 1 deletions
diff --git a/misc/siag/distinfo b/misc/siag/distinfo
index 46e9a4a21a5..d147da645a8 100644
--- a/misc/siag/distinfo
+++ b/misc/siag/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.7 2005/02/24 11:02:58 agc Exp $
+$NetBSD: distinfo,v 1.8 2005/12/28 16:37:59 reed Exp $
SHA1 (siag-3.5.7.tar.gz) = 007030eb29fc1a4d3a0d78f9d93893cf40b6b84b
RMD160 (siag-3.5.7.tar.gz) = 41f20210e4b5b4704ecd0f539cbcf1d409bb9a1a
Size (siag-3.5.7.tar.gz) = 1653929 bytes
+SHA1 (patch-aa) = d50549158fd83afb0a8cc9cb6ba607161ea45ff9
SHA1 (patch-ab) = 564a906957521afae681662d0e19fc06996682ac
SHA1 (patch-av) = 2e2598ca694ed93ff6bd34c9bb4625f915d412ad
diff --git a/misc/siag/patches/patch-aa b/misc/siag/patches/patch-aa
new file mode 100644
index 00000000000..4b4043f2227
--- /dev/null
+++ b/misc/siag/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.8 2005/12/28 16:37:59 reed Exp $
+
+--- stocks/http.c.orig 2005-12-28 08:03:24.000000000 -0800
++++ stocks/http.c 2005-12-28 08:03:36.000000000 -0800
+@@ -20,13 +20,13 @@
+
+ #define __HTTP_C__
+
++#include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <netdb.h>
+ #include <unistd.h>
+
+-#include <sys/types.h>
+ #include <ctype.h>
+ #include <string.h>
+ #include <stdlib.h>