Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Oct 2018 18:17:37 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r481648 - in head/devel/thrift: . files
Message-ID:  <201810091817.w99IHbHA034751@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Tue Oct  9 18:17:37 2018
New Revision: 481648
URL: https://svnweb.freebsd.org/changeset/ports/481648

Log:
  devel/thrift: fix build with GCC-based arches
  
  PR:		231699
  Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
  Approved by:	maintainer timeout (komarov@valerka.net, >2 weeks)

Added:
  head/devel/thrift/files/
  head/devel/thrift/files/patch-lib_lua_src_usocket.c   (contents, props changed)
Modified:
  head/devel/thrift/Makefile   (contents, props changed)

Modified: head/devel/thrift/Makefile
==============================================================================
--- head/devel/thrift/Makefile	Tue Oct  9 18:17:13 2018	(r481647)
+++ head/devel/thrift/Makefile	Tue Oct  9 18:17:37 2018	(r481648)
@@ -12,11 +12,7 @@ COMMENT=	Framework for scalable cross-language service
 
 LICENSE=	APACHE20
 
-BROKEN_mips=		fails to compile: unrecognized command line option "-Wno-c++11-long-long"
-BROKEN_mips64=		fails to compile: unrecognized command line option "-Wno-c++11-long-long"
-BROKEN_powerpc64=	fails to compile: unrecognized command line option "-Wno-c++11-long-long"
-
-USES=		autoreconf libtool pkgconfig
+USES=		autoreconf compiler:c++11-lang libtool pkgconfig
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 MAKE_JOBS_UNSAFE=	yes

Added: head/devel/thrift/files/patch-lib_lua_src_usocket.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/thrift/files/patch-lib_lua_src_usocket.c	Tue Oct  9 18:17:37 2018	(r481648)
@@ -0,0 +1,10 @@
+--- lib/lua/src/usocket.c.orig	2018-09-24 22:09:54 UTC
++++ lib/lua/src/usocket.c
+@@ -25,6 +25,7 @@
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <errno.h>
++#include <netinet/in.h>
+ 
+ #include <stdio.h> // TODO REMOVE
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810091817.w99IHbHA034751>