svn commit: r364178 - head/net/hanstunnel/files

Adam Weinberger adamw at FreeBSD.org
Wed Aug 6 14:15:05 UTC 2014


Author: adamw
Date: Wed Aug  6 14:15:04 2014
New Revision: 364178
URL: http://svnweb.freebsd.org/changeset/ports/364178
QAT: https://qat.redports.org/buildarchive/r364178/

Log:
  Add missing header files.
  
  The wacky CLANG option probably needs some attention.

Added:
  head/net/hanstunnel/files/patch-echo.cpp   (contents, props changed)
  head/net/hanstunnel/files/patch-main.cpp   (contents, props changed)
  head/net/hanstunnel/files/patch-utility.cpp   (contents, props changed)
Modified:
  head/net/hanstunnel/files/patch-tun.cpp

Added: head/net/hanstunnel/files/patch-echo.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/hanstunnel/files/patch-echo.cpp	Wed Aug  6 14:15:04 2014	(r364178)
@@ -0,0 +1,10 @@
+--- echo.cpp.orig	2014-08-06 10:11:40.000000000 -0400
++++ echo.cpp	2014-08-06 10:11:56.000000000 -0400
+@@ -20,6 +20,7 @@
+ #include "echo.h"
+ #include "exception.h"
+ 
++#include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netinet/in_systm.h>
+ #include <netinet/in.h>

Added: head/net/hanstunnel/files/patch-main.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/hanstunnel/files/patch-main.cpp	Wed Aug  6 14:15:04 2014	(r364178)
@@ -0,0 +1,10 @@
+--- main.cpp.orig	2014-08-06 10:11:00.000000000 -0400
++++ main.cpp	2014-08-06 10:11:12.000000000 -0400
+@@ -30,6 +30,7 @@
+ #include <stdlib.h>
+ #include <errno.h>
+ #include <syslog.h>
++#include <unistd.h>
+ 
+ void usage()
+ {

Modified: head/net/hanstunnel/files/patch-tun.cpp
==============================================================================
--- head/net/hanstunnel/files/patch-tun.cpp	Wed Aug  6 14:13:33 2014	(r364177)
+++ head/net/hanstunnel/files/patch-tun.cpp	Wed Aug  6 14:15:04 2014	(r364178)
@@ -1,9 +1,14 @@
-
-$FreeBSD$
-
---- tun.cpp.orig
-+++ tun.cpp
-@@ -41,8 +41,7 @@
+--- tun.cpp.orig	2010-02-17 10:30:21.000000000 -0500
++++ tun.cpp	2014-08-06 10:10:51.000000000 -0400
+@@ -21,6 +21,7 @@
+ #include "exception.h"
+ #include "utility.h"
+ 
++#include <sys/types.h>
+ #include <arpa/inet.h>
+ #include <netinet/in_systm.h>
+ #include <netinet/in.h>
+@@ -41,8 +42,7 @@
  
  	if (device != NULL)
  	{
@@ -13,7 +18,7 @@ $FreeBSD$
  	}
  	else
  		this->device[0] = 0;
-@@ -68,23 +67,17 @@
+@@ -68,23 +68,17 @@
  	string ips = Utility::formatIp(ip);
  	string destIps = Utility::formatIp(destIp);
  

Added: head/net/hanstunnel/files/patch-utility.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/hanstunnel/files/patch-utility.cpp	Wed Aug  6 14:15:04 2014	(r364178)
@@ -0,0 +1,10 @@
+--- utility.cpp.orig	2014-08-06 10:12:15.000000000 -0400
++++ utility.cpp	2014-08-06 10:12:30.000000000 -0400
+@@ -21,6 +21,7 @@
+ 
+ #include <stdlib.h>
+ #include <stdio.h>
++#include <time.h>
+ 
+ using namespace std;
+ 


More information about the svn-ports-head mailing list