Created attachment 397618 [details, diff] setserial-2.17-mac-os-x.patch setserial-2.17 does not compile on mac os x. I am using setserial-2.17-r4 from prefix. Not sure if this is yet fixed upstream. Build failed initially with: x86_64-apple-darwin13-gcc -march=nocona -O2 -pipe -I/Users/cfriedt/Gentoo/usr/include -I/usr/include -I. setserial.c -o setserial couldn't understand kern.osversion `14.1.0' setserial.c: In function ‘get_serial’: setserial.c:431: error: ‘TIOCGSERIAL’ undeclared (first use in this function) setserial.c:431: error: (Each undeclared identifier is reported only once setserial.c:431: error: for each function it appears in.) setserial.c: In function ‘set_serial’: setserial.c:497: error: ‘TIOCGSERIAL’ undeclared (first use in this function) setserial.c:574: error: ‘TIOCSSERIAL’ undeclared (first use in this function) setserial.c:578: error: ‘TIOCSERCONFIG’ undeclared (first use in this function) setserial.c: In function ‘do_wild_intr’: setserial.c:635: error: ‘TIOCSERSWILD’ undeclared (first use in this function) setserial.c:639: error: ‘TIOCSERGWILD’ undeclared (first use in this function) Makefile:23: recipe for target 'setserial' failed make: *** [setserial] Error 1 Fix found via: http://www.insanelymac.com/forum/topic/155999-compiling-setserial-on-mac-os-x/
does it even work like this?
Haha.. I've been using it for years like this. Sorry I didn't reply earlier.
thanks