aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-scgi
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-12-04 19:12:33 +0800
committerflz <flz@FreeBSD.org>2005-12-04 19:12:33 +0800
commit47c3f80048c9fbb90aaeca91794d6f91a470373c (patch)
treeaf6ad94d97226fcaa02eb1dbe3e9fd23720dd67c /www/py-scgi
parent80d31f5aeaa083af09133af50a997c0c6806aa9f (diff)
downloadfreebsd-ports-gnome-47c3f80048c9fbb90aaeca91794d6f91a470373c.tar.gz
freebsd-ports-gnome-47c3f80048c9fbb90aaeca91794d6f91a470373c.tar.zst
freebsd-ports-gnome-47c3f80048c9fbb90aaeca91794d6f91a470373c.zip
- Add patch to fix a 64bit issue.
PR: ports/89923 Submitted by: maintainer
Diffstat (limited to 'www/py-scgi')
-rw-r--r--www/py-scgi/Makefile1
-rw-r--r--www/py-scgi/files/patch-scgi_passfd.c29
2 files changed, 30 insertions, 0 deletions
diff --git a/www/py-scgi/Makefile b/www/py-scgi/Makefile
index 00bad5e63d79..f855fd2e2763 100644
--- a/www/py-scgi/Makefile
+++ b/www/py-scgi/Makefile
@@ -7,6 +7,7 @@
PORTNAME= scgi
PORTVERSION= 1.8
+PORTRVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.mems-exchange.org/software/files/scgi/ \
http://bsdchat.com/dist/dryice/
diff --git a/www/py-scgi/files/patch-scgi_passfd.c b/www/py-scgi/files/patch-scgi_passfd.c
new file mode 100644
index 000000000000..f5a020f879f4
--- /dev/null
+++ b/www/py-scgi/files/patch-scgi_passfd.c
@@ -0,0 +1,29 @@
+--- 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;