summaryrefslogtreecommitdiff
path: root/audio/csound5/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-08-03 13:28:22 +0000
committerjoerg <joerg@pkgsrc.org>2009-08-03 13:28:22 +0000
commit4ea0c8cf79538c27c7021f99bcc063dae4139a6d (patch)
tree090c3dc3e72c66233e06a8d39d3b7312a1ceb1b3 /audio/csound5/patches
parent89f9cb32490d0fb53f6b43c5b93ada0824030cdb (diff)
downloadpkgsrc-4ea0c8cf79538c27c7021f99bcc063dae4139a6d.tar.gz
Fix compilation.
Diffstat (limited to 'audio/csound5/patches')
-rw-r--r--audio/csound5/patches/patch-ai22
1 files changed, 20 insertions, 2 deletions
diff --git a/audio/csound5/patches/patch-ai b/audio/csound5/patches/patch-ai
index fa5fa9ca19e..dfaf7b58bac 100644
--- a/audio/csound5/patches/patch-ai
+++ b/audio/csound5/patches/patch-ai
@@ -1,6 +1,6 @@
-$NetBSD: patch-ai,v 1.2 2006/05/29 19:44:24 joerg Exp $
+$NetBSD: patch-ai,v 1.3 2009/08/03 13:28:22 joerg Exp $
---- InOut/widgets.cpp.orig 2006-02-15 10:25:55.000000000 -0800
+--- InOut/widgets.cpp.orig 2006-02-15 19:25:55.000000000 +0100
+++ InOut/widgets.cpp
@@ -29,7 +29,7 @@
# include <windows.h>
@@ -20,3 +20,21 @@ $NetBSD: patch-ai,v 1.2 2006/05/29 19:44:24 joerg Exp $
{
struct sched_param sp;
// IV - Aug 27 2002: widget thread is always run with normal priority
+@@ -2579,7 +2579,7 @@ extern "C" int fl_setTextType(CSOUND *cs
+ return OK;
+ }
+
+-extern "C" int fl_box(CSOUND *csound, FL_BOX *p)
++extern "C" int my_fl_box(CSOUND *csound, FL_BOX *p)
+ {
+ char *text = GetString(csound, p->itext, p->XSTRCODE);
+ Fl_Box *o = new Fl_Box((int)*p->ix, (int)*p->iy,
+@@ -3612,7 +3612,7 @@ static OENTRY localops[] = {
+ { "FLsetAlign", S(FL_TALIGN), 1, "", "ii",
+ (SUBR) fl_align, (SUBR) NULL, (SUBR) NULL },
+ { "FLbox", S(FL_BOX), 1, "i", "Tiiiiiii",
+- (SUBR) fl_box, (SUBR) NULL, (SUBR) NULL },
++ (SUBR) my_fl_box, (SUBR) NULL, (SUBR) NULL },
+ { "FLvalue", S(FLVALUE), 1, "i", "Tjjjj",
+ (SUBR) fl_value, (SUBR) NULL, (SUBR) NULL },
+ { "FLpanel", S(FLPANEL), 1, "", "Tjjooo",