mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
e322e9ed7c
- Build with gcc 3.2 on >5 because of runtime errors PR: ports/76193 Submitted by: Yoshiaki Uchikawa (maintainer)
21 lines
784 B
Plaintext
21 lines
784 B
Plaintext
diff -urN files_orig/patch-has_exp2.c files/patch-has_exp2.c
|
|
--- files_orig/patch-has_exp2.c Wed Dec 31 18:00:00 1969
|
|
+++ files/patch-has_exp2.c Thu Sep 16 14:30:23 2004
|
|
@@ -0,0 +1,6 @@
|
|
+--- config/has_exp2.c_orig Thu Sep 16 08:46:59 1999
|
|
++++ config/has_exp2.c Thu Sep 16 14:27:18 2004
|
|
+@@ -1,2 +1,2 @@
|
|
+ #include <math.h>
|
|
+-main(){double x=exp2(1.0);}
|
|
++main(){double x=exp2(0.666);}
|
|
diff -urN files_orig/patch-has_log2.c files/patch-has_log2.c
|
|
--- files_orig/patch-has_log2.c Wed Dec 31 18:00:00 1969
|
|
+++ files/patch-has_log2.c Thu Sep 16 14:30:50 2004
|
|
@@ -0,0 +1,6 @@
|
|
+--- config/has_log2.c_orig Wed Jan 8 18:16:55 2003
|
|
++++ config/has_log2.c Thu Sep 16 14:27:07 2004
|
|
+@@ -1,2 +1,2 @@
|
|
+ #include <math.h>
|
|
+-main(){double x=log2(1.0);}
|
|
++main(){double x=log2(0.666);}
|