pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/spiralloops Fix SpiralLoops so it will still bui...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8b6338fe7387
branches:  trunk
changeset: 468574:8b6338fe7387
user:      ben <ben%pkgsrc.org@localhost>
date:      Sun Feb 15 06:09:45 2004 +0000

description:
Fix SpiralLoops so it will still build against FLTK 1.0.x.

diffstat:

 audio/spiralloops/Makefile         |   3 ++-
 audio/spiralloops/distinfo         |   4 ++--
 audio/spiralloops/patches/patch-ao |  11 +----------
 3 files changed, 5 insertions(+), 13 deletions(-)

diffs (58 lines):

diff -r c650e207f4f0 -r 8b6338fe7387 audio/spiralloops/Makefile
--- a/audio/spiralloops/Makefile        Sun Feb 15 06:00:57 2004 +0000
+++ b/audio/spiralloops/Makefile        Sun Feb 15 06:09:45 2004 +0000
@@ -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 @@
 GNU_CONFIGURE=         yes
 MAKE_ENV+=             CXXFLAGS="${CXXFLAGS}"
 CXXFLAGS+=             -DDEVOSSAUDIO="\"\\\"$(DEVOSSAUDIO)\\\"\""
+CXXFLAGS+=             -DFLTK_1_0_COMPAT
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/SpiralLoops ${PREFIX}/bin
diff -r c650e207f4f0 -r 8b6338fe7387 audio/spiralloops/distinfo
--- a/audio/spiralloops/distinfo        Sun Feb 15 06:00:57 2004 +0000
+++ b/audio/spiralloops/distinfo        Sun Feb 15 06:09:45 2004 +0000
@@ -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-al) = 2189bef16fa9099497667fdfd7b5e54c4fc4bb48
 SHA1 (patch-am) = 25fdb4422dd007d7ebee50a3fb2e2accc72b275b
 SHA1 (patch-an) = f86cb89933e7c1a57d696283e398a40a579c04f1
-SHA1 (patch-ao) = f7cd4b43793deeda0231288ca3c7455349d4e64e
+SHA1 (patch-ao) = fb30e505afb754536a07f0537109ceaeb343a5e4
 SHA1 (patch-ap) = adde17445fa15afa122dc1addf0c06f6504bef0c
diff -r c650e207f4f0 -r 8b6338fe7387 audio/spiralloops/patches/patch-ao
--- a/audio/spiralloops/patches/patch-ao        Sun Feb 15 06:00:57 2004 +0000
+++ b/audio/spiralloops/patches/patch-ao        Sun Feb 15 06:09:45 2004 +0000
@@ -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 @@
    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;



Home | Main Index | Thread Index | Old Index