summaryrefslogtreecommitdiff
path: root/cad/gtkwave/patches
diff options
context:
space:
mode:
authoragc <agc>2006-10-15 13:29:08 +0000
committeragc <agc>2006-10-15 13:29:08 +0000
commita8ab86cec9e73cb986d16086cb6aa4b332196e69 (patch)
treea6e937126550c5d35fbdd5bdbe33dee96c714f6e /cad/gtkwave/patches
parent67982afc93d2e6fd3d2bf60b77c2f6e1687a107b (diff)
downloadpkgsrc-a8ab86cec9e73cb986d16086cb6aa4b332196e69.tar.gz
Patches from Hans Rosenfeld to make gtkwave compilable with gcc4.
Diffstat (limited to 'cad/gtkwave/patches')
-rw-r--r--cad/gtkwave/patches/patch-ah13
-rw-r--r--cad/gtkwave/patches/patch-ai13
-rw-r--r--cad/gtkwave/patches/patch-aj13
3 files changed, 39 insertions, 0 deletions
diff --git a/cad/gtkwave/patches/patch-ah b/cad/gtkwave/patches/patch-ah
new file mode 100644
index 00000000000..d248c34f103
--- /dev/null
+++ b/cad/gtkwave/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1 2006/10/15 13:29:08 agc Exp $
+
+--- src/currenttime.h.orig 2003-11-11 23:53:27.000000000 +0100
++++ src/currenttime.h 2006-10-15 14:42:19.000000000 +0200
+@@ -51,8 +51,6 @@
+
+ extern BlackoutRegion *blackout_regions;
+
+-extern gdouble page_divisor; /* allows fractional page scrolls */
+-
+ extern int font_height_override; /* force fontheight to be larger */
+
+ extern char *fontname_signals, *fontname_waves;
diff --git a/cad/gtkwave/patches/patch-ai b/cad/gtkwave/patches/patch-ai
new file mode 100644
index 00000000000..36e17b210af
--- /dev/null
+++ b/cad/gtkwave/patches/patch-ai
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.1 2006/10/15 13:29:08 agc Exp $
+
+--- src/navigate.c.orig 2004-04-25 21:23:42.000000000 +0200
++++ src/navigate.c 2006-10-15 14:43:01.000000000 +0200
+@@ -41,7 +41,7 @@
+
+ static TimeType step_length = 0;
+
+-static gdouble page_divisor = (gdouble) 1.0;
++static gdouble page_divisor = (gdouble) 1.0; /* allows fractional page scrolls */
+
+ /* wave_calculate_zoom_for_span : calculate the zoom factor to show the span of
+ time from `from' to `to'. */
diff --git a/cad/gtkwave/patches/patch-aj b/cad/gtkwave/patches/patch-aj
new file mode 100644
index 00000000000..b0d2ab30cda
--- /dev/null
+++ b/cad/gtkwave/patches/patch-aj
@@ -0,0 +1,13 @@
+$NetBSD: patch-aj,v 1.1 2006/10/15 13:29:08 agc Exp $
+
+--- src/draw.h.orig 2003-11-09 23:21:33.000000000 +0100
++++ src/draw.h 2006-10-15 14:43:16.000000000 +0200
+@@ -32,8 +32,6 @@
+ #include "event.h"
+ #include "view.h"
+
+-extern GdkPixmap *wavepixmap;
+-
+ /* Destination device for drawing. Used as indices into wave_drawing_functions */
+ typedef enum
+ {