mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Fix build on recent(ish) 9.x (after r235405 i.e. MFC of r228631.)
This commit is contained in:
parent
44eccf4272
commit
e8976e5726
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303445
1 changed files with 20 additions and 0 deletions
20
comms/uartlirc/files/patch-uartlirc_tty.c
Normal file
20
comms/uartlirc/files/patch-uartlirc_tty.c
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- uartlirc_tty.c.orig
|
||||
+++ uartlirc_tty.c
|
||||
@@ -55,7 +55,7 @@ static cn_init_t uartlirc_cninit;
|
||||
static cn_term_t uartlirc_cnterm;
|
||||
static cn_getc_t uartlirc_cngetc;
|
||||
static cn_putc_t uartlirc_cnputc;
|
||||
-#if __FreeBSD_version >= 1000000
|
||||
+#if __FreeBSD_version >= 900506
|
||||
static cn_grab_t uartlirc_cngrab;
|
||||
static cn_ungrab_t uartlirc_cnungrab;
|
||||
#endif
|
||||
@@ -112,7 +112,7 @@ uartlirc_cnterm(struct consdev *cp)
|
||||
uartlirc_term(cp->cn_arg);
|
||||
}
|
||||
|
||||
-#if __FreeBSD_version >= 1000000
|
||||
+#if __FreeBSD_version >= 900506
|
||||
static void
|
||||
uartlirc_cngrab(struct consdev *cp)
|
||||
{
|
Loading…
Add table
Reference in a new issue