summaryrefslogtreecommitdiffstats
path: root/audio/xmms-midi/files
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2002-10-28 00:21:40 +0000
committernaddy <naddy@FreeBSD.org>2002-10-28 00:21:40 +0000
commitd4c0e0a1de80c9537056dc39ce23f8c626c94637 (patch)
treefa3fff3bd1dbd079a004b4bc71c8d1689b3b99b0 /audio/xmms-midi/files
parent9cce0ee1801fa51a4f72b77886ee82b7a497fb83 (diff)
downloadFreeBSD-ports-d4c0e0a1de80c9537056dc39ce23f8c626c94637.zip
FreeBSD-ports-d4c0e0a1de80c9537056dc39ce23f8c626c94637.tar.gz
Import xmms-midi 0.03.
xmms-midi is a XMMS Input plugin to play midi files. PR: 44059 Submitted by: Hendrik Scholz <hendrik@scholz.net>
Diffstat (limited to 'audio/xmms-midi/files')
-rw-r--r--audio/xmms-midi/files/patch-Makefile.am17
-rw-r--r--audio/xmms-midi/files/patch-config.h13
-rw-r--r--audio/xmms-midi/files/patch-mix.c14
-rw-r--r--audio/xmms-midi/files/patch-resample.c14
-rw-r--r--audio/xmms-midi/files/patch-xmms__a.c14
5 files changed, 72 insertions, 0 deletions
diff --git a/audio/xmms-midi/files/patch-Makefile.am b/audio/xmms-midi/files/patch-Makefile.am
new file mode 100644
index 0000000..899d88a
--- /dev/null
+++ b/audio/xmms-midi/files/patch-Makefile.am
@@ -0,0 +1,17 @@
+
+$FreeBSD$
+
+--- Makefile.am.orig Sat Oct 26 23:59:48 2002
++++ Makefile.am Sun Oct 27 00:02:18 2002
+@@ -1,9 +1,9 @@
+-xmmsinputdir = $(prefix)/xmms/Input
++xmmsinputdir = $(prefix)/lib/xmms/Input
+
+ xmmsinput_LTLIBRARIES = libmid.la
+
+ CFLAGS = @CFLAGS@ -DTIMID_VERSION=\"0.2i\"
+
+ libmid_la_SOURCES = common.c controls.c dumb_c.c filter.c instrum.c mid.c mix.c output.c playmidi.c readmidi.c resample.c tables.c timidity.c xmms_a.c
+-
++libmid_la_LDFLAGS = -module -export-dynamic -avoid-version
+
diff --git a/audio/xmms-midi/files/patch-config.h b/audio/xmms-midi/files/patch-config.h
new file mode 100644
index 0000000..6f83b99
--- /dev/null
+++ b/audio/xmms-midi/files/patch-config.h
@@ -0,0 +1,13 @@
+
+$FreeBSD$
+
+--- config.h.orig Mon Jan 24 01:18:02 2000
++++ config.h Sat Oct 26 23:24:50 2002
+@@ -359,3 +359,7 @@
+ #include <errno.h>
+ #define PI 3.14159265358979323846
+ #endif
++
++#ifdef __FreeBSD__
++#define PI 3.14159265358979323846
++#endif
diff --git a/audio/xmms-midi/files/patch-mix.c b/audio/xmms-midi/files/patch-mix.c
new file mode 100644
index 0000000..dd111d9
--- /dev/null
+++ b/audio/xmms-midi/files/patch-mix.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- mix.c.orig Mon Jan 24 01:18:02 2000
++++ mix.c Sat Oct 26 23:24:50 2002
+@@ -23,7 +23,7 @@
+
+ #include <math.h>
+ #include <stdio.h>
+-#include <malloc.h>
++#include <stdlib.h>
+
+ #include "config.h"
+ #include "common.h"
diff --git a/audio/xmms-midi/files/patch-resample.c b/audio/xmms-midi/files/patch-resample.c
new file mode 100644
index 0000000..dca94b9
--- /dev/null
+++ b/audio/xmms-midi/files/patch-resample.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- resample.c.orig Sat Oct 26 23:32:35 2002
++++ resample.c Sat Oct 26 23:32:51 2002
+@@ -22,7 +22,7 @@
+
+ #include <math.h>
+ #include <stdio.h>
+-#include <malloc.h>
++#include <stdlib.h>
+
+ #include "config.h"
+ #include "common.h"
diff --git a/audio/xmms-midi/files/patch-xmms__a.c b/audio/xmms-midi/files/patch-xmms__a.c
new file mode 100644
index 0000000..717755f
--- /dev/null
+++ b/audio/xmms-midi/files/patch-xmms__a.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- xmms_a.c.orig Sat Oct 26 23:38:05 2002
++++ xmms_a.c Sat Oct 26 23:38:08 2002
+@@ -37,7 +37,7 @@
+ #include <stdio.h>
+
+ #ifdef __FreeBSD__
+-#include <machine/soundcard.h>
++#include <sys/soundcard.h>
+ #endif
+
+ #include "mid.h"
OpenPOWER on IntegriCloud