svn commit: r486801 - head/security/wpa_supplicant/files

Cy Schubert cy at FreeBSD.org
Thu Dec 6 20:33:33 UTC 2018


Author: cy
Date: Thu Dec  6 20:33:31 2018
New Revision: 486801
URL: https://svnweb.freebsd.org/changeset/ports/486801

Log:
  Add missing file that should have been in r486779.

Added:
  head/security/wpa_supplicant/files/patch-src_common_dhcp.h   (contents, props changed)

Added: head/security/wpa_supplicant/files/patch-src_common_dhcp.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/wpa_supplicant/files/patch-src_common_dhcp.h	Thu Dec  6 20:33:31 2018	(r486801)
@@ -0,0 +1,25 @@
+--- src/common/dhcp.h.orig	2018-12-02 11:34:59.000000000 -0800
++++ src/common/dhcp.h	2018-12-06 00:01:11.429254000 -0800
+@@ -9,6 +9,22 @@
+ #ifndef DHCP_H
+ #define DHCP_H
+ 
++/*
++ * Translate Linux to FreeBSD
++ */
++#define iphdr		ip
++#define ihl		ip_hl
++#define verson		ip_v
++#define tos		ip_tos
++#define tot_len		ip_len
++#define id		ip_id
++#define frag_off	ip_off
++#define ttl		ip_ttl
++#define protocol	ip_p
++#define check		ip_sum
++#define saddr		ip_src
++#define daddr		ip_dst
++
+ #include <netinet/ip.h>
+ #if __FAVOR_BSD
+ #include <netinet/udp.h>


More information about the svn-ports-all mailing list