pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/jikes Make compile on machines that lack <iconv.h...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/548e5c6d5456
branches:  trunk
changeset: 474480:548e5c6d5456
user:      tv <tv%pkgsrc.org@localhost>
date:      Fri Apr 30 16:54:44 2004 +0000

description:
Make compile on machines that lack <iconv.h> -- without that, jikes forgets
to include <cerrno>, which is needed for the declaration of "errno".

diffstat:

 lang/jikes/distinfo         |   3 ++-
 lang/jikes/patches/patch-aa |  20 ++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 942ab1b5cf38 -r 548e5c6d5456 lang/jikes/distinfo
--- a/lang/jikes/distinfo       Fri Apr 30 15:52:00 2004 +0000
+++ b/lang/jikes/distinfo       Fri Apr 30 16:54:44 2004 +0000
@@ -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 -r 942ab1b5cf38 -r 548e5c6d5456 lang/jikes/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/jikes/patches/patch-aa       Fri Apr 30 16:54:44 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index