Date: Sun, 24 May 2015 23:47:56 +0000 (UTC) From: "Sergey A. Osokin" <osa@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r387364 - head/benchmarks/wrk/files Message-ID: <201505242347.t4ONlu0I021538@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: osa Date: Sun May 24 23:47:56 2015 New Revision: 387364 URL: https://svnweb.freebsd.org/changeset/ports/387364 Log: Try to fix undefined reference to `__sync_fetch_and_add_8' and `__sync_val_compare_and_swap_8' for FreeBSD[8|9]. Added: head/benchmarks/wrk/files/patch-src-stats.h (contents, props changed) Added: head/benchmarks/wrk/files/patch-src-stats.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/benchmarks/wrk/files/patch-src-stats.h Sun May 24 23:47:56 2015 (r387364) @@ -0,0 +1,14 @@ +--- src/stats.h.orig 2015-05-25 02:43:07.925981000 +0300 ++++ src/stats.h 2015-05-25 02:43:18.075337000 +0300 +@@ -1,6 +1,11 @@ + #ifndef STATS_H + #define STATS_H + ++#if defined(__FreeBSD__) ++#include <sys/types.h> ++#include <machine/atomic.h> ++#endif /* defined(__FreeBSD__) */ ++ + #include <stdbool.h> + #include <stdint.h> +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505242347.t4ONlu0I021538>