Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2017 16:43:36 +0000 (UTC)
From:      Mahdi Mokhtari <mmokhi@FreeBSD.org>
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
Message-ID:  <201702131643.v1DGhaHp038873@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <errno.h>
  #include <sys/types.h>
  
- #if (defined(__FreeBSD__) || defined(__CYGWIN__))
+-#if (defined(__FreeBSD__) || defined(__CYGWIN__))
++#if ((defined(__FreeBSD__) && __FreeBSD__ < 11) || defined(__CYGWIN__))
  typedef long long off64_t;
  #endif
  



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