aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/lttng-tools
diff options
context:
space:
mode:
authormmokhi <mmokhi@FreeBSD.org>2017-02-14 00:43:36 +0800
committermmokhi <mmokhi@FreeBSD.org>2017-02-14 00:43:36 +0800
commit2bc44dfb95c5c5b50d98aa0eaa64c228027af188 (patch)
treef17a3e672c23913e2386224558ff3fe607d7d9bb /sysutils/lttng-tools
parentaee650f4f448d849c775356ee0b1d3f82ddc3863 (diff)
downloadfreebsd-ports-gnome-2bc44dfb95c5c5b50d98aa0eaa64c228027af188.tar.gz
freebsd-ports-gnome-2bc44dfb95c5c5b50d98aa0eaa64c228027af188.tar.zst
freebsd-ports-gnome-2bc44dfb95c5c5b50d98aa0eaa64c228027af188.zip
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
Diffstat (limited to 'sysutils/lttng-tools')
-rw-r--r--sysutils/lttng-tools/Makefile2
-rw-r--r--sysutils/lttng-tools/files/patch-src_common_compat_fcntl.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/lttng-tools/Makefile b/sysutils/lttng-tools/Makefile
index 868bab2c3e21..811654fcb3cc 100644
--- a/sysutils/lttng-tools/Makefile
+++ b/sysutils/lttng-tools/Makefile
@@ -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
diff --git a/sysutils/lttng-tools/files/patch-src_common_compat_fcntl.h b/sysutils/lttng-tools/files/patch-src_common_compat_fcntl.h
index 4413e406a41a..4f886bcf1cad 100644
--- a/sysutils/lttng-tools/files/patch-src_common_compat_fcntl.h
+++ b/sysutils/lttng-tools/files/patch-src_common_compat_fcntl.h
@@ -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