aboutsummaryrefslogtreecommitdiffstats
path: root/lang/smalltalk
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-10-07 02:40:24 +0800
committermiwi <miwi@FreeBSD.org>2006-10-07 02:40:24 +0800
commitcf238d2d44aa58ff1b8a559a72ab56ce7fb10a3a (patch)
tree4af08033d6a07182644fcdc0f9ecb02c0f60b039 /lang/smalltalk
parentfb79efecfae09378ba2722714aa82233304639e6 (diff)
downloadfreebsd-ports-gnome-cf238d2d44aa58ff1b8a559a72ab56ce7fb10a3a.tar.gz
freebsd-ports-gnome-cf238d2d44aa58ff1b8a559a72ab56ce7fb10a3a.tar.zst
freebsd-ports-gnome-cf238d2d44aa58ff1b8a559a72ab56ce7fb10a3a.zip
- Fix build with gcc41
PR: ports/103952 Submitted by: trasz <trasz@pin.if.uz.zgora.pl>
Diffstat (limited to 'lang/smalltalk')
-rw-r--r--lang/smalltalk/files/patch-sincosl.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/smalltalk/files/patch-sincosl.c b/lang/smalltalk/files/patch-sincosl.c
new file mode 100644
index 000000000000..105018ce616e
--- /dev/null
+++ b/lang/smalltalk/files/patch-sincosl.c
@@ -0,0 +1,11 @@
+--- lib-src/sincosl.c.orig Tue Oct 3 17:28:31 2006
++++ lib-src/sincosl.c Tue Oct 3 17:28:33 2006
+@@ -228,7 +228,7 @@
+ Computed using gmp.
+ */
+
+-const long double sincosl_table[] = {
++static const long double sincosl_table[] = {
+
+ /* x = 1.48437500000000000000000000000000000e-01L 3ffc3000000000000000000000000000 */
+ /* cos(x) = 0.fd2f5320e1b790209b4dda2f98f79caaa7b873aff1014b0fbc5243766d03cb006bc837c4358 */