summaryrefslogtreecommitdiff
path: root/lang/smalltalk
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-01-24 22:08:25 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-01-24 22:08:25 +0000
commit35ae25efeb2aadb4ed477390ca47a067aa450ea8 (patch)
treecab98fc4050ca84ef7c1e386b576e3c9dca269d7 /lang/smalltalk
parentUpdate to 0.94.2 release. (diff)
- Fix build with gcc 4.1
Notes
Notes: svn path=/head/; revision=183221
Diffstat (limited to 'lang/smalltalk')
-rw-r--r--lang/smalltalk/Makefile1
-rw-r--r--lang/smalltalk/files/patch-snprintfv-snprintfv-format.c20
2 files changed, 21 insertions, 0 deletions
diff --git a/lang/smalltalk/Makefile b/lang/smalltalk/Makefile
index 5128ca422746..f6c9fec859ed 100644
--- a/lang/smalltalk/Makefile
+++ b/lang/smalltalk/Makefile
@@ -7,6 +7,7 @@
PORTNAME= smalltalk
PORTVERSION= 2.3.1
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/lang/smalltalk/files/patch-snprintfv-snprintfv-format.c b/lang/smalltalk/files/patch-snprintfv-snprintfv-format.c
new file mode 100644
index 000000000000..d73974342bd4
--- /dev/null
+++ b/lang/smalltalk/files/patch-snprintfv-snprintfv-format.c
@@ -0,0 +1,20 @@
+--- snprintfv/snprintfv/format.c.orig Thu Jan 18 11:46:33 2007
++++ snprintfv/snprintfv/format.c Thu Jan 18 11:51:54 2007
+@@ -54,7 +54,7 @@
+ # define isinfl(x) isnanl ((x) - (x))
+ # endif
+ # ifndef HAVE_MODFL
+-static snv_long_double modfl (long double x, long double *exp);
++snv_long_double modfl (long double x, long double *exp);
+ # endif
+ # ifndef HAVE_COPYSIGNL
+ static snv_long_double copysignl (long double x, long double y);
+@@ -1097,7 +1097,7 @@
+
+ #if !defined NO_FLOAT_PRINTING && defined HAVE_LONG_DOUBLE
+ # ifndef HAVE_MODFL
+-static long double modfl (long double x, long double *exp)
++long double modfl (long double x, long double *exp)
+ {
+ /* To compute the integer part of a positive integer (in this case
+ abs(X)), sum a big enough integer to the absolute value, so that