pkgsrc-wip/tendra/patches/patch-af
Thomas Klausner 12732c7ca0 Initial import of (incomplete) tendra package, provided by
Alistair Crooks (agc@netbsd) -- help welcome.

tendra is a multi-targetted BSD-licensed C and C++ compiler.

Alistair says:
At the moment, it can't handle the RENAME()s in NetBSD's header files,
and I build things in a ${WRKSRC}/build directory, and these files need
to be moved to ${PREFIX} in the install stage. The files should also be
checked to see if there are any embedded hardcoded paths, which would
make this approach infeasible.
2003-04-29 09:22:27 +00:00

57 lines
2 KiB
Text

$NetBSD: patch-af,v 1.1.1.1 2003/04/29 09:22:28 thomasklausner Exp $
--- /dev/null 2003-04-28 11:19:52.000000000 +0100
+++ src/installers/80x86/netbsd/diag_config.h 1998-03-16 10:38:37.000000000 +0000
@@ -0,0 +1,52 @@
+/*
+ Crown Copyright (c) 1997
+
+ This TenDRA(r) Computer Program is subject to Copyright
+ owned by the United Kingdom Secretary of State for Defence
+ acting through the Defence Evaluation and Research Agency
+ (DERA). It is made available to Recipients with a
+ royalty-free licence for its use, reproduction, transfer
+ to other parties and amendment for any purpose not excluding
+ product development provided that any such use et cetera
+ shall be deemed to be acceptance of the following conditions:-
+
+ (1) Its Recipients shall ensure that this Notice is
+ reproduced upon any copies or amended versions of it;
+
+ (2) Any amended version of it shall be clearly marked to
+ show both the nature of and the organisation responsible
+ for the relevant amendment or amendments;
+
+ (3) Its onward transfer from a recipient to another
+ party shall be deemed to be that party's acceptance of
+ these conditions;
+
+ (4) DERA gives no warranty or assurance as to its
+ quality or suitability for any purpose and DERA accepts
+ no liability whatsoever in relation to any use to which
+ it may be put.
+*/
+
+
+/* freebsd/diag_config.h */
+
+#ifndef diag_config_key
+#define diag_config_key
+
+
+typedef long OUTPUT_REC ;
+typedef diag_descriptor diag_global ;
+
+#define INSPECT_FILENAME( x ) stab_collect_files ( x )
+#define NEW_DIAG_GLOBAL( x ) ( x )
+#define OUTPUT_DIAG_TAGS() stab_tagdefs ()
+#define OUTPUT_GLOBALS_TAB() stab_typedefs ()
+
+#define STABS
+
+extern void stab_collect_files PROTO_S ((filename f));
+extern void stab_tagdefs PROTO_S((void));
+extern void stab_typedefs PROTO_S((void));
+extern void init_stab_aux PROTO_S((void));
+
+#endif