diff options
author | ben <ben@pkgsrc.org> | 2004-02-15 06:09:45 +0000 |
---|---|---|
committer | ben <ben@pkgsrc.org> | 2004-02-15 06:09:45 +0000 |
commit | 901c7cd526a38596b0e2f73d2e2fefe074cf26ea (patch) | |
tree | 41ff899a204ae2442e195fe4ecf0c0fc618e841b /audio | |
parent | 0aeb7a6bde2aa115be021d6928233acd03ba312a (diff) | |
download | pkgsrc-901c7cd526a38596b0e2f73d2e2fefe074cf26ea.tar.gz |
Fix SpiralLoops so it will still build against FLTK 1.0.x.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/spiralloops/Makefile | 3 | ||||
-rw-r--r-- | audio/spiralloops/distinfo | 4 | ||||
-rw-r--r-- | audio/spiralloops/patches/patch-ao | 11 |
3 files changed, 5 insertions, 13 deletions
diff --git a/audio/spiralloops/Makefile b/audio/spiralloops/Makefile index 91b0ae41510..ea8cae12b24 100644 --- a/audio/spiralloops/Makefile +++ b/audio/spiralloops/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2004/01/22 07:15:00 grant Exp $ +# $NetBSD: Makefile,v 1.11 2004/02/15 06:09:45 ben Exp $ # DISTNAME= SpiralLoops-2.0.0 @@ -21,6 +21,7 @@ USE_GNU_TOOLS+= make GNU_CONFIGURE= yes MAKE_ENV+= CXXFLAGS="${CXXFLAGS}" CXXFLAGS+= -DDEVOSSAUDIO="\"\\\"$(DEVOSSAUDIO)\\\"\"" +CXXFLAGS+= -DFLTK_1_0_COMPAT do-install: ${INSTALL_PROGRAM} ${WRKSRC}/SpiralLoops ${PREFIX}/bin diff --git a/audio/spiralloops/distinfo b/audio/spiralloops/distinfo index 9132baa04e4..4731b34188f 100644 --- a/audio/spiralloops/distinfo +++ b/audio/spiralloops/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2004/02/15 05:13:53 ben Exp $ +$NetBSD: distinfo,v 1.7 2004/02/15 06:09:45 ben Exp $ SHA1 (SpiralLoops-2.0.0.tar.gz) = 47d9caa17f20827abef7708bff212bb3fad58a72 Size (SpiralLoops-2.0.0.tar.gz) = 85458 bytes @@ -16,5 +16,5 @@ SHA1 (patch-ak) = 94e4650bc10a7073718a83b27ab47e217cf15f85 SHA1 (patch-al) = 2189bef16fa9099497667fdfd7b5e54c4fc4bb48 SHA1 (patch-am) = 25fdb4422dd007d7ebee50a3fb2e2accc72b275b SHA1 (patch-an) = f86cb89933e7c1a57d696283e398a40a579c04f1 -SHA1 (patch-ao) = f7cd4b43793deeda0231288ca3c7455349d4e64e +SHA1 (patch-ao) = fb30e505afb754536a07f0537109ceaeb343a5e4 SHA1 (patch-ap) = adde17445fa15afa122dc1addf0c06f6504bef0c diff --git a/audio/spiralloops/patches/patch-ao b/audio/spiralloops/patches/patch-ao index bc83bcc3349..540fe2da57a 100644 --- a/audio/spiralloops/patches/patch-ao +++ b/audio/spiralloops/patches/patch-ao @@ -1,4 +1,4 @@ -$NetBSD: patch-ao,v 1.2 2004/02/15 05:13:53 ben Exp $ +$NetBSD: patch-ao,v 1.3 2004/02/15 06:09:45 ben Exp $ --- GUI/Widgets/Fl_LED_Button.cxx.orig 2001-04-19 13:48:11.000000000 -0700 +++ GUI/Widgets/Fl_LED_Button.cxx @@ -11,15 +11,6 @@ $NetBSD: patch-ao,v 1.2 2004/02/15 05:13:53 ben Exp $ box(FL_NO_BOX); down_box(FL_ROUND_DOWN_BOX); selection_color(FL_RED); -@@ -15,7 +15,7 @@ Fl_LED_Button::~Fl_LED_Button() { - void Fl_LED_Button::draw() { - uchar r,g,b; - -- if (box()) draw_box(this==Fl::pushed() ? down(box()) : box(), color()); -+ if (box()) draw_box(this==Fl::pushed() ? fl_down(box()) : box(), color()); - Fl_Color col = value() ? selection_color() : color(); - Fl::get_color((Fl_Color)selection_color(),r,g,b); - int d = h()/6; @@ -25,7 +25,7 @@ void Fl_LED_Button::draw() { int y1 = y()+d+3; int ww = W-2*d-6; |