aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xmms-sexyspc
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xmms-sexyspc')
-rw-r--r--audio/xmms-sexyspc/Makefile3
-rw-r--r--audio/xmms-sexyspc/files/patch-src_SNESAPU_SPC700.Asm20
-rw-r--r--audio/xmms-sexyspc/files/patch-src_SNESAPU_SPC700.Inc11
3 files changed, 34 insertions, 0 deletions
diff --git a/audio/xmms-sexyspc/Makefile b/audio/xmms-sexyspc/Makefile
index 9b8bc99db36d..94e5753451a6 100644
--- a/audio/xmms-sexyspc/Makefile
+++ b/audio/xmms-sexyspc/Makefile
@@ -28,4 +28,7 @@ USE_LDCONFIG= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
+USE_DOS2UNIX= yes
+DOS2UNIX_REGEX= .*\.Inc
+
.include <bsd.port.mk>
diff --git a/audio/xmms-sexyspc/files/patch-src_SNESAPU_SPC700.Asm b/audio/xmms-sexyspc/files/patch-src_SNESAPU_SPC700.Asm
new file mode 100644
index 000000000000..f0b40a649022
--- /dev/null
+++ b/audio/xmms-sexyspc/files/patch-src_SNESAPU_SPC700.Asm
@@ -0,0 +1,20 @@
+--- src/SNESAPU/SPC700.Asm.orig 2008-04-17 15:36:56.859375762 -0400
++++ src/SNESAPU/SPC700.Asm 2008-04-17 15:36:56.835370755 -0400
+@@ -424,7 +424,7 @@
+ Mov [EBX+rX],AL
+
+ Mov AL,[regSP]
+- Mov [EBX+rSP],AL
++ Mov [EBX+rSP_nr],AL
+
+ Mov ECX,PSW+1
+ Mov AL,80h
+@@ -518,7 +518,7 @@
+ Mov AL,[EBX+rX]
+ Mov [regX],AL
+
+- Mov AL,[EBX+rSP]
++ Mov AL,[EBX+rSP_nr]
+ Mov [regSP],AL
+
+ Mov AL,[EBX+rPSW]
diff --git a/audio/xmms-sexyspc/files/patch-src_SNESAPU_SPC700.Inc b/audio/xmms-sexyspc/files/patch-src_SNESAPU_SPC700.Inc
new file mode 100644
index 000000000000..499260b5f2ae
--- /dev/null
+++ b/audio/xmms-sexyspc/files/patch-src_SNESAPU_SPC700.Inc
@@ -0,0 +1,11 @@
+--- src/SNESAPU/SPC700.Inc.orig 2008-04-17 15:36:56.859375762 -0400
++++ src/SNESAPU/SPC700.Inc 2008-04-17 15:37:23.564907331 -0400
+@@ -119,7 +119,7 @@
+ rY resb 1
+ rX resb 1
+ rPSW resb 1
+- rSP resw 1
++ rSP_nr resw 1
+
+ tmr8kHz resd 1 ;[1.0] # of cycles left until timer increase
+ tmr64kHz resd 1