summaryrefslogtreecommitdiff
path: root/graphics/denemo/patches
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/denemo/patches')
-rw-r--r--graphics/denemo/patches/patch-Makefile.in25
-rw-r--r--graphics/denemo/patches/patch-aa22
-rw-r--r--graphics/denemo/patches/patch-ab18
-rw-r--r--graphics/denemo/patches/patch-configure13
-rw-r--r--graphics/denemo/patches/patch-midic17
5 files changed, 25 insertions, 70 deletions
diff --git a/graphics/denemo/patches/patch-Makefile.in b/graphics/denemo/patches/patch-Makefile.in
new file mode 100644
index 00000000000..7b50a83cdb7
--- /dev/null
+++ b/graphics/denemo/patches/patch-Makefile.in
@@ -0,0 +1,25 @@
+$NetBSD: patch-Makefile.in,v 1.1 2011/10/06 11:57:24 ryoon Exp $
+
+* Support PKG_SYSCONFDIR
+
+--- Makefile.in.orig 2011-04-27 18:00:54.000000000 +0000
++++ Makefile.in
+@@ -388,15 +388,15 @@ distclean-libtool:
+ -rm -f libtool config.lt
+ install-dist_sysconfDATA: $(dist_sysconf_DATA)
+ @$(NORMAL_INSTALL)
+- test -z "$(sysconfdir)" || $(MKDIR_P) "$(DESTDIR)$(sysconfdir)"
++ test -z "${PREFIX}/share/examples/denemo" || $(MKDIR_P) "$(DESTDIR)${PREFIX}/share/examples/denemo"
+ @list='$(dist_sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(sysconfdir)'"; \
+- $(INSTALL_DATA) $$files "$(DESTDIR)$(sysconfdir)" || exit $$?; \
++ echo " $(INSTALL_DATA) $$files '$(DESTDIR)${PREFIX}/share/examples/denemo'"; \
++ $(INSTALL_DATA) $$files "$(DESTDIR)${PREFIX}/share/examples/denemo" || exit $$?; \
+ done
+
+ uninstall-dist_sysconfDATA:
diff --git a/graphics/denemo/patches/patch-aa b/graphics/denemo/patches/patch-aa
deleted file mode 100644
index 7e4c7ac6e61..00000000000
--- a/graphics/denemo/patches/patch-aa
+++ /dev/null
@@ -1,22 +0,0 @@
-$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)));
-
- }
-
diff --git a/graphics/denemo/patches/patch-ab b/graphics/denemo/patches/patch-ab
deleted file mode 100644
index 8a2ca3a1983..00000000000
--- a/graphics/denemo/patches/patch-ab
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: patch-ab,v 1.3 2007/08/08 18:48:32 joerg Exp $
-
---- src/file.c.orig 2007-08-08 18:23:41.000000000 +0000
-+++ src/file.c
-@@ -31,12 +31,12 @@
- #include "binreloc.h"
- #include "view.h"
-
-+#include <stdlib.h>
- #include <stdio.h>
- #include <string.h>
- #include <sys/stat.h> /* check existance and type of files */
- #include <dirent.h> /* filter and sort filenames */
- #include <fnmatch.h> /* find filenames matches */
--#include <malloc.h> /* I use free() */
-
-
- typedef enum
diff --git a/graphics/denemo/patches/patch-configure b/graphics/denemo/patches/patch-configure
deleted file mode 100644
index 1aae01eab5d..00000000000
--- a/graphics/denemo/patches/patch-configure
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-configure,v 1.1 2007/01/07 08:28:05 rillig Exp $
-
---- configure.orig 2006-11-11 13:15:02.000000000 +0100
-+++ configure 2007-01-07 09:16:21.000000000 +0100
-@@ -24778,7 +24778,7 @@ done
-
-
-
--if test "${prefix}" == "NONE"; then
-+if test "${prefix}" = "NONE"; then
- prefix=${ac_default_prefix}
-
- fi
diff --git a/graphics/denemo/patches/patch-midic b/graphics/denemo/patches/patch-midic
deleted file mode 100644
index 6203f839988..00000000000
--- a/graphics/denemo/patches/patch-midic
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-midic,v 1.1 2007/01/07 08:28:05 rillig Exp $
-
---- src/midi.c.orig 2006-08-06 20:11:09.000000000 +0200
-+++ src/midi.c 2007-01-07 09:20:08.000000000 +0100
-@@ -14,6 +14,12 @@
- #include <sys/soundcard.h>
- #endif
-
-+#if !defined(SEQ_DEFINEBUF)
-+/* Some systems (for example NetBSD 3.0) do not have sequencer support
-+ * (SEQ_DEFINEBUF(), struct synth_card). */
-+# undef HAVE_SYS_SOUNDCARD_H
-+#endif
-+
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <fcntl.h>