svn commit: r428996 - head/net/haproxy/files

Dmitry Sivachenko demon at FreeBSD.org
Tue Dec 20 16:25:59 UTC 2016


Author: demon
Date: Tue Dec 20 16:25:58 2016
New Revision: 428996
URL: https://svnweb.freebsd.org/changeset/ports/428996

Log:
  Add forgotten patch to fix lua build.
  
  PR:		215444
  Submitted by:	Franco Fichtner <franco at opnsense.org>

Added:
  head/net/haproxy/files/patch-src-hlua_fcn.c   (contents, props changed)

Added: head/net/haproxy/files/patch-src-hlua_fcn.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/haproxy/files/patch-src-hlua_fcn.c	Tue Dec 20 16:25:58 2016	(r428996)
@@ -0,0 +1,15 @@
+--- src/hlua_fcn.c.orig	2016-12-17 13:58:44.786067000 +0300
++++ src/hlua_fcn.c	2016-12-17 13:59:17.551256000 +0300
+@@ -39,6 +39,12 @@ static int class_listener_ref;
+ 
+ #define STATS_LEN (MAX((int)ST_F_TOTAL_FIELDS, (int)INF_TOTAL_FIELDS))
+ 
++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
++#define s6_addr8	__u6_addr.__u6_addr8
++#define s6_addr16	__u6_addr.__u6_addr16
++#define s6_addr32	__u6_addr.__u6_addr32
++#endif
++
+ static struct field stats[STATS_LEN];
+ 
+ int hlua_checkboolean(lua_State *L, int index)


More information about the svn-ports-all mailing list