diff options
author | bapt <bapt@FreeBSD.org> | 2012-08-24 19:44:10 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-08-24 19:44:10 +0800 |
commit | 1a47e0ac6669fbaf955e1d322856da96bbd6c180 (patch) | |
tree | 3c532c48becc0dc4d3d81de3b8a0520a1a6904f2 /math | |
parent | a9b8e2858a3551e807d65931986a24c54df3d8e2 (diff) | |
download | freebsd-ports-gnome-1a47e0ac6669fbaf955e1d322856da96bbd6c180.tar.gz freebsd-ports-gnome-1a47e0ac6669fbaf955e1d322856da96bbd6c180.tar.zst freebsd-ports-gnome-1a47e0ac6669fbaf955e1d322856da96bbd6c180.zip |
Fix build with clang
Diffstat (limited to 'math')
-rw-r--r-- | math/emc2/files/patch-libemc2_4.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/math/emc2/files/patch-libemc2_4.c b/math/emc2/files/patch-libemc2_4.c new file mode 100644 index 000000000000..2e574a4cea0e --- /dev/null +++ b/math/emc2/files/patch-libemc2_4.c @@ -0,0 +1,11 @@ +--- ./libemc2_4.c.orig 1999-11-09 15:58:26.000000000 +0100 ++++ ./libemc2_4.c 2012-08-24 13:40:38.364914711 +0200 +@@ -2019,7 +2019,7 @@ + libre = alloc_(); + cdesig_1.adr = libre; + if (cdesig_1.adr == 0) { +- return ; ++ return 0; + } + /* Computing MAX */ + r__1 = dabs(res[1]), r__2 = dabs(res[2]), r__1 = max(r__1,r__2), r__2 |