1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

- Update to 1.9

PR:		ports/90473
Submitted by:	Dryice Liu <dryice@hotpop.com> (maintainer)
This commit is contained in:
Pav Lucistnik 2005-12-18 15:47:09 +00:00
parent 4fdc47d3a7
commit bdd725dae8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=151498
3 changed files with 4 additions and 33 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= scgi
PORTVERSION= 1.8
PORTRVISION= 1
PORTVERSION= 1.9
CATEGORIES= www
MASTER_SITES= http://www.mems-exchange.org/software/files/scgi/ \
http://bsdchat.com/dist/dryice/

View File

@ -1,2 +1,3 @@
MD5 (scgi-1.8.tar.gz) = 5e02813b22d1295064948a99593e5bdf
SIZE (scgi-1.8.tar.gz) = 20805
MD5 (scgi-1.9.tar.gz) = 41f4ec8629da717fda82ebdd80775996
SHA256 (scgi-1.9.tar.gz) = e7bac86d3cdfe6c4cf0f8f8c1f9c02cd62711f97718839d1ea72c42f98effe00
SIZE (scgi-1.9.tar.gz) = 21014

View File

@ -1,29 +0,0 @@
--- scgi/passfd.c.orig Sun Dec 4 15:49:02 2005
+++ scgi/passfd.c Sun Dec 4 15:49:28 2005
@@ -22,7 +22,7 @@
#include <stddef.h>
-#define CONTROLLEN sizeof (struct cmsghdr) + sizeof (int)
+#define CONTROLLEN sizeof (struct cmsghdr) + sizeof (void*)
static int
recv_fd(int sockfd)
@@ -31,7 +31,7 @@
struct cmsghdr *cmptr = (struct cmsghdr *) tmpbuf;
struct iovec iov[1];
struct msghdr msg;
- char buf[1];
+ void* buf[1];
iov[0].iov_base = buf;
iov[0].iov_len = sizeof (buf);
@@ -56,7 +56,7 @@
struct cmsghdr *cmptr = (struct cmsghdr *) tmpbuf;
struct iovec iov[1];
struct msghdr msg;
- char buf[1];
+ void* buf[1];
iov[0].iov_base = buf;
iov[0].iov_len = 1;