aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-08-22 20:20:53 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-08-22 20:20:53 +0000
commit58c8bc0e36fc85c07a327472fdafc37526640c6b (patch)
treefee579eb25e9da6b00b0fd8db85d3c7d9661140b /cad
parent3cc6907734904cb393e42dc0f24d0264a669b448 (diff)
downloadports-58c8bc0e36fc85c07a327472fdafc37526640c6b.tar.gz
ports-58c8bc0e36fc85c07a327472fdafc37526640c6b.zip
Notes
Diffstat (limited to 'cad')
-rw-r--r--cad/dinotrace/Makefile3
-rw-r--r--cad/dinotrace/files/patch-src_dt__draw.c16
2 files changed, 18 insertions, 1 deletions
diff --git a/cad/dinotrace/Makefile b/cad/dinotrace/Makefile
index fe562332601a..b5132c5dea5d 100644
--- a/cad/dinotrace/Makefile
+++ b/cad/dinotrace/Makefile
@@ -12,10 +12,11 @@ MASTER_SITES= http://www.veripool.com/ftp/
DISTNAME= dinotrace-9.1m
MAINTAINER= watchman@ludd.luth.se
-COMMENT= A gaphical signal trace waveform viewer.
+COMMENT= A gaphical signal trace waveform viewer
GNU_CONFIGURE= yes
USE_MOTIF= yes
+USE_PERL5_BUILD= yes
USE_X_PREFIX= yes
INFO= dinotrace
diff --git a/cad/dinotrace/files/patch-src_dt__draw.c b/cad/dinotrace/files/patch-src_dt__draw.c
new file mode 100644
index 000000000000..5ccff1a72aa6
--- /dev/null
+++ b/cad/dinotrace/files/patch-src_dt__draw.c
@@ -0,0 +1,16 @@
+
+$FreeBSD$
+
+--- src/dt_draw.c.orig Sun Aug 22 22:14:43 2004
++++ src/dt_draw.c Sun Aug 22 22:18:04 2004
+@@ -542,7 +542,9 @@
+ case STATE_Z: dr_mask |= DR_Z; break;
+ default: dr_mask |= DR_LOW | DR_HIGH; break;
+ }
+- color_value = MAX(color_value, nptr->siglw.stbits.color);
++ if (color_value > nptr->siglw.stbits.color);
++ color_value = nptr->siglw.stbits.color;
++
+ xright = MAX(xright, TIME_TO_XPOS (CPTR_TIME(nnptr)));
+ nptr = nnptr;
+ }