diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2002-03-22 07:32:13 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2002-03-22 07:32:13 +0000 |
commit | cbde27d2e24878fc40d9e7dbb58ab124fc895c3c (patch) | |
tree | 07e0f060d4b3ab1eb8b90201bd876d912b3fe205 /www/tinyproxy/files | |
parent | 8a24b5f58b14f41e646761c45def646939ad4087 (diff) | |
download | ports-cbde27d2e24878fc40d9e7dbb58ab124fc895c3c.tar.gz ports-cbde27d2e24878fc40d9e7dbb58ab124fc895c3c.zip |
Notes
Diffstat (limited to 'www/tinyproxy/files')
-rw-r--r-- | www/tinyproxy/files/patch-aa | 11 | ||||
-rw-r--r-- | www/tinyproxy/files/patch-ab | 22 |
2 files changed, 33 insertions, 0 deletions
diff --git a/www/tinyproxy/files/patch-aa b/www/tinyproxy/files/patch-aa new file mode 100644 index 000000000000..225c927521d1 --- /dev/null +++ b/www/tinyproxy/files/patch-aa @@ -0,0 +1,11 @@ +--- src/sock.c.dist Tue Nov 13 06:10:29 2001 ++++ src/sock.c Thu Feb 7 18:33:24 2002 +@@ -259,7 +259,7 @@ + + for (n = 1; n < maxlen; n++) { + again: +- if ((rc = recv(fd, &c, 1, MSG_NOSIGNAL)) == 1) { ++ if ((rc = recv(fd, &c, 1, 0)) == 1) { + *ptr++ = c; + if (c == '\n') + break; diff --git a/www/tinyproxy/files/patch-ab b/www/tinyproxy/files/patch-ab new file mode 100644 index 000000000000..98be5cf05ee4 --- /dev/null +++ b/www/tinyproxy/files/patch-ab @@ -0,0 +1,22 @@ +--- src/tinyproxy.h.dist Fri Oct 26 02:27:17 2001 ++++ src/tinyproxy.h Thu Feb 7 18:34:32 2002 +@@ -27,9 +27,6 @@ + * Include standard headers which are used through-out tinyproxy + */ + #include <sys/types.h> +-#ifdef HAVE_SYS_RESOURCE_H +-# include <sys/resource.h> +-#endif + #ifdef HAVE_SYS_SELECT_H + # include <sys/select.h> + #endif +@@ -44,6 +41,9 @@ + # else + # include <time.h> + # endif ++#endif ++#ifdef HAVE_SYS_RESOURCE_H ++# include <sys/resource.h> + #endif + #include <sys/uio.h> + #include <netinet/in.h> |