diff options
author | tv <tv@pkgsrc.org> | 2004-04-30 16:54:44 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2004-04-30 16:54:44 +0000 |
commit | e46b9e669287030bd3bed7090af3cd08b1ea9780 (patch) | |
tree | 47ff9b015ea05d02102e31c6d7f4e68e97af63ec /lang/jikes | |
parent | 7619bc36cf4b808dc10294e10d31f971f165f4c4 (diff) | |
download | pkgsrc-e46b9e669287030bd3bed7090af3cd08b1ea9780.tar.gz |
Make compile on machines that lack <iconv.h> -- without that, jikes forgets
to include <cerrno>, which is needed for the declaration of "errno".
Diffstat (limited to 'lang/jikes')
-rw-r--r-- | lang/jikes/distinfo | 3 | ||||
-rw-r--r-- | lang/jikes/patches/patch-aa | 20 |
2 files changed, 22 insertions, 1 deletions
diff --git a/lang/jikes/distinfo b/lang/jikes/distinfo index e65db5136b3..b262de4b91b 100644 --- a/lang/jikes/distinfo +++ b/lang/jikes/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.8 2004/04/27 23:23:03 recht Exp $ +$NetBSD: distinfo,v 1.9 2004/04/30 16:54:44 tv Exp $ SHA1 (jikes-1.20.tar.bz2) = 850f8fd33fec9f66350e9142857c694ac09241d6 Size (jikes-1.20.tar.bz2) = 613159 bytes +SHA1 (patch-aa) = 5b9271b45eaa2126e866bfee8d7e7789518ed27f SHA1 (patch-ab) = f5234321a55354b37c34efe7ba99af468e5b4963 diff --git a/lang/jikes/patches/patch-aa b/lang/jikes/patches/patch-aa new file mode 100644 index 00000000000..a2aa144101e --- /dev/null +++ b/lang/jikes/patches/patch-aa @@ -0,0 +1,20 @@ +$NetBSD: patch-aa,v 1.4 2004/04/30 16:55:05 tv Exp $ + +--- src/platform.h.orig Fri Apr 30 12:25:28 2004 ++++ src/platform.h +@@ -62,6 +62,7 @@ + //FIXME: all stat stuff should be included in the platform.cpp file! + #include <sys/stat.h> + #ifdef STDC_HEADERS ++# include STD_LIB_NAME(errno) + # include STD_LIB_NAME(stdlib) + # include STD_LIB_NAME(stddef) + #else // ! STDC_HEADERS +@@ -91,7 +92,6 @@ + # include <unicode/ucnv.h> + #elif defined(HAVE_ICONV_H) + # include <iconv.h> +-# include STD_LIB_NAME(errno) + #endif + + #ifdef HAVE_UNISTD_H |