forked from Lainports/freebsd-ports
lineak is a utility designed to enable the use and configuration of those special keys on Internet, Easy Access and Multimedia keyboards in Linux (and other unices, like now FreeBSD). I use this port for about 6-8 months and it seems to work without much problems. I was asked from several people if I finished the port, so I thought it would be the best to include it in the official ports tree. PR: ports/52158 Submitted by: Kay Lehmann <kay_lehmann@web.de>
15 lines
472 B
Text
15 lines
472 B
Text
--- src/lineakd.h.orig Wed Aug 28 04:43:19 2002
|
|
+++ src/lineakd.h Tue May 13 10:56:23 2003
|
|
@@ -127,6 +127,12 @@
|
|
#define VOLMUTE_VALUE 0
|
|
#define MAX_VOLUME 100
|
|
|
|
+/* we need this for freebsd */
|
|
+#if defined (__FreeBSD__)
|
|
+#define CDROMEJECT CDIOCEJECT /*_IO('c', 107)*/
|
|
+#define CDROMCLOSETRAY CDIOCCLOSE
|
|
+#endif
|
|
+
|
|
/* we might need this .. oss emulation under BSD */
|
|
#if defined (__NetBSD__) || defined (__OpenBSD__)
|
|
#define SOUND_IOCTL(a,b,c) _oss_ioctl(a,b,c)
|