svn commit: r431776 - head/multimedia/x265/files
Mikhail Teterin
mi at FreeBSD.org
Wed Jan 18 00:31:12 UTC 2017
Author: mi
Date: Wed Jan 18 00:31:10 2017
New Revision: 431776
URL: https://svnweb.freebsd.org/changeset/ports/431776
Log:
Add a patch to avoid providing our own implementation of __rtdsc
when built with clang version 4 or higher (which has its own).
PR: 216162
Added:
head/multimedia/x265/files/patch-rdtsc (contents, props changed)
Added: head/multimedia/x265/files/patch-rdtsc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/x265/files/patch-rdtsc Wed Jan 18 00:31:10 2017 (r431776)
@@ -0,0 +1,9 @@
+--- test/testharness.h 2016-12-23 00:57:39.000000000 -0500
++++ test/testharness.h 2017-01-17 15:46:38.623298000 -0500
+@@ -69,5 +69,5 @@
+ #elif HAVE_RDTSC
+ #include <intrin.h>
+-#elif defined(__GNUC__)
++#elif defined(__GNUC__) && (!defined(__clang__) || __clang_major__ < 4)
+ /* fallback for older GCC/MinGW */
+ static inline uint32_t __rdtsc(void)
More information about the svn-ports-head
mailing list