svn commit: r434001 - in head/sysutils/lttng-tools: . files
Mahdi Mokhtari
mmokhi at FreeBSD.org
Mon Feb 13 16:43:37 UTC 2017
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
More information about the svn-ports-all
mailing list