From 08a006d08a4c35d2c3ecc9a3d10cf7fd14661a84 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Tue, 29 Jul 2014 17:12:47 +0000 Subject: Rename all patches that contain '::' as a path separator, and use '__' instead. --- net/asterisk/files/patch-main__utils.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 net/asterisk/files/patch-main__utils.c (limited to 'net/asterisk/files/patch-main__utils.c') diff --git a/net/asterisk/files/patch-main__utils.c b/net/asterisk/files/patch-main__utils.c new file mode 100644 index 000000000000..8b6e268d1cb9 --- /dev/null +++ b/net/asterisk/files/patch-main__utils.c @@ -0,0 +1,13 @@ +--- ./main/utils.c.orig 2010-08-06 20:57:10.000000000 +0200 ++++ ./main/utils.c 2010-11-06 14:54:37.000000000 +0100 +@@ -990,8 +990,8 @@ + pthread_attr_init(attr); + } + +-#ifdef __linux__ +- /* On Linux, pthread_attr_init() defaults to PTHREAD_EXPLICIT_SCHED, ++#if defined(__linux__) || defined(__FreeBSD__) ++ /* On Linux and FreeBSD, pthread_attr_init() defaults to PTHREAD_EXPLICIT_SCHED, + which is kind of useless. Change this here to + PTHREAD_INHERIT_SCHED; that way the -p option to set realtime + priority will propagate down to new threads by default. -- cgit v1.2.3