aboutsummaryrefslogtreecommitdiff
path: root/devel/ORBit
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-10-26 13:06:01 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-10-26 13:06:01 +0000
commit88fb181c88c61823b302f1b18c5f73fef4892b56 (patch)
treec6e0ed2b76289a3952652aeb45538886dc1a9172 /devel/ORBit
parent68b00bd83919988da7910edf2c4c24d06576614d (diff)
downloadports-88fb181c88c61823b302f1b18c5f73fef4892b56.tar.gz
ports-88fb181c88c61823b302f1b18c5f73fef4892b56.zip
Notes
Diffstat (limited to 'devel/ORBit')
-rw-r--r--devel/ORBit/Makefile2
-rw-r--r--devel/ORBit/files/patch-src::IIOP::giop-msg-buffer.c24
2 files changed, 25 insertions, 1 deletions
diff --git a/devel/ORBit/Makefile b/devel/ORBit/Makefile
index c4ad0ddc44f7..8426c47c1730 100644
--- a/devel/ORBit/Makefile
+++ b/devel/ORBit/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ORBit
PORTVERSION= 0.5.10
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/ORBit
diff --git a/devel/ORBit/files/patch-src::IIOP::giop-msg-buffer.c b/devel/ORBit/files/patch-src::IIOP::giop-msg-buffer.c
new file mode 100644
index 000000000000..a42320410527
--- /dev/null
+++ b/devel/ORBit/files/patch-src::IIOP::giop-msg-buffer.c
@@ -0,0 +1,24 @@
+
+$FreeBSD$
+
+--- src/IIOP/giop-msg-buffer.c 2001/10/26 12:42:42 1.1
++++ src/IIOP/giop-msg-buffer.c 2001/10/26 12:42:53
+@@ -197,7 +197,17 @@
+ sum);
+ }
+ #endif
+- res = writev(fd, curvec, nvecs);
++ for(sum = 0, t = 0; t < nvecs; t++) {
++ do {
++ res = write(fd, curvec[t].iov_base, curvec[t].iov_len);
++ } while (res < 0 && errno == EAGAIN);
++ if (res < 0) {
++ break;
++ } else
++ sum += res;
++ }
++ if (res >= 0)
++ res = sum;
+
+ sum = (GIOP_MESSAGE_BUFFER(send_buffer)->message_header.message_size + sizeof(GIOPMessageHeader));
+ if(res < sum) {