pkgsrc/misc/root/patches/patch-ac
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

13 lines
353 B
Text

$NetBSD: patch-ac,v 1.3 2010/02/26 10:56:38 drochner Exp $
--- core/base/inc/RConfig.h.orig 2006-05-26 17:38:48.000000000 +0200
+++ core/base/inc/RConfig.h
@@ -272,7 +272,7 @@
# define NEED_SNPRINTF
#endif
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined (__NetBSD__)
# define R__FBSD
# define R__UNIX
# define R__BYTESWAP