diff options
| author | Koop Mast <kwm@FreeBSD.org> | 2016-11-15 06:51:38 +0000 |
|---|---|---|
| committer | Koop Mast <kwm@FreeBSD.org> | 2016-11-15 06:51:38 +0000 |
| commit | 5d4fdadc6f8426c4934825ba5a730140b02a1ab8 (patch) | |
| tree | 45e096fe18d14ac327f85dd2f137f30f13e99a86 /devel/meson/files/patch-mesonbuild_compilers-4.py | |
| parent | security/p5-Dancer2-Plugin-Auth-Extensible: update 0.620 -> 0.622 (diff) | |
Update meson to 0.36.0.
Notes
Notes:
svn path=/head/; revision=426146
Diffstat (limited to 'devel/meson/files/patch-mesonbuild_compilers-4.py')
| -rw-r--r-- | devel/meson/files/patch-mesonbuild_compilers-4.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/devel/meson/files/patch-mesonbuild_compilers-4.py b/devel/meson/files/patch-mesonbuild_compilers-4.py deleted file mode 100644 index 5359d6301dd9..000000000000 --- a/devel/meson/files/patch-mesonbuild_compilers-4.py +++ /dev/null @@ -1,20 +0,0 @@ -From f144e50f5ca65ba67c23ff262a79c35a2c444006 Mon Sep 17 00:00:00 2001 -From: Nirbheek Chauhan <nirbheek@centricular.com> -Date: Tue, 8 Nov 2016 16:22:40 +0530 -Subject: [PATCH] has_function: Cast to void* instead of int - -Clang++ doesn't allow that, but void* will always be allowed because -lots of projects depend on that. - -error: cast from pointer to smaller type 'int' loses information ---- mesonbuild/compilers.py.orig 2016-11-09 17:42:03 UTC -+++ mesonbuild/compilers.py -@@ -935,7 +935,7 @@ int main(int argc, char **argv) { - head = '#include <limits.h>\n{0}\n' - # We don't know what the function takes or returns, so try to use it as - # a function pointer -- main = '\nint main() {{ int a = (int) &{1}; }}' -+ main = '\nint main() {{ void *a = (void*) &{1}; }}' - return head, main - - def has_function(self, funcname, prefix, env, extra_args=None, dependencies=None): |
