From e47a0ea2bdb3bf69ab197c691e13c25b6a5688a8 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 30 Mar 2007 16:22:52 +0000 Subject: Rename local function to not conflict with system function. --- graphics/denemo/distinfo | 3 ++- graphics/denemo/patches/patch-aa | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 graphics/denemo/patches/patch-aa (limited to 'graphics/denemo') diff --git a/graphics/denemo/distinfo b/graphics/denemo/distinfo index 7797c77d4c9..c55111c8331 100644 --- a/graphics/denemo/distinfo +++ b/graphics/denemo/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.4 2007/01/07 08:28:05 rillig Exp $ +$NetBSD: distinfo,v 1.5 2007/03/30 16:22:52 joerg Exp $ SHA1 (denemo-0.7.6.tar.gz) = 6cb41657052964e69235722cf789f32cd4a29b9b RMD160 (denemo-0.7.6.tar.gz) = 2c3805fc9d608a4a9fcdc093f4a712423dd40169 Size (denemo-0.7.6.tar.gz) = 1947693 bytes +SHA1 (patch-aa) = 200ae491fe5db81ff5db043e795f39e0c9be1a63 SHA1 (patch-configure) = e713b0073a24b46838e3e61f06f3a551ac0bf934 SHA1 (patch-midic) = 71d411805173650c9a4ee533334a246995b74bd0 diff --git a/graphics/denemo/patches/patch-aa b/graphics/denemo/patches/patch-aa new file mode 100644 index 00000000000..7e4c7ac6e61 --- /dev/null +++ b/graphics/denemo/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.3 2007/03/30 16:22:52 joerg Exp $ + +--- src/staffpropdialog.c.orig 2007-03-30 15:57:04.000000000 +0000 ++++ src/staffpropdialog.c +@@ -189,7 +189,7 @@ struct callbackdata + * @return denemocontext of the string + */ + static DenemoContext +-setcontext (const gchar * string) ++my_setcontext (const gchar * string) + { + if (!strcmp ("PianoContext", string)) + return DENEMO_PIANO; +@@ -238,7 +238,7 @@ set_properties (struct callbackdata *cbd + if ((n = atoi (gtk_entry_get_text (GTK_ENTRY (cbdata->volume))))) + staffstruct->volume = n; + staffstruct->context = +- setcontext (gtk_entry_get_text (GTK_ENTRY (cbdata->contexts))); ++ my_setcontext (gtk_entry_get_text (GTK_ENTRY (cbdata->contexts))); + + } + -- cgit v1.2.3