mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
- Conditionalize bmaj and kqfilter in cdevsw.
This commit is contained in:
parent
5f50ae13d7
commit
5867e6b1dd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47859
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= rtc
|
||||
PORTVERSION= 2001.09.16
|
||||
PORTVERSION= 2001.09.16.1
|
||||
CATEGORIES= emulators linux
|
||||
MASTER_SITES= # none
|
||||
DISTFILES= # none
|
||||
|
@ -97,7 +97,12 @@ static struct cdevsw rtc_cdevsw = {
|
||||
/* dump */ nodump,
|
||||
/* psize */ nopsize,
|
||||
/* flags */ 0,
|
||||
/* bmaj */ -1
|
||||
#if __FreeBSD_version <= 500018
|
||||
/* bmaj */ -1,
|
||||
#endif
|
||||
#if __FreeBSD_version >= 500018 || __FreeBSD_version >= 430000
|
||||
/* kqfilter */ nokqfilter,
|
||||
#endif
|
||||
};
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user