diff options
author | jhb <jhb@FreeBSD.org> | 2015-01-29 23:24:07 +0800 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2015-01-29 23:24:07 +0800 |
commit | f0d2b56b21ff311e69d4ca9ad8d9149b79549fc4 (patch) | |
tree | c76014dea2ea5111d00bf265aeed045428051874 /sysutils/mbgtools | |
parent | eda2e325327225c039560e847ebdfca013069b64 (diff) | |
download | freebsd-ports-gnome-f0d2b56b21ff311e69d4ca9ad8d9149b79549fc4.tar.gz freebsd-ports-gnome-f0d2b56b21ff311e69d4ca9ad8d9149b79549fc4.tar.zst freebsd-ports-gnome-f0d2b56b21ff311e69d4ca9ad8d9149b79549fc4.zip |
Replace use of d_thread_t with 'struct thread'. This has been accepted
upstream already. d_thread_t is an ancient compat shim for FreeBSD 4
that is going away in FreeBSD 11.
PR: 196692
Approved by: gnn (maintainer)
Diffstat (limited to 'sysutils/mbgtools')
-rw-r--r-- | sysutils/mbgtools/files/patch-mbgclock-mbgclock_main.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/mbgtools/files/patch-mbgclock-mbgclock_main.c b/sysutils/mbgtools/files/patch-mbgclock-mbgclock_main.c new file mode 100644 index 000000000000..008aad8af0f6 --- /dev/null +++ b/sysutils/mbgtools/files/patch-mbgclock-mbgclock_main.c @@ -0,0 +1,20 @@ +--- mbgclock/mbgclock_main.c.orig 2015-01-10 10:47:02.000000000 -0500 ++++ mbgclock/mbgclock_main.c 2015-01-10 10:47:17.000000000 -0500 +@@ -135,7 +135,7 @@ + * attach routine when we create the /dev entry. + */ + int +-mbgclock_open( struct cdev *dev, int oflags, int devtype, d_thread_t *td ) ++mbgclock_open( struct cdev *dev, int oflags, int devtype, struct thread *td ) + { + struct mbgclock_softc *psc = dev->si_drv1; + PCPS_DDEV *pddev = psc->pddev; +@@ -152,7 +152,7 @@ + + + int +-mbgclock_close( struct cdev *dev, int fflag, int devtype, d_thread_t *td ) ++mbgclock_close( struct cdev *dev, int fflag, int devtype, struct thread *td ) + { + struct mbgclock_softc *psc = dev->si_drv1; + PCPS_DDEV *pddev = psc->pddev; |