diff options
author | pav <pav@FreeBSD.org> | 2008-04-19 19:35:08 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2008-04-19 19:35:08 +0800 |
commit | 43dc8b8aec983a76dc6ded2fe05115dace29b041 (patch) | |
tree | 7c6b39fa8d5e4c5b2efa3f0c1f85aecceb440436 /audio/xmms-sexyspc | |
parent | f5b8d2d1b2f78976ea598db98e17e4417c57b138 (diff) | |
download | freebsd-ports-gnome-43dc8b8aec983a76dc6ded2fe05115dace29b041.tar.gz freebsd-ports-gnome-43dc8b8aec983a76dc6ded2fe05115dace29b041.tar.zst freebsd-ports-gnome-43dc8b8aec983a76dc6ded2fe05115dace29b041.zip |
- Fix build with new nasm
Submitted by: bf <bf2006a@yahoo.com>
Diffstat (limited to 'audio/xmms-sexyspc')
-rw-r--r-- | audio/xmms-sexyspc/Makefile | 3 | ||||
-rw-r--r-- | audio/xmms-sexyspc/files/patch-src_SNESAPU_SPC700.Asm | 20 | ||||
-rw-r--r-- | audio/xmms-sexyspc/files/patch-src_SNESAPU_SPC700.Inc | 11 |
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 |