public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-misc/vtun/files: vtun-3.0.2-includes.patch
@ 2010-09-18  3:12 Jeroen Roovers (jer)
  0 siblings, 0 replies; only message in thread
From: Jeroen Roovers (jer) @ 2010-09-18  3:12 UTC (permalink / raw
  To: gentoo-commits

jer         10/09/18 03:12:18

  Added:                vtun-3.0.2-includes.patch
  Log:
  Respect LDFLAGS (bug #335524). Fix compiler warnings.
  
  (Portage version: 2.2_rc83/cvs/Linux i686)

Revision  Changes    Path
1.1                  net-misc/vtun/files/vtun-3.0.2-includes.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vtun/files/vtun-3.0.2-includes.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vtun/files/vtun-3.0.2-includes.patch?rev=1.1&content-type=text/plain

Index: vtun-3.0.2-includes.patch
===================================================================
--- a/lfd_encrypt.c	2008-01-07 23:35:32.000000000 +0100
+++ b/lfd_encrypt.c	2010-09-18 04:53:31.000000000 +0200
@@ -44,6 +44,7 @@
 #include <strings.h>
 #include <string.h>
 #include <time.h>
+#include <arpa/inet.h> /* htonl() */
 
 #include "vtun.h"
 #include "linkfd.h"
--- a/lib.c	2008-01-07 23:35:40.000000000 +0100
+++ b/lib.c	2010-09-18 04:52:51.000000000 +0200
@@ -34,6 +34,7 @@
 #include <sys/wait.h>
 #include <syslog.h>
 #include <errno.h>
+#include <time.h> /* nanosleep() */
 
 #include "vtun.h"
 #include "linkfd.h"
--- a/lib.h	2008-01-07 23:35:41.000000000 +0100
+++ b/lib.h	2010-09-18 04:56:50.000000000 +0200
@@ -26,6 +26,7 @@
 #include <sys/types.h>
 #include <signal.h>
 #include <errno.h>
+#include <unistd.h> /* read(), write() */
 
 #ifdef HAVE_LIBUTIL_H
 #include <libutil.h>
--- a/vtun.h	2008-01-07 23:36:07.000000000 +0100
+++ b/vtun.h	2010-09-18 04:56:08.000000000 +0200
@@ -219,5 +219,9 @@
 int  tunnel(struct vtun_host *host);
 int  read_config(char *file);
 struct vtun_host * find_host(char *host);
+int send_msg(int len, char *in, char **out);
+int send_ib_mesg(int *len, char **in);
+int recv_msg(int len, char *in, char **out);
+int recv_ib_mesg(int *len, char **in);
 
 #endif
--- a/lock.c	2008-01-07 23:35:50.000000000 +0100
+++ b/lock.c	2010-09-18 05:01:21.000000000 +0200
@@ -32,6 +32,7 @@
 #include <sys/types.h>
 #include <signal.h>
 #include <errno.h>
+#include <time.h> /* nanosleep() */
 
 #include "vtun.h"
 #include "linkfd.h"
--- a/server	2008-01-07 23:36:01.000000000 +0100
+++ b/server.c	2010-09-18 05:02:45.000000000 +0200
@@ -49,6 +49,7 @@
 #include "auth.h"
 
 #include "compat.h"
+#include "netlib.h" /* generic_addr() */
 
 static volatile sig_atomic_t server_term;
 static void sig_term(int sig)
--- a/lfd_shaper.c	2008-01-07 23:35:36.000000000 +0100
+++ b/lfd_shaper.c	2010-09-18 05:07:12.000000000 +0200
@@ -27,6 +27,7 @@
 #include <stdlib.h>
 #include <sys/time.h>
 #include <syslog.h>
+#include <time.h> /* nanosleep() */
 
 #include "vtun.h"
 #include "linkfd.h"






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-09-18  3:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-18  3:12 [gentoo-commits] gentoo-x86 commit in net-misc/vtun/files: vtun-3.0.2-includes.patch Jeroen Roovers (jer)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox