diff options
author | ben <ben@pkgsrc.org> | 2004-02-15 06:00:57 +0000 |
---|---|---|
committer | ben <ben@pkgsrc.org> | 2004-02-15 06:00:57 +0000 |
commit | 0a921bf078c62f83f55b6526d78b2fb79cf60a4f (patch) | |
tree | e47ee1b645796712cb632d3a5621b1ad0e2db4e8 /audio/spiralsynth/patches | |
parent | f73ddd3d139278d29a4a7139d7ee192c1e188a85 (diff) | |
download | pkgsrc-0a921bf078c62f83f55b6526d78b2fb79cf60a4f.tar.gz |
Make SpiralSynth build with FLTK 1.1.x as well as 1.0.x
Diffstat (limited to 'audio/spiralsynth/patches')
-rw-r--r-- | audio/spiralsynth/patches/patch-ah | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/audio/spiralsynth/patches/patch-ah b/audio/spiralsynth/patches/patch-ah index 079f184b621..e4c74e53f16 100644 --- a/audio/spiralsynth/patches/patch-ah +++ b/audio/spiralsynth/patches/patch-ah @@ -1,4 +1,4 @@ -$NetBSD: patch-ah,v 1.1 2003/12/19 16:48:06 ben Exp $ +$NetBSD: patch-ah,v 1.2 2004/02/15 06:00:57 ben Exp $ --- GUI/Widgets/Fl_Knob.cxx.orig 2000-09-11 12:52:03.000000000 -0700 +++ GUI/Widgets/Fl_Knob.cxx @@ -11,3 +11,12 @@ $NetBSD: patch-ah,v 1.1 2003/12/19 16:48:06 ben Exp $ a1 = 35; a2 = 325; _type = DOTLIN; +@@ -40,7 +40,7 @@ unsigned char rr,gg,bb; + int dam = damage(); + if (dam & FL_DAMAGE_ALL) + { +- int col = parent()->color(); ++ int col = color(); + fl_color(col); + fl_rectf(ox,oy,side,side); + Fl::get_color((Fl_Color)col,rr,gg,bb); |