mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Fix build with clang
This commit is contained in:
parent
a769dcb63e
commit
3d942bb301
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303077
11
math/emc2/files/patch-libemc2_4.c
Normal file
11
math/emc2/files/patch-libemc2_4.c
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user