summaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2006-10-03 13:29:12 +0000
committerstas <stas@FreeBSD.org>2006-10-03 13:29:12 +0000
commit547389f02b2bbe53c60eaa84887d553433960821 (patch)
tree66a623ec4828e7117ddb804ff0ef639d35acc272 /cad
parent9959934e42f01f51bd1c037f5f2a29a16fa663cb (diff)
downloadFreeBSD-ports-547389f02b2bbe53c60eaa84887d553433960821.zip
FreeBSD-ports-547389f02b2bbe53c60eaa84887d553433960821.tar.gz
- Fix compiling with gcc 4.1
- Change my email Approved by: sem (mentor)
Diffstat (limited to 'cad')
-rw-r--r--cad/gtkwave/Makefile2
-rw-r--r--cad/gtkwave/files/patch-src_navigate.c11
-rw-r--r--cad/gtkwave/files/patch-src_tracepane.c11
3 files changed, 23 insertions, 1 deletions
diff --git a/cad/gtkwave/Makefile b/cad/gtkwave/Makefile
index b56bb25..d6a41f0 100644
--- a/cad/gtkwave/Makefile
+++ b/cad/gtkwave/Makefile
@@ -14,7 +14,7 @@ CATEGORIES= cad
MASTER_SITES= ftp://ftp.cs.man.ac.uk/pub/amulet/gtkwave/2.0/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p/pre/}
-MAINTAINER= ssedov@mbsd.msk.ru
+MAINTAINER= stas@FreeBSD.org
COMMENT= Electronic Waveform Viewer
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
diff --git a/cad/gtkwave/files/patch-src_navigate.c b/cad/gtkwave/files/patch-src_navigate.c
new file mode 100644
index 0000000..5c6b0ad
--- /dev/null
+++ b/cad/gtkwave/files/patch-src_navigate.c
@@ -0,0 +1,11 @@
+--- src/navigate.c.orig Mon Oct 2 19:13:52 2006
++++ src/navigate.c Mon Oct 2 19:13:56 2006
+@@ -41,7 +41,7 @@
+
+ static TimeType step_length = 0;
+
+-static gdouble page_divisor = (gdouble) 1.0;
++gdouble page_divisor = (gdouble) 1.0;
+
+ /* wave_calculate_zoom_for_span : calculate the zoom factor to show the span of
+ time from `from' to `to'. */
diff --git a/cad/gtkwave/files/patch-src_tracepane.c b/cad/gtkwave/files/patch-src_tracepane.c
new file mode 100644
index 0000000..24cc74c
--- /dev/null
+++ b/cad/gtkwave/files/patch-src_tracepane.c
@@ -0,0 +1,11 @@
+--- src/tracepane.c.orig Mon Oct 2 19:14:31 2006
++++ src/tracepane.c Mon Oct 2 19:14:36 2006
+@@ -43,7 +43,7 @@
+ static int in_button_press = 0;
+ static gfloat old_wvalue = -1.0;
+ static TimeType prevtim = -1;
+-static GdkPixmap *wavepixmap = NULL;
++GdkPixmap *wavepixmap = NULL;
+
+ static const GdkModifierType bmask[4] = { 0, GDK_BUTTON1_MASK, 0, GDK_BUTTON3_MASK }; /* button 1, 3 press/rel encodings */
+ static const GdkModifierType m_bmask[4] = { 0, GDK_BUTTON1_MOTION_MASK, 0, GDK_BUTTON3_MOTION_MASK }; /* button 1, 3 motion encodings */
OpenPOWER on IntegriCloud