aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2003-08-11 08:39:34 +0800
committergreen <green@FreeBSD.org>2003-08-11 08:39:34 +0800
commita85ca30b183cfc5855c6771c2f179d5d1d0673b2 (patch)
tree317d6b402c648d7d53511ddc4f9434efa534363b
parent440bc32a77dc33b33c7bd3b8b4aa03e84b47a7f7 (diff)
downloadfreebsd-ports-gnome-a85ca30b183cfc5855c6771c2f179d5d1d0673b2.tar.gz
freebsd-ports-gnome-a85ca30b183cfc5855c6771c2f179d5d1d0673b2.tar.zst
freebsd-ports-gnome-a85ca30b183cfc5855c6771c2f179d5d1d0673b2.zip
Unbreak the compilation for 4.x users.
-rw-r--r--emulators/snes9x/files/patch-af2
1 files changed, 1 insertions, 1 deletions
diff --git a/emulators/snes9x/files/patch-af b/emulators/snes9x/files/patch-af
index 5c68e30ab73e..1474e405c474 100644
--- a/emulators/snes9x/files/patch-af
+++ b/emulators/snes9x/files/patch-af
@@ -304,7 +304,7 @@
+ return (-1);
+ }
+ report_id = 0;
-+#if __FreeBSD__ >= 5 && __FreeBSD_version < 500111
++#if __FreeBSD_version < 500111
+ reportlen = hid_report_size(rd, report_id, hid_input);
+#else
+ reportlen = hid_report_size(rd, hid_input, report_id);