mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Socket descriptors should be in range from 0 to FD_SETSIZE-1.
Fix compare operators to be complied with it. PR: ports/101713 Submitted by: Simun Mikecin <numisemis@yahoo.com>
This commit is contained in:
parent
2108f4f113
commit
0e7b3183fa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=170395
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= gsoap
|
||||
PORTVERSION= 2.7.8c
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= gsoap2
|
||||
@ -32,8 +32,8 @@ CONST= const
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's/> FD_SETSIZE/> (int)FD_SETSIZE/g' ${WRKSRC}/soapcpp2/stdsoap2.c
|
||||
@${REINPLACE_CMD} -e 's/> FD_SETSIZE/> (int)FD_SETSIZE/g' ${WRKSRC}/soapcpp2/stdsoap2.cpp
|
||||
@${REINPLACE_CMD} -e 's/> FD_SETSIZE/>= (int)FD_SETSIZE/g' ${WRKSRC}/soapcpp2/stdsoap2.c
|
||||
@${REINPLACE_CMD} -e 's/> FD_SETSIZE/>= (int)FD_SETSIZE/g' ${WRKSRC}/soapcpp2/stdsoap2.cpp
|
||||
@${REINPLACE_CMD} -e 's/%%CONST%%/${CONST}/' ${WRKSRC}/soapcpp2/stdsoap2.cpp
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user