diff options
author | nobutaka <nobutaka@FreeBSD.org> | 2005-11-20 19:34:55 +0800 |
---|---|---|
committer | nobutaka <nobutaka@FreeBSD.org> | 2005-11-20 19:34:55 +0800 |
commit | bf17c5c1024324219897cd8bc961c124712fb642 (patch) | |
tree | f18212e9b2c5ee97c99d9a32c44c912a20fccfc1 /sysutils | |
parent | 172190ba7ccc1e798d5d4b424ad51326dfc5d240 (diff) | |
download | freebsd-ports-gnome-bf17c5c1024324219897cd8bc961c124712fb642.tar.gz freebsd-ports-gnome-bf17c5c1024324219897cd8bc961c124712fb642.tar.zst freebsd-ports-gnome-bf17c5c1024324219897cd8bc961c124712fb642.zip |
Fix build error on -current.
Reported by: pointyhat via kris
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/ufs_copy/files/patch-ufs_copy.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/ufs_copy/files/patch-ufs_copy.c b/sysutils/ufs_copy/files/patch-ufs_copy.c new file mode 100644 index 000000000000..e38fc60b4419 --- /dev/null +++ b/sysutils/ufs_copy/files/patch-ufs_copy.c @@ -0,0 +1,14 @@ +--- ufs_copy.c.orig Sun Nov 20 19:57:13 2005 ++++ ufs_copy.c Sun Nov 20 20:04:12 2005 +@@ -504,7 +504,11 @@ + err(1, "malloc failed"); + cb->aio_sigevent.sigev_notify = SIGEV_KEVENT; + cb->aio_sigevent.sigev_notify_kqueue = kq; ++#if __FreeBSD_version >= 700005 ++ cb->aio_sigevent.sigev_value.sival_ptr = ac; ++#else + cb->aio_sigevent.sigev_value.sigval_ptr = ac; ++#endif + ac->status = AC_FREE; + } + last_free = 0; |