You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
808 B
22 lines
808 B
Index: configure |
|
--- configure.orig 2017-08-25 06:36:03.000000000 +0200 |
|
+++ configure 2017-09-01 13:22:36.494574000 +0200 |
|
@@ -6517,7 +6517,6 @@ |
|
elif test "$GCC" = "yes" |
|
then |
|
GCC_VERSION=`$CC -dumpversion` |
|
- CFLAGS="$CFLAGS -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls" |
|
case $GCC_VERSION in |
|
4.4.*) |
|
CFLAGS="$CFLAGS -fno-strict-aliasing" |
|
Index: thread.c |
|
--- thread.c.orig 2017-08-25 06:32:51.000000000 +0200 |
|
+++ thread.c 2017-09-01 13:22:36.494768000 +0200 |
|
@@ -775,6 +775,7 @@ |
|
for (i = 0; i < nthreads; i++) { |
|
create_worker(worker_libevent, &threads[i]); |
|
} |
|
+ memset(threads, 0, sizeof(LIBEVENT_THREAD) * nthreads); |
|
|
|
/* Wait for all the threads to set themselves up before returning. */ |
|
pthread_mutex_lock(&init_lock);
|
|
|