Date: Thu, 8 Mar 2018 02:33:04 +0000 (UTC) From: Hajimu UMEMOTO <ume@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r463858 - in head/net/u6rd: . files Message-ID: <201803080233.w282X4QU013777@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803080233.w282X4QU013777>