h2o: update to 1.4.1.

This commit is contained in:
Eivind Uggedal 2015-07-24 22:36:23 +00:00
parent 26156a6b96
commit ff47a624ba
2 changed files with 3 additions and 32 deletions

View file

@ -1,29 +0,0 @@
--- src/main.c.orig 2015-06-18 08:13:27.185634622 +0000
+++ src/main.c 2015-06-18 08:14:36.524223552 +0000
@@ -47,7 +47,7 @@
#include <openssl/crypto.h>
#include <openssl/err.h>
#include <openssl/ssl.h>
-#ifdef __linux__
+#ifdef __GLIBC__
#include <execinfo.h>
#endif
#include "cloexec.h"
@@ -1065,7 +1065,7 @@
notify_all_threads();
}
-#ifdef __linux__
+#ifdef __GLIBC__
static int popen_annotate_backtrace_symbols(void)
{
char *cmd_fullpath = h2o_configurator_get_cmd_path("share/h2o/annotate-backtrace-symbols"), *argv[] = {cmd_fullpath, NULL};
@@ -1118,7 +1118,7 @@
{
h2o_set_signal_handler(SIGTERM, on_sigterm);
h2o_set_signal_handler(SIGPIPE, SIG_IGN);
-#ifdef __linux__
+#ifdef __GLIBC__
if ((backtrace_symbols_to_fd = popen_annotate_backtrace_symbols()) == -1)
backtrace_symbols_to_fd = 2;
h2o_set_signal_handler(SIGABRT, on_sigfatal);

View file

@ -1,7 +1,7 @@
# Template file for 'h2o'
pkgname=h2o
version=1.3.1
revision=2
version=1.4.1
revision=1
build_style=cmake
configure_flags="-DUSE_BUNDLED_SSL=OFF"
conf_files="/etc/h2o.conf"
@ -15,7 +15,7 @@ maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="MIT"
homepage="https://github.com/h2o/h2o"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=8668a7c70cdb59eef4e67889569a45e0cf75b95eec133bd30435879cbdb77fba
checksum=b5695b08c90a22b5f164a632bae68b4e8c4ecf4f231a3d336c7f94562591e4e9
post_install() {
vsv h2o