aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/emc2/files/patch-libemc2_4.c11
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