summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emulators/snes9x/Makefile2
-rw-r--r--emulators/snes9x/files/patch-af11
2 files changed, 6 insertions, 7 deletions
diff --git a/emulators/snes9x/Makefile b/emulators/snes9x/Makefile
index 31cecdb..1390727 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 ccb46d5..aeb22b2 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 *)
{
OpenPOWER on IntegriCloud