summaryrefslogtreecommitdiff
path: root/dev-util/dejagnu/files/dejagnu-1.4.4-testglue-protos.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/dejagnu/files/dejagnu-1.4.4-testglue-protos.patch')
-rw-r--r--dev-util/dejagnu/files/dejagnu-1.4.4-testglue-protos.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-util/dejagnu/files/dejagnu-1.4.4-testglue-protos.patch b/dev-util/dejagnu/files/dejagnu-1.4.4-testglue-protos.patch
new file mode 100644
index 000000000000..4ddaffb1c66d
--- /dev/null
+++ b/dev-util/dejagnu/files/dejagnu-1.4.4-testglue-protos.patch
@@ -0,0 +1,21 @@
+fix from upstream:
+
+2004-08-20 Daniel Jacobowitz <dan@debian.org>
+
+ * testglue.c: Prototype abort(3) and exit(3).
+
+diff --git a/testglue.c b/testglue.c
+index 55a7f92..4ede6eb 100644
+--- a/testglue.c
++++ b/testglue.c
+@@ -40,6 +40,10 @@
+ #define ORIG_ABORT __wrap_abort
+ #define ORIG_MAIN __wrap_main
+ #endif
++
++extern void abort (void);
++extern void exit (int);
++
+ #endif
+
+ #ifdef REAL_MAIN