summaryrefslogtreecommitdiff
path: root/net/miredo
diff options
context:
space:
mode:
authorjoerg <joerg>2006-03-14 01:59:19 +0000
committerjoerg <joerg>2006-03-14 01:59:19 +0000
commit0c263b1f5c6b6bad735fca3cd1af567275517876 (patch)
tree060db8b1a366eb91bbdcaacb31617d9e97595567 /net/miredo
parent7addc9bddfca947723afbb3a76105a417b2f906e (diff)
downloadpkgsrc-0c263b1f5c6b6bad735fca3cd1af567275517876.tar.gz
Rest of DragonFly changes.
Diffstat (limited to 'net/miredo')
-rw-r--r--net/miredo/patches/patch-ad44
-rw-r--r--net/miredo/patches/patch-ae14
-rw-r--r--net/miredo/patches/patch-af12
3 files changed, 70 insertions, 0 deletions
diff --git a/net/miredo/patches/patch-ad b/net/miredo/patches/patch-ad
new file mode 100644
index 00000000000..f7ffc136732
--- /dev/null
+++ b/net/miredo/patches/patch-ad
@@ -0,0 +1,44 @@
+$NetBSD: patch-ad,v 1.1 2006/03/14 01:59:19 joerg Exp $
+
+--- configure.orig 2006-02-02 21:02:16.000000000 +0000
++++ configure
+@@ -20613,6 +20613,12 @@ _ACEOF
+ _ACEOF
+
+ ;;
++ *dragonfly*)
++ cat >>confdefs.h <<\_ACEOF
++#define HAVE_DRAGONFLY 1
++_ACEOF
++
++ ;;
+ *openbsd*)
+ cat >>confdefs.h <<\_ACEOF
+ #define HAVE_OPENBSD 1
+@@ -21878,8 +21884,7 @@ fi
+ rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ if test "$ac_cv_search_pthread_create" = no; then
+- for ac_lib in pthread c_r; do
+- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
++ LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $ac_func_search_save_LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -21923,7 +21928,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+- ac_cv_search_pthread_create="-l$ac_lib"
++ ac_cv_search_pthread_create="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
+ break
+ else
+ echo "$as_me: failed program was:" >&5
+@@ -21932,7 +21937,6 @@ sed 's/^/| /' conftest.$ac_ext >&5
+ fi
+ rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+- done
+ fi
+ LIBS=$ac_func_search_save_LIBS
+ fi
diff --git a/net/miredo/patches/patch-ae b/net/miredo/patches/patch-ae
new file mode 100644
index 00000000000..1334def2bd1
--- /dev/null
+++ b/net/miredo/patches/patch-ae
@@ -0,0 +1,14 @@
+$NetBSD: patch-ae,v 1.1 2006/03/14 01:59:19 joerg Exp $
+
+--- config.h.in.orig 2006-03-14 01:37:13.000000000 +0000
++++ config.h.in
+@@ -31,6 +31,9 @@
+ /* Define to 1 if the host kernel is FreeBSD. */
+ #undef HAVE_FREEBSD
+
++/* Define to 1 if the host kernel is DragonFly. */
++#undef HAVE_DRAGONFLY
++
+ /* Define to 1 if you have the <getopt.h> header file. */
+ #undef HAVE_GETOPT_H
+
diff --git a/net/miredo/patches/patch-af b/net/miredo/patches/patch-af
new file mode 100644
index 00000000000..f3a0d448aa2
--- /dev/null
+++ b/net/miredo/patches/patch-af
@@ -0,0 +1,12 @@
+$NetBSD: patch-af,v 1.1 2006/03/14 01:59:19 joerg Exp $
+
+--- libteredo/teredo.c.orig 2006-03-14 01:40:28.000000000 +0000
++++ libteredo/teredo.c
+@@ -32,6 +32,7 @@
+ # include <stdint.h> /* Mac OS X needs that */
+ #endif
+ #include <sys/types.h>
++#include <sys/uio.h>
+ #include <netinet/in.h>
+ #include <netinet/ip6.h>
+