pkgsrc/misc/root/patches/patch-bd
drochner b15f1cca5e first attempt to make this DESTDIR ready and to update it to a
newer version (5.26, the current production version).
The pkg builds and the result starts up and can do simple operations,
but there are strange errors if I try scripts which used to work
two years ago (mostly array size check related).
The biggest problem is that the pkg needs a fortran compiler
which supports the LOC() function. f2c doesn't, the cheapest way
I found is to depend on pkgsrc/lang/gcc3-f77. This needs to be done
cleaner.
2010-02-26 10:56:38 +00:00

14 lines
456 B
Text

$NetBSD: patch-bd,v 1.1 2010/02/26 10:56:38 drochner Exp $
--- cint/cint/src/init.cxx.orig 2010-02-25 15:46:10.000000000 +0000
+++ cint/cint/src/init.cxx
@@ -2094,6 +2094,9 @@ void G__platformMacro()
#ifdef __FreeBSD__ /* FreeBSD */
G__DEFINE_MACRO_N(__FreeBSD__, "G__FBSD");
#endif
+#ifdef __NetBSD__
+ G__DEFINE_MACRO_N(__NetBSD__, "G__NBSD");
+#endif
#ifdef __OpenBSD__ /* OpenBSD */
G__DEFINE_MACRO_N(__OpenBSD__, "G__OBSD");
#endif