From owner-svn-ports-all@freebsd.org Mon Feb 13 16:43:37 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BB882CDD974; Mon, 13 Feb 2017 16:43:37 +0000 (UTC) (envelope-from mmokhi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7D5EE358; Mon, 13 Feb 2017 16:43:37 +0000 (UTC) (envelope-from mmokhi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1DGhaj1038875; Mon, 13 Feb 2017 16:43:36 GMT (envelope-from mmokhi@FreeBSD.org) Received: (from mmokhi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1DGhaHp038873; Mon, 13 Feb 2017 16:43:36 GMT (envelope-from mmokhi@FreeBSD.org) Message-Id: <201702131643.v1DGhaHp038873@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mmokhi set sender to mmokhi@FreeBSD.org using -f From: Mahdi Mokhtari Date: Mon, 13 Feb 2017 16:43:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r434001 - in head/sysutils/lttng-tools: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Feb 2017 16:43:37 -0000 Author: mmokhi Date: Mon Feb 13 16:43:36 2017 New Revision: 434001 URL: https://svnweb.freebsd.org/changeset/ports/434001 Log: Fix building of sysutils/lttng-tools on 11.0+ amd64 Submitted by: mmokhi Reported by: jbeich Reviewed by: mat Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D9551 Modified: head/sysutils/lttng-tools/Makefile head/sysutils/lttng-tools/files/patch-src_common_compat_fcntl.h Modified: head/sysutils/lttng-tools/Makefile ============================================================================== --- head/sysutils/lttng-tools/Makefile Mon Feb 13 16:40:43 2017 (r434000) +++ head/sysutils/lttng-tools/Makefile Mon Feb 13 16:43:36 2017 (r434001) @@ -18,7 +18,7 @@ LIB_DEPENDS= libpopt.so:devel/popt \ liburcu.so:sysutils/liburcu \ liblttng-ust-ctl.so:sysutils/lttng-ust -USES= autoreconf bison libtool localbase pathfix \ +USES= autoreconf bison libtool localbase pathfix pkgconfig \ shebangfix tar:bzip2 USE_LDCONFIG= yes USE_GNOME= libxml2 Modified: head/sysutils/lttng-tools/files/patch-src_common_compat_fcntl.h ============================================================================== --- head/sysutils/lttng-tools/files/patch-src_common_compat_fcntl.h Mon Feb 13 16:40:43 2017 (r434000) +++ head/sysutils/lttng-tools/files/patch-src_common_compat_fcntl.h Mon Feb 13 16:43:36 2017 (r434001) @@ -4,7 +4,8 @@ #include #include - #if (defined(__FreeBSD__) || defined(__CYGWIN__)) +-#if (defined(__FreeBSD__) || defined(__CYGWIN__)) ++#if ((defined(__FreeBSD__) && __FreeBSD__ < 11) || defined(__CYGWIN__)) typedef long long off64_t; #endif