summaryrefslogtreecommitdiff
path: root/multimedia/vic/files/patch-av
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-11-29 03:41:33 +0000
committerSteve Price <steve@FreeBSD.org>1999-11-29 03:41:33 +0000
commit59e4b7969b5077ac3a8a9f8eed7dc8dbe52e127d (patch)
tree3c800c34ec624a89ef5d66304b64d747897866c1 /multimedia/vic/files/patch-av
parentAdd the elided text patch from the TkMan distribution. (diff)
Update to Tcl/Tk version 8.2 and get this to build with gcc 2.95.
Submitted by: Ade Lovett <ade@lovett.com>
Diffstat (limited to '')
-rw-r--r--multimedia/vic/files/patch-av20
1 files changed, 20 insertions, 0 deletions
diff --git a/multimedia/vic/files/patch-av b/multimedia/vic/files/patch-av
new file mode 100644
index 000000000000..d8530eb58794
--- /dev/null
+++ b/multimedia/vic/files/patch-av
@@ -0,0 +1,20 @@
+--- color-mono.cc.orig Sun Nov 28 19:22:19 1999
++++ color-mono.cc Sun Nov 28 19:22:51 1999
+@@ -200,7 +200,7 @@
+ ~MonoColorModel();
+ virtual int alloc_grays();
+ virtual int command(int argc, const char*const* argv);
+- inline white(void) { return (white_); }
++ inline int white(void) { return (white_); }
+ private:
+ int white_;
+ };
+@@ -250,7 +250,7 @@
+ protected:
+ MonoColorModel& cm_;
+ virtual void update();
+- virtual void disable() { method_ = WindowDitherer::dither_null; }
++ virtual void disable() { method_ = &WindowDitherer::dither_null; }
+ MonoMethod method_;
+ void dither(const u_char* frm, u_int off, u_int x,
+ u_int width, u_int height) const;