aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gsoap
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2006-08-12 17:28:02 +0800
committersem <sem@FreeBSD.org>2006-08-12 17:28:02 +0800
commit091b1c8b103cf8d36ac75b5f681ee9bbde508022 (patch)
treea71a79742620dfcfbb6cd082b8312929f269a0f4 /devel/gsoap
parentc0dcdfb344a9e154cf54e12f48f87bd6bbc176c4 (diff)
downloadfreebsd-ports-graphics-091b1c8b103cf8d36ac75b5f681ee9bbde508022.tar.gz
freebsd-ports-graphics-091b1c8b103cf8d36ac75b5f681ee9bbde508022.tar.zst
freebsd-ports-graphics-091b1c8b103cf8d36ac75b5f681ee9bbde508022.zip
- 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>
Diffstat (limited to 'devel/gsoap')
-rw-r--r--devel/gsoap/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/gsoap/Makefile b/devel/gsoap/Makefile
index 156803be331..904afd8bb18 100644
--- a/devel/gsoap/Makefile
+++ b/devel/gsoap/Makefile
@@ -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>