diff options
author | nakai <nakai@FreeBSD.org> | 2001-02-06 00:15:37 +0800 |
---|---|---|
committer | nakai <nakai@FreeBSD.org> | 2001-02-06 00:15:37 +0800 |
commit | dd1b062e10523cc88831d3d4307cf846ba61b2c8 (patch) | |
tree | ef657d0f53af690df00104fc62a9d7b5f1bd2d6e /emulators/snes9x | |
parent | 7343cc57dfadae4fe8b9d74e190b5dfb8d6a9df7 (diff) | |
download | freebsd-ports-graphics-dd1b062e10523cc88831d3d4307cf846ba61b2c8.tar.gz freebsd-ports-graphics-dd1b062e10523cc88831d3d4307cf846ba61b2c8.tar.zst freebsd-ports-graphics-dd1b062e10523cc88831d3d4307cf846ba61b2c8.zip |
More fix for 4.x-RELEASE
PR: ports/24752
Submitted by: HIYAMA Takeshi <th@cis.ibaraki.ac.jp>
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 31cecdb0691..139072727a8 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 ccb46d5205a..aeb22b2473f 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 *) { |