FreeBSD Bugzilla – Attachment 25943 Details for
Bug 44291
Fix build of x11-toolkits/plib on -current
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 694 bytes, created by
Steven G. Kargl
on 2002-10-20 01:10:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Steven G. Kargl
Created:
2002-10-20 01:10:01 UTC
Size:
694 bytes
patch
obsolete
>--- src/js/js.h.orig Sat Oct 19 16:41:00 2002 >+++ src/js/js.h Sat Oct 19 16:49:23 2002 >@@ -63,7 +63,11 @@ > # include <fcntl.h> > > # if defined(__FreeBSD__) || defined(__NetBSD__) >-# include <machine/joystick.h> >+# if __FreeBSD_version >= 500000 >+# include <sys/joystick.h> >+# elif >+# include <machine/joystick.h> >+# endif > # define JS_DATA_TYPE joystick > # define JS_RETURN (sizeof(struct JS_DATA_TYPE)) > # elif defined(__linux__) >@@ -132,9 +136,9 @@ > > > >-/*#if defined(__FreeBSD__) || defined(__NetBSD__) >+#if defined(__FreeBSD__) || defined(__NetBSD__) > int id ; >-#endif*/ >+#endif > #ifdef WIN32 > JOYINFOEX js ; > UINT js_id ;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 44291
: 25943