summaryrefslogtreecommitdiff
path: root/graphics/xplot/patches
diff options
context:
space:
mode:
authordan <dan@pkgsrc.org>2003-09-27 02:27:47 +0000
committerdan <dan@pkgsrc.org>2003-09-27 02:27:47 +0000
commit932aed3bbeee84998600a450075ae69c2502df53 (patch)
treefffb85d72f274e02b105484fb3a22c30cf5cde14 /graphics/xplot/patches
parente683f27ec13c58a60cab8231a0d4205c0ffa03f3 (diff)
downloadpkgsrc-932aed3bbeee84998600a450075ae69c2502df53.tar.gz
update to 0.90.7.1 which includes patches from the author to deal with
gcc-3.3 properly XXX this interim version does not include the demo files, they should be re-instated when 0.91 comes out.
Diffstat (limited to 'graphics/xplot/patches')
-rw-r--r--graphics/xplot/patches/patch-aa28
-rw-r--r--graphics/xplot/patches/patch-ab10
-rw-r--r--graphics/xplot/patches/patch-ae68
3 files changed, 0 insertions, 106 deletions
diff --git a/graphics/xplot/patches/patch-aa b/graphics/xplot/patches/patch-aa
deleted file mode 100644
index c7b4ce5a93a..00000000000
--- a/graphics/xplot/patches/patch-aa
+++ /dev/null
@@ -1,28 +0,0 @@
-$NetBSD: patch-aa,v 1.5 1999/09/15 16:13:24 drochner Exp $
---- Makefile.in.orig Mon Aug 18 21:12:14 1997
-+++ Makefile.in Wed Sep 15 18:00:31 1999
-@@ -38,6 +38,7 @@
-
- CC= @CC@
- CFLAGS=@CFLAGS@ ${DEFINES}
-+LDFLAGS=@LDFLAGS@
- LIBS= @LIBS@
-
- INSTALL = @INSTALL@
-@@ -58,7 +59,7 @@
- all: ${PROG}
-
- ${PROG}: ${OFILES}
-- ${CC} ${CFLAGS} -o $@.new ${OFILES} ${LIBS}
-+ ${CC} ${LDFLAGS} -o $@.new ${OFILES} ${LIBS}
- -mv -f $@ $@.old
- mv -f $@.new $@
-
-@@ -67,6 +68,7 @@
-
- install: all
- $(INSTALL_PROGRAM) xplot $(bindir)/xplot
-+ $(BSD_INSTALL_SCRIPT) tcpdump2xplot.pl $(bindir)/tcpdump2xplot.pl
-
- clean:
- rm -f ${PROG} ${PROG}.old *.o version_string.c
diff --git a/graphics/xplot/patches/patch-ab b/graphics/xplot/patches/patch-ab
deleted file mode 100644
index 49917429d17..00000000000
--- a/graphics/xplot/patches/patch-ab
+++ /dev/null
@@ -1,10 +0,0 @@
-$NetBSD: patch-ab,v 1.4 1999/01/29 20:19:22 tron Exp $
-
---- tcpdump2xplot.pl.orig Sun Dec 14 00:45:49 1997
-+++ tcpdump2xplot.pl Sun Dec 14 00:45:56 1997
-@@ -1,4 +1,4 @@
--#!/usr/local/bin/perl
-+#!/usr/bin/env perl
- # -*- Perl -*-
- #
- # Copyright 1996 Massachusetts Institute of Technology
diff --git a/graphics/xplot/patches/patch-ae b/graphics/xplot/patches/patch-ae
deleted file mode 100644
index 683c3498bb0..00000000000
--- a/graphics/xplot/patches/patch-ae
+++ /dev/null
@@ -1,68 +0,0 @@
-$NetBSD: patch-ae,v 1.1 2001/08/01 20:56:30 he Exp $
-
---- xplot.c.orig Wed Jul 2 22:26:09 1997
-+++ xplot.c
-@@ -842,38 +842,39 @@
- /* Allocate some color cells */
-
- if (d_i[d].virgin ) {
-+ int default_depth;
-+ int default_screen;
-+ int default_cmap;
-+ XVisualInfo visual_info;
-+
- d_i[d].virgin = 0;
-
- d_i[d].xplot_nagle_atom = XInternAtom(pl->dpy, "XPLOT_NAGLE", False);
-
-- d_i[d].clr_map = DefaultColormap(pl->dpy, DefaultScreen(pl->dpy));
-+ default_screen = ScreenNumberOfScreen(pl->screen);
-+ default_depth = DefaultDepth(pl->dpy, default_screen);
-+ default_cmap = DefaultColormap(pl->dpy, default_screen);
-
-- if ( option_mono ||
-+ i = DirectColor;
-+ while (!XMatchVisualInfo(pl->dpy, default_screen, default_depth,
-+ i--, &visual_info))
-+ ;
-
-- ! XAllocColorCells(pl->dpy,
-- d_i[d].clr_map, 0,
-- &d_i[d].line_plane_mask, 1,
-- d_i[d].pixel, NColors) )
-- {
-- /* probably only one bit plane, or all the color cells are taken */
--#if 1
-- if (! option_mono)
-- fputs("XAllocColorCells failed, will only have one plot color\n",
-- stderr);
--#endif
-- for ( i = 0; i < NColors; i++) {
-- d_i[d].Colors[i] = WhitePixelOfScreen(pl->screen);
-- }
-- } else {
-- for (i = 0; i < NColors; i++) {
-- XParseColor(pl->dpy, d_i[d].clr_map, ColorNames[i], &d_i[d].clr);
-- d_i[d].clr.pixel = d_i[d].pixel[i];
-- XStoreColor (pl->dpy, d_i[d].clr_map, &d_i[d].clr);
-- d_i[d].clr.pixel |= d_i[d].line_plane_mask;
-- XStoreColor (pl->dpy, d_i[d].clr_map, &d_i[d].clr);
-- d_i[d].Colors[i] = d_i[d].clr.pixel;
-+ if (i < StaticColor || option_mono) {
-+ mono:
-+ for ( i = 0; i < NColors; i++) {
-+ d_i[d].Colors[i] = WhitePixelOfScreen(pl->screen);
-+ }
-+ } else {
-+ for (i = 0; i < NColors; i++) {
-+ XParseColor(pl->dpy, default_cmap, ColorNames[i], &d_i[d].clr);
-+ if (!XAllocColor(pl->dpy, default_cmap, &d_i[d].clr)) {
-+ fprintf(stderr, "XAllocColor failed, reverting to monochrome\n");
-+ goto mono;
- }
-+ d_i[d].Colors[i] = d_i[d].clr.pixel;
- }
-+ }
- }
-
- for (i = 0; i < NColors; i++) {