svn commit: r463858 - in head/net/u6rd: . files
Hajimu UMEMOTO
ume at FreeBSD.org
Thu Mar 8 02:33:05 UTC 2018
Author: ume
Date: Thu Mar 8 02:33:04 2018
New Revision: 463858
URL: https://svnweb.freebsd.org/changeset/ports/463858
Log:
A necessary include was missing in order for the value of
__FreeBSD_version to be picked up.
Submitted by: Guido van Rooij <guido__at__gvr.org>
Modified:
head/net/u6rd/Makefile
head/net/u6rd/files/patch-main.c
Modified: head/net/u6rd/Makefile
==============================================================================
--- head/net/u6rd/Makefile Thu Mar 8 01:31:50 2018 (r463857)
+++ head/net/u6rd/Makefile Thu Mar 8 02:33:04 2018 (r463858)
@@ -2,7 +2,7 @@
PORTNAME= u6rd
PORTVERSION= 1.6
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net ipv6
MASTER_SITES= http://ftp.scythe.jp/pub/u6rd/release/
Modified: head/net/u6rd/files/patch-main.c
==============================================================================
--- head/net/u6rd/files/patch-main.c Thu Mar 8 01:31:50 2018 (r463857)
+++ head/net/u6rd/files/patch-main.c Thu Mar 8 02:33:04 2018 (r463858)
@@ -1,5 +1,14 @@
--- main.c.orig 2013-06-19 11:23:58 UTC
+++ main.c
+@@ -25,7 +25,7 @@
+ * SUCH DAMAGE.
+ */
+
+-#include <sys/types.h>
++#include <sys/param.h>
+ #include <sys/ioctl.h>
+ #include <sys/socket.h>
+ #include <arpa/inet.h>
@@ -608,7 +608,8 @@ tun2raw(struct connection *c)
ip4 = (struct ipv4_header *)(buf - sizeof(*ip4));
ip4->ver_hlen = 4 << 4 | sizeof(*ip4) >> 2;
More information about the svn-ports-all
mailing list