- Fix compiling with gcc 4.1

- Change my email

Approved by:	sem (mentor)
This commit is contained in:
Stanislav Sedov 2006-10-03 13:29:12 +00:00
parent 1b82172218
commit 3b121feab7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174369
3 changed files with 23 additions and 1 deletions

View file

@ -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

View file

@ -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'. */

View file

@ -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 */