diff options
author | Cy Schubert <cy@FreeBSD.org> | 2007-01-05 03:30:02 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2007-01-05 03:30:02 +0000 |
commit | a686bbe427e141c11516092d3cc7b30c7ad78393 (patch) | |
tree | 414cdf9535944a48d5cb8f52ffc75ccefbf10926 /security/sudosh2 | |
parent | 9fc08733821c5115abdddac42810cff99dbbc7d1 (diff) | |
download | ports-a686bbe427e141c11516092d3cc7b30c7ad78393.tar.gz ports-a686bbe427e141c11516092d3cc7b30c7ad78393.zip |
Notes
Diffstat (limited to 'security/sudosh2')
-rw-r--r-- | security/sudosh2/Makefile | 8 | ||||
-rw-r--r-- | security/sudosh2/files/patch-src::sudosh.c | 4 |
2 files changed, 3 insertions, 9 deletions
diff --git a/security/sudosh2/Makefile b/security/sudosh2/Makefile index 84f8f32f0400..06ed10922bbd 100644 --- a/security/sudosh2/Makefile +++ b/security/sudosh2/Makefile @@ -34,10 +34,4 @@ MAN1= sudosh.1 MAN5= sudosh.conf.5 MAN8= sudosh-replay.8 -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 500000 -BROKEN= "Does not compile on FreeBSD 4.x" -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/security/sudosh2/files/patch-src::sudosh.c b/security/sudosh2/files/patch-src::sudosh.c index 8e65ebccc460..7f6da6fe8f0e 100644 --- a/security/sudosh2/files/patch-src::sudosh.c +++ b/security/sudosh2/files/patch-src::sudosh.c @@ -44,7 +44,7 @@ +#endif perror ("Cannot open cloning master pty"); return -1; -+#ifdef __FreeBSD ++#ifndef __FreeBSD__ } +#endif } @@ -54,7 +54,7 @@ (void) grantpt (p->mfd); +#endif -+#ifndef __FreeBSD ++#ifndef __FreeBSD__ sname = (char *) ptsname (p->mfd); +#endif |