summaryrefslogtreecommitdiff
path: root/www/ruby-fcgi/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'www/ruby-fcgi/patches/patch-aa')
-rw-r--r--www/ruby-fcgi/patches/patch-aa10
1 files changed, 6 insertions, 4 deletions
diff --git a/www/ruby-fcgi/patches/patch-aa b/www/ruby-fcgi/patches/patch-aa
index 9f2c3b0cf70..29a17ef0b54 100644
--- a/www/ruby-fcgi/patches/patch-aa
+++ b/www/ruby-fcgi/patches/patch-aa
@@ -1,12 +1,14 @@
-$NetBSD: patch-aa,v 1.3 2005/12/30 13:01:57 joerg Exp $
+$NetBSD: patch-aa,v 1.4 2015/02/05 15:46:57 taca Exp $
---- ext/fcgi/fcgi.c.orig 2005-12-30 12:59:27.000000000 +0000
+Remove legacy errno declaration.
+
+--- ext/fcgi/fcgi.c.orig 2015-01-19 12:50:20.000000000 +0000
+++ ext/fcgi/fcgi.c
-@@ -164,7 +164,6 @@ static VALUE fcgi_finish(VALUE self)
+@@ -223,7 +223,6 @@ static VALUE fcgi_finish(VALUE self)
#define CHECK_STREAM_ERROR(stream) {\
int err = FCGX_GetError(stream);\
- extern int errno; \
if (err) {\
if (err > 0) {\
- errno = err;\
+ rb_raise(eFCGIStreamError, "unknown error (syscall error)");\