b43ac205b0
splitting into a multipackage, with a subpackage for the standalone version (which embeds a version of nginx). The standalone version operates much like other ruby webservers, serving a single ruby/rack application. Switch to using the gem version of passenger. Because the gem installs into a versioned directory, setup symlinks to the versioned directory so that nginx configuration files don't need to be modified when the version is updated.
24 lines
743 B
Plaintext
24 lines
743 B
Plaintext
$OpenBSD: patch-ext_common_AgentBase_cpp,v 1.3 2011/12/13 18:38:18 jeremy Exp $
|
|
|
|
Apparently there are issues using sigaltstack with pthreads.
|
|
|
|
--- ext/common/AgentBase.cpp.orig Wed Dec 31 16:00:00 1969
|
|
+++ ext/common/AgentBase.cpp Wed Nov 30 10:51:43 2011
|
|
@@ -320,10 +320,12 @@ installAbortHandler() {
|
|
stack.ss_flags = 0;
|
|
if (sigaltstack(&stack, NULL) != 0) {
|
|
int e = errno;
|
|
- fprintf(stderr, "Cannot install an alternative stack for use in signal handlers: %s (%d)\n",
|
|
- strerror(e), e);
|
|
- fflush(stderr);
|
|
- abort();
|
|
+ if (e != EINVAL) {
|
|
+ fprintf(stderr, "Cannot install an alternative stack for use in signal handlers: %s (%d)\n",
|
|
+ strerror(e), e);
|
|
+ fflush(stderr);
|
|
+ abort();
|
|
+ }
|
|
}
|
|
|
|
struct sigaction action;
|