pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/miredo/patches Rest of DragonFly changes.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aef764350fe3
branches:  trunk
changeset: 509741:aef764350fe3
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Mar 14 01:59:19 2006 +0000

description:
Rest of DragonFly changes.

diffstat:

 net/miredo/patches/patch-ad |  44 ++++++++++++++++++++++++++++++++++++++++++++
 net/miredo/patches/patch-ae |  14 ++++++++++++++
 net/miredo/patches/patch-af |  12 ++++++++++++
 3 files changed, 70 insertions(+), 0 deletions(-)

diffs (82 lines):

diff -r c15ec1311c8a -r aef764350fe3 net/miredo/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/miredo/patches/patch-ad       Tue Mar 14 01:59:19 2006 +0000
@@ -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 -r c15ec1311c8a -r aef764350fe3 net/miredo/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/miredo/patches/patch-ae       Tue Mar 14 01:59:19 2006 +0000
@@ -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 -r c15ec1311c8a -r aef764350fe3 net/miredo/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/miredo/patches/patch-af       Tue Mar 14 01:59:19 2006 +0000
@@ -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>
+ 



Home | Main Index | Thread Index | Old Index