diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2015-09-03 23:14:50 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2015-09-03 23:14:50 +0000 |
commit | f05cb0091b47892c2781a207b93e16a5a68ea9b8 (patch) | |
tree | 14315899c5969edb5c7ea661fc3095d3db03b7a2 /devel/ccache/files | |
parent | 53ac869842140b1eef1a9e43a24ac72a3f42bc8d (diff) |
Notes
Diffstat (limited to 'devel/ccache/files')
-rw-r--r-- | devel/ccache/files/patch-conf.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/devel/ccache/files/patch-conf.c b/devel/ccache/files/patch-conf.c index 5021fce33b76..2d950b7a5fa0 100644 --- a/devel/ccache/files/patch-conf.c +++ b/devel/ccache/files/patch-conf.c @@ -1,20 +1,10 @@ --- conf.c.orig 2015-01-16 16:26:23.872241677 -0600 +++ conf.c 2015-01-16 16:27:00.595237894 -0600 -@@ -15,6 +15,9 @@ - * this program; if not, write to the Free Software Foundation, Inc., 51 - * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -+#if defined(__FreeBSD__) -+#include <sys/param.h> -+#endif - - #include "conf.h" - #include "ccache.h" -@@ -321,7 +324,11 @@ conf_create(void) +@@ -321,7 +321,11 @@ conf_create(void) conf->read_only = false; conf->read_only_direct = false; conf->recache = false; -+#if __FreeBSD_version >= 1000024 || defined(CC_IS_CLANG) ++#if 1 + conf->run_second_cpp = true; +#else conf->run_second_cpp = false; |