aboutsummaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2008-05-20 19:08:53 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2008-05-20 19:08:53 +0000
commit21eff32876e438f9766081073d2f249d9237bdcf (patch)
treead73c94ccdc845f958f174f51fe73b7a8c8c29df /emulators
parent168ce6617b795931cf862fe93c3226a4d4a3b9fe (diff)
Notes
Diffstat (limited to 'emulators')
-rw-r--r--emulators/Makefile1
-rw-r--r--emulators/mupen64plus-sound/Makefile20
-rw-r--r--emulators/mupen64plus-sound/files/patch-mupen64_audio_main.c11
3 files changed, 32 insertions, 0 deletions
diff --git a/emulators/Makefile b/emulators/Makefile
index 873c9fed88e8..1d587779cbea 100644
--- a/emulators/Makefile
+++ b/emulators/Makefile
@@ -116,6 +116,7 @@
SUBDIR += mupen64plus-rsp
SUBDIR += mupen64plus-sdlaudio
SUBDIR += mupen64plus-sdlinput
+ SUBDIR += mupen64plus-sound
SUBDIR += nonpareil
SUBDIR += o2em
SUBDIR += ods2reader
diff --git a/emulators/mupen64plus-sound/Makefile b/emulators/mupen64plus-sound/Makefile
new file mode 100644
index 000000000000..20f9dfcd9be4
--- /dev/null
+++ b/emulators/mupen64plus-sound/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: mupen64plus-sound
+# Date created: 2008-05-16
+# Whom: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PKGNAMESUFFIX= -sound
+
+COMMENT= Sound plugin for Mupen64plus
+
+FIXFILES= #
+
+PLUGIN_NAME= mupen64_audio
+
+MASTERDIR= ${.CURDIR}/../mupen64plus-base
+
+OPTIONS= #
+
+.include "${MASTERDIR}/Makefile"
diff --git a/emulators/mupen64plus-sound/files/patch-mupen64_audio_main.c b/emulators/mupen64plus-sound/files/patch-mupen64_audio_main.c
new file mode 100644
index 000000000000..4c83c30b7024
--- /dev/null
+++ b/emulators/mupen64plus-sound/files/patch-mupen64_audio_main.c
@@ -0,0 +1,11 @@
+--- mupen64_audio/main.c 2007-10-08 01:41:12.000000000 -0500
++++ mupen64_audio/main.c 2007-10-08 01:41:23.000000000 -0500
+@@ -6,7 +6,7 @@
+ #include <stdlib.h>
+ #include <fcntl.h>
+ #include <sys/ioctl.h>
+-#include <linux/soundcard.h>
++#include <sys/soundcard.h>
+ #include <unistd.h>
+ #include <pthread.h>
+ #include <sys/time.h>