freebsd-ports/multimedia/vic/files/patch-av
Steve Price 59e4b7969b Update to Tcl/Tk version 8.2 and get this to build with gcc 2.95.
Submitted by:	Ade Lovett <ade@lovett.com>
1999-11-29 03:41:33 +00:00

21 lines
667 B
Plaintext

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