diff options
author | rafan <rafan@FreeBSD.org> | 2009-03-22 19:47:23 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2009-03-22 19:47:23 +0800 |
commit | b876b127028372d305b952f6d73852d30f529218 (patch) | |
tree | 6e85de90d54b278c4c9fbc84769ffe1ed9ba843d /sysutils | |
parent | 9235f3f14057f5431944313240ca86ad10270558 (diff) | |
download | freebsd-ports-gnome-b876b127028372d305b952f6d73852d30f529218.tar.gz freebsd-ports-gnome-b876b127028372d305b952f6d73852d30f529218.tar.zst freebsd-ports-gnome-b876b127028372d305b952f6d73852d30f529218.zip |
- Fix build on 6.x or 7.x < 701103
Pointy hat to: rafan (I should look at tindy output for 6.x...)
Noticed by: miwi
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/p5-BSD-Jail-Object/files/patch-Object.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/p5-BSD-Jail-Object/files/patch-Object.pm b/sysutils/p5-BSD-Jail-Object/files/patch-Object.pm index 2df7a41e9107..1a6e87a310c8 100644 --- a/sysutils/p5-BSD-Jail-Object/files/patch-Object.pm +++ b/sysutils/p5-BSD-Jail-Object/files/patch-Object.pm @@ -32,7 +32,7 @@ + return (0); + +#if ((__FreeBSD_version >= 800000 && __FreeBSD_version < 800056) || __FreeBSD_version < 701103) -+ if (in.s_addr == xp->pr_ip) { ++ if (in.s_addr == xp->pr_ip) + return (1); +#else + if (xp->pr_ip4s == 0) |