aboutsummaryrefslogtreecommitdiff
path: root/cad/gtkwave/files
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-12 15:14:08 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-12 15:14:08 +0000
commit0f996dab84012922da5bbf258a3db8d9ed387182 (patch)
treea99edd2188cee9d6f9207a10eac04ca7dbc6bc97 /cad/gtkwave/files
parentda41fd42c3e3b2b422ba42b1d1f2d908e18279bc (diff)
downloadports-0f996dab84012922da5bbf258a3db8d9ed387182.tar.gz
ports-0f996dab84012922da5bbf258a3db8d9ed387182.zip
Notes
Diffstat (limited to 'cad/gtkwave/files')
-rw-r--r--cad/gtkwave/files/patch-alloc.h25
-rw-r--r--cad/gtkwave/files/patch-main.c11
-rw-r--r--cad/gtkwave/files/patch-print.c10
-rw-r--r--cad/gtkwave/files/patch-v2l_debug.h17
4 files changed, 63 insertions, 0 deletions
diff --git a/cad/gtkwave/files/patch-alloc.h b/cad/gtkwave/files/patch-alloc.h
new file mode 100644
index 000000000000..7793421c51bc
--- /dev/null
+++ b/cad/gtkwave/files/patch-alloc.h
@@ -0,0 +1,25 @@
+--- src/alloc.h.orig Sun May 12 22:53:00 2002
++++ src/alloc.h Sun May 12 22:53:27 2002
+@@ -39,22 +39,6 @@
+ #define alloca _alloca
+ #endif
+
+-#ifndef __GNUC__
+-# if HAVE_ALLOCA_H
+-# include <alloca.h>
+-# else
+-# ifdef _AIX
+-# pragma alloca
+-# else
+-# ifndef alloca /* predefined by HP cc +Olibcalls */
+-char *alloca ();
+-# endif
+-# endif
+-# endif
+-#else
+-# include <alloca.h>
+-#endif
+-
+ #define wave_alloca alloca
+
+ #endif
diff --git a/cad/gtkwave/files/patch-main.c b/cad/gtkwave/files/patch-main.c
new file mode 100644
index 000000000000..a99c39f959f0
--- /dev/null
+++ b/cad/gtkwave/files/patch-main.c
@@ -0,0 +1,11 @@
+--- src/main.c.orig Sun May 12 22:59:38 2002
++++ src/main.c Sun May 12 22:59:51 2002
+@@ -62,7 +62,7 @@
+ long lastpos;
+ long endpos;
+ long fsize;
+-long val_size;
++off_t val_size;
+ int no_of_reads;
+ struct stat finfo;
+ int is_initial_read = 0;
diff --git a/cad/gtkwave/files/patch-print.c b/cad/gtkwave/files/patch-print.c
new file mode 100644
index 000000000000..9c5fd5e316b8
--- /dev/null
+++ b/cad/gtkwave/files/patch-print.c
@@ -0,0 +1,10 @@
+--- src/print.c.orig Sun May 12 23:01:00 2002
++++ src/print.c Sun May 12 23:01:42 2002
+@@ -36,7 +36,6 @@
+ #include "analyzer.h"
+ #include "utils.h"
+ #include "bsearch.h"
+-#include "alloca.h"
+ #include "debug.h"
+ #include "strace.h"
+ #include "print.h"
diff --git a/cad/gtkwave/files/patch-v2l_debug.h b/cad/gtkwave/files/patch-v2l_debug.h
new file mode 100644
index 000000000000..0844fe975dea
--- /dev/null
+++ b/cad/gtkwave/files/patch-v2l_debug.h
@@ -0,0 +1,17 @@
+--- src/helpers/v2l_debug.h.orig Sat May 11 00:28:43 2002
++++ src/helpers/v2l_debug.h Sat May 11 00:30:02 2002
+@@ -79,14 +79,6 @@
+ * memory leaks because of it. you have been warned.
+ */
+
+-#ifndef __sun__
+-#ifndef alloca
+-#define alloca __alloca
+-#endif
+-#else
+-#include <alloca.h>
+-#endif
+-
+ #define wave_alloca alloca
+
+