aboutsummaryrefslogtreecommitdiff
path: root/audio/xmms-sexyspc
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2008-04-19 11:35:08 +0000
committerPav Lucistnik <pav@FreeBSD.org>2008-04-19 11:35:08 +0000
commitd74be40fae05d7954d0662e6e26e1bbb9aca82ed (patch)
treed2164629fecec026c771384e7c244ae6e6a93c3b /audio/xmms-sexyspc
parentc5d57e076812891d9136e28d512f98fd88165f3e (diff)
downloadports-d74be40fae05d7954d0662e6e26e1bbb9aca82ed.tar.gz
ports-d74be40fae05d7954d0662e6e26e1bbb9aca82ed.zip
Notes
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