diff options
author | Yukihiro Nakai <nakai@FreeBSD.org> | 2001-02-05 16:15:37 +0000 |
---|---|---|
committer | Yukihiro Nakai <nakai@FreeBSD.org> | 2001-02-05 16:15:37 +0000 |
commit | da4cb0d670bdc52ca63f25fe4ccaea03628ba8fe (patch) | |
tree | 6879fdb447f59eb3708b9bd09e499b2903fa528b /emulators/snes9x | |
parent | Style fixes for sysutils. (diff) |
More fix for 4.x-RELEASE
PR: ports/24752
Submitted by: HIYAMA Takeshi <th@cis.ibaraki.ac.jp>
Notes
Notes:
svn path=/head/; revision=37993
Diffstat (limited to 'emulators/snes9x')
-rw-r--r-- | emulators/snes9x/Makefile | 2 | ||||
-rw-r--r-- | emulators/snes9x/files/patch-af | 11 |
2 files changed, 6 insertions, 7 deletions
diff --git a/emulators/snes9x/Makefile b/emulators/snes9x/Makefile index 31cecdb0691a..139072727a83 100644 --- a/emulators/snes9x/Makefile +++ b/emulators/snes9x/Makefile @@ -7,7 +7,7 @@ PORTNAME= snes9x PORTVERSION= 1.34a -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= emulators MASTER_SITES= http://www.snes9x.com/zips/ DISTNAME= s9xs134a diff --git a/emulators/snes9x/files/patch-af b/emulators/snes9x/files/patch-af index ccb46d5205a6..aeb22b2473f9 100644 --- a/emulators/snes9x/files/patch-af +++ b/emulators/snes9x/files/patch-af @@ -1,5 +1,5 @@ --- unix/unix.cpp.orig Wed Jan 10 15:40:14 2001 -+++ unix/unix.cpp Wed Jan 24 10:27:30 2001 ++++ unix/unix.cpp Tue Feb 6 01:14:53 2001 @@ -51,9 +51,11 @@ #include <ctype.h> @@ -266,7 +266,7 @@ void InitJoysticks () { #ifdef JSIOCGVERSION -@@ -731,6 +755,185 @@ +@@ -731,6 +755,184 @@ } #endif } @@ -301,7 +301,6 @@ +#if __FreeBSD__ >= 5 + reportlen = hid_report_size(rd, report_id, hid_input); +#else -+ *hid_input_ptr = hid_input; + reportlen = hid_report_size(rd, hid_input, &report_id); +#endif + my_info->buf = (char *)malloc(reportlen); @@ -452,7 +451,7 @@ #endif // defined (JOYSTICK_SUPPORT) const char *GetHomeDirectory () -@@ -1423,7 +1626,7 @@ +@@ -1423,7 +1625,7 @@ } #endif @@ -461,7 +460,7 @@ static int Rates[8] = { 0, 8192, 11025, 16500, 22050, 29300, 36600, 44000 -@@ -1542,7 +1745,7 @@ +@@ -1542,7 +1744,7 @@ } #endif @@ -470,7 +469,7 @@ void S9xUnixProcessSound (void) { } -@@ -1641,7 +1844,7 @@ +@@ -1641,7 +1843,7 @@ void *S9xProcessSound (void *) { |