pkgsrc/lang/opencobol/patches/patch-ab
adam 271d1cb9f8 Changes 1.0:
* New compile option '-x'. This causes the compiler to produce an
  executable program. '-fmain' is deprecated.
* Remove long option --verbose. Use '-v' for verbosity. Problem is
  with getopt_long_only which does not like eg. -mv
* New conformity option -std=bs2000.
* FUNCTION is implemented. See cobc/reserved.c for a list of what is
  implemented.
* Nested programs are partially supported.
* LINAGE is implemented.
* EXTERNAL on FD is implemented.
* SAME RECORD AREA is implemented.
* New config variables -
* Support for non-gcc compilers.
* Large file support, system dynamic loading and Berkeley DB inclusion
  are default for the configure.
* New configure option --with-patch-level=<n>
* At run time, version checking is done. ie. When executing/loading
  Cobol programs, the version (eg. 0.33) and the patch level (eg. 0)
  are checked against the OC library version/patch level.
* Libtool is not required for systems that support native dynamic
  loading. This includes Linux, Cygwin and MingW amongst others.
* Note to developers : See README for required software versions.
2010-06-02 12:38:29 +00:00

23 lines
593 B
Text

$NetBSD: patch-ab,v 1.4 2010/06/02 12:38:29 adam Exp $
--- libcob/fileio.c.orig 2007-12-27 10:57:51.000000000 +0000
+++ libcob/fileio.c
@@ -79,16 +79,8 @@
#include <db3/db_185.h>
#elif HAVE_DB4_DB_185_H
#include <db4/db_185.h>
-#elif HAVE_DB4_1_DB_185_H
-#include <db4.1/db_185.h>
-#elif HAVE_DB4_2_DB_185_H
-#include <db4.2/db_185.h>
-#elif HAVE_DB4_3_DB_185_H
-#include <db4.3/db_185.h>
-#elif HAVE_DB4_4_DB_185_H
-#include <db4.4/db_185.h>
-#elif HAVE_DB4_5_DB_185_H
-#include <db4.5/db_185.h>
+#elif HAVE_DB5_DB_185_H
+#include <db5/db_185.h>
#elif HAVE_DB_H
#include <db.h>
#endif