Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 397618 Details for
Bug 541536
sys-apps/setserial - add Mac OS X support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
setserial-2.17-mac-os-x.patch
setserial-2.17-compile-on-mac.patch (text/plain), 651 bytes, created by
Christopher Friedt
on 2015-02-27 15:35:42 UTC
(
hide
)
Description:
setserial-2.17-mac-os-x.patch
Filename:
MIME Type:
Creator:
Christopher Friedt
Created:
2015-02-27 15:35:42 UTC
Size:
651 bytes
patch
obsolete
>diff --git a/setserial.c b/setserial.c >index 3474402..3ce8009 100644 >--- a/setserial.c >+++ b/setserial.c >@@ -31,6 +31,25 @@ > > #include "version.h" > >+#ifdef __APPLE__ >+// see http://www.insanelymac.com/forum/topic/155999-compiling-setserial-on-mac-os-x/ >+#ifndef TIOCGSERIAL >+#define TIOCGSERIAL 0x541E >+#endif >+#ifndef TIOCSERCONFIG >+#define TIOCSERCONFIG 0x5453 >+#endif >+#ifndef TIOCSSERIAL >+#define TIOCSSERIAL 0x541F >+#endif >+#ifndef TIOCSERGWILD >+#define TIOCSERGWILD 0x5454 >+#endif >+#ifndef TIOCSERSWILD >+#define TIOCSERSWILD 0x5455 >+#endif >+#endif >+ > static char version_str[] = "setserial version " SETSERIAL_VERSION ", " > SETSERIAL_DATE; >
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 541536
: 397618