mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
- Unbreak on FreeBSD-9 and above
PR: ports/164977 Submitted by: Daniel Austin <freebsd-ports@dan.me.uk>
This commit is contained in:
parent
a141eb134a
commit
f953a5a4a6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=291264
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= poptop
|
||||
PORTVERSION= 1.3.4
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= SF/${PORTNAME}/pptpd/pptpd-${PORTVERSION}
|
||||
DISTNAME= pptpd-${PORTVERSION:S/.b/-b/}
|
||||
@ -38,10 +38,4 @@ post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/samples/pptpd.conf \
|
||||
${PREFIX}/etc/pptpd.conf.sample
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} > 900007
|
||||
BROKEN= fails to build with new utmpx
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
10
net/poptop/files/patch-plugins_pptpd-logwtmp.c
Normal file
10
net/poptop/files/patch-plugins_pptpd-logwtmp.c
Normal file
@ -0,0 +1,10 @@
|
||||
--- plugins/pptpd-logwtmp.c.orig 2012-02-13 10:53:17.000000000 +0800
|
||||
+++ plugins/pptpd-logwtmp.c 2012-02-13 10:53:26.000000000 +0800
|
||||
@@ -10,7 +10,6 @@
|
||||
* 2 of the License, or (at your option) any later version.
|
||||
*/
|
||||
#include <unistd.h>
|
||||
-#include <utmp.h>
|
||||
#include <string.h>
|
||||
#include "pppd.h"
|
||||
|
Loading…
Reference in New Issue
Block a user