summaryrefslogtreecommitdiff
path: root/devel/SDL
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2002-10-13 19:31:13 +0000
committerkristerw <kristerw@pkgsrc.org>2002-10-13 19:31:13 +0000
commit84ca00410a2cfffe524c8192cab52e61f781f7a2 (patch)
tree5860d90741dbe14ada58bdb3e0288a8718269529 /devel/SDL
parent39c4d3ac7d47b569589377d2227db16e01ffcc68 (diff)
downloadpkgsrc-84ca00410a2cfffe524c8192cab52e61f781f7a2.tar.gz
Oops. Forgot to add patch-aa in previous commit.
Diffstat (limited to 'devel/SDL')
-rw-r--r--devel/SDL/patches/patch-aa15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/SDL/patches/patch-aa b/devel/SDL/patches/patch-aa
new file mode 100644
index 00000000000..9f627469ff6
--- /dev/null
+++ b/devel/SDL/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.3 2002/10/13 19:31:13 kristerw Exp $
+--- src/joystick/bsd/SDL_sysjoystick.c.orig Sat Oct 5 07:32:49 2002
++++ src/joystick/bsd/SDL_sysjoystick.c Sun Oct 13 20:34:42 2002
+@@ -400,9 +400,9 @@
+ int len;
+
+ #ifdef USBHID_NEW
+- len = hid_report_size(rd, repinfo[repind].kind, &r->rid);
+-#else
+ len = hid_report_size(rd, repinfo[repind].kind, r->rid);
++#else
++ len = hid_report_size(rd, repinfo[repind].kind, &r->rid);
+ #endif
+ if (len < 0) {
+ SDL_SetError("Negative HID report size");