summaryrefslogtreecommitdiff
path: root/lang/guile/files/patch-srfi_srfi-4.c
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2004-11-20 18:20:06 +0000
committerKoop Mast <kwm@FreeBSD.org>2004-11-20 18:20:06 +0000
commit8c82e458808263bae8c53fbfd9580b121257f988 (patch)
tree247e48c59532cd2cdca1cd525f589957aecc0231 /lang/guile/files/patch-srfi_srfi-4.c
parentUpdate to version 0.8.0. (diff)
Update to 1.6.5. This is mainly a bug fix release.
Changelog : http://www.gnu.org/software/guile/news.html Approved by: pav (mentor)
Notes
Notes: svn path=/head/; revision=122025
Diffstat (limited to 'lang/guile/files/patch-srfi_srfi-4.c')
-rw-r--r--lang/guile/files/patch-srfi_srfi-4.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/guile/files/patch-srfi_srfi-4.c b/lang/guile/files/patch-srfi_srfi-4.c
new file mode 100644
index 000000000000..e4fb17f3e3d4
--- /dev/null
+++ b/lang/guile/files/patch-srfi_srfi-4.c
@@ -0,0 +1,13 @@
+--- srfi/srfi-4.c.orig Sat Nov 20 17:30:56 2004
++++ srfi/srfi-4.c Sat Nov 20 17:31:55 2004
+@@ -50,6 +50,10 @@
+ #include <string.h>
+ #include <stdio.h>
+
++#ifndef SIZE_MAX
++#define SIZE_MAX ((size_t) (-1))
++#endif
++
+ /* For brevity and maintainability, we define our own types for the
+ various integer and floating point types. */
+ typedef unsigned char int_u8;