1- From 2cf9610fdb4569087c96817460d4ca01780c1e1c Mon Sep 17 00:00:00 2001
1+ From 95f152ce9a112749cda608850d2437daec7ddd4e Mon Sep 17 00:00:00 2001
22From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9?=
3344Date: Thu, 17 Jun 2021 18:51:12 +0530
@@ -81,10 +81,10 @@ index dfc2a8e..dc92a23 100644
8181 # include <fcntl.h> /* O_CREAT and O_EXCL */
8282 # if defined(HAVE_SEM_OPEN) && !defined(POSIX_SEMAPHORES_NOT_ENABLED)
8383diff --git a/configure.ac b/configure.ac
84- index 9270b5f..7e3846c 100644
84+ index 1a02d19..de008a9 100644
8585--- a/configure.ac
8686+++ b/configure.ac
87- @@ -2700 ,6 +2700 ,53 @@ then
87+ @@ -2721 ,6 +2721 ,53 @@ then
8888 BASECFLAGS="$BASECFLAGS $ac_arch_flags"
8989 fi
9090
@@ -138,7 +138,7 @@ index 9270b5f..7e3846c 100644
138138 # On some compilers, pthreads are available without further options
139139 # (e.g. MacOS X). On some of these systems, the compiler will not
140140 # complain if unaccepted options are passed (e.g. gcc on Mac OS X).
141- @@ -2811 ,6 +2858 ,8 @@ int main(void){
141+ @@ -2832 ,6 +2879 ,8 @@ int main(void){
142142 CC="$ac_save_cc"])
143143 fi
144144
@@ -147,7 +147,7 @@ index 9270b5f..7e3846c 100644
147147 # If we have set a CC compiler flag for thread support then
148148 # check if it works for CXX, too.
149149 if test ! -z "$CXX"
150- @@ -2830 ,6 +2879 ,10 @@ elif test "$ac_cv_pthread" = "yes"
150+ @@ -2851 ,6 +2900 ,10 @@ elif test "$ac_cv_pthread" = "yes"
151151 then
152152 CXX="$CXX -pthread"
153153 ac_cv_cxx_thread=yes
@@ -158,7 +158,7 @@ index 9270b5f..7e3846c 100644
158158 else
159159 ac_cv_cxx_thread=no
160160 fi
161- @@ -2871 ,8 +2924 ,8 @@ AC_CHECK_HEADERS([ \
161+ @@ -2892 ,8 +2945 ,8 @@ AC_CHECK_HEADERS([ \
162162 alloca.h asm/types.h bluetooth.h conio.h crypt.h direct.h dlfcn.h endian.h errno.h fcntl.h grp.h \
163163 ieeefp.h io.h langinfo.h libintl.h libutil.h linux/auxvec.h sys/auxv.h linux/fs.h linux/limits.h linux/memfd.h \
164164 linux/random.h linux/soundcard.h \
@@ -167,9 +167,9 @@ index 9270b5f..7e3846c 100644
167167+ linux/tipc.h linux/wait.h netdb.h net/ethernet.h netinet/in.h netpacket/packet.h poll.h process.h pty.h \
168168+ setjmp.h shadow.h signal.h spawn.h stropts.h sys/audioio.h sys/bsdtty.h sys/devpoll.h \
169169 sys/endian.h sys/epoll.h sys/event.h sys/eventfd.h sys/file.h sys/ioctl.h sys/kern_control.h \
170- sys/loadavg.h sys/lock.h sys/memfd.h sys/mkdev.h sys/mman.h sys/modem.h sys/param.h sys/poll.h \
170+ sys/loadavg.h sys/lock.h sys/memfd.h sys/mkdev.h sys/mman.h sys/modem.h sys/param.h sys/pidfd.h sys/ poll.h \
171171 sys/random.h sys/resource.h sys/select.h sys/sendfile.h sys/socket.h sys/soundcard.h sys/stat.h \
172- @@ -2883 ,6 +2936 ,14 @@ AC_CHECK_HEADERS([ \
172+ @@ -2904 ,6 +2957 ,14 @@ AC_CHECK_HEADERS([ \
173173 AC_HEADER_DIRENT
174174 AC_HEADER_MAJOR
175175
@@ -184,7 +184,7 @@ index 9270b5f..7e3846c 100644
184184 # bluetooth/bluetooth.h has been known to not compile with -std=c99.
185185 # http://permalink.gmane.org/gmane.linux.bluez.kernel/22294
186186 SAVE_CFLAGS=$CFLAGS
187- @@ -3095 ,6 +3156 ,10 @@ elif test "$ac_cv_pthread" = "yes"
187+ @@ -3116 ,6 +3177 ,10 @@ elif test "$ac_cv_pthread" = "yes"
188188 then CC="$CC -pthread"
189189 fi
190190
@@ -195,7 +195,7 @@ index 9270b5f..7e3846c 100644
195195 AC_CACHE_CHECK([for pthread_t], [ac_cv_have_pthread_t], [
196196 AC_COMPILE_IFELSE([
197197 AC_LANG_PROGRAM([[@%:@include <pthread.h>]], [[pthread_t x; x = *(pthread_t*)0;]])
198- @@ -3126 ,7 +3191 ,7 @@ AS_VAR_IF([ac_cv_pthread_key_t_is_arithmetic_type], [yes], [
198+ @@ -3147 ,7 +3212 ,7 @@ AS_VAR_IF([ac_cv_pthread_key_t_is_arithmetic_type], [yes], [
199199 AC_DEFINE([PTHREAD_KEY_T_IS_COMPATIBLE_WITH_INT], [1],
200200 [Define if pthread_key_t is compatible with int.])
201201 ])
@@ -204,7 +204,7 @@ index 9270b5f..7e3846c 100644
204204 CC="$ac_save_cc"
205205
206206 AC_MSG_CHECKING([for --enable-framework])
207- @@ -3658 ,10 +3723 ,15 @@ AS_VAR_IF([have_uuid], [missing], [
207+ @@ -3679 ,10 +3744 ,15 @@ AS_VAR_IF([have_uuid], [missing], [
208208
209209 AS_VAR_IF([have_uuid], [missing], [have_uuid=no])
210210
@@ -220,7 +220,7 @@ index 9270b5f..7e3846c 100644
220220
221221 # check if we need libintl for locale functions
222222 AC_CHECK_LIB([intl], [textdomain],
223- @@ -4381 ,6 +4451 ,11 @@ then
223+ @@ -4402 ,6 +4472 ,11 @@ then
224224 CXX="$CXX -pthread"
225225 fi
226226 posix_threads=yes
@@ -232,7 +232,7 @@ index 9270b5f..7e3846c 100644
232232 else
233233 if test ! -z "$withval" -a -d "$withval"
234234 then LDFLAGS="$LDFLAGS -L$withval"
235- @@ -4897 ,6 +4972 ,15 @@ else
235+ @@ -4918 ,6 +4993 ,15 @@ else
236236 fi
237237
238238 # checks for library functions
@@ -248,7 +248,7 @@ index 9270b5f..7e3846c 100644
248248 AC_CHECK_FUNCS([ \
249249 accept4 alarm bind_textdomain_codeset chmod chown clock close_range confstr \
250250 copy_file_range ctermid dup dup3 execv explicit_bzero explicit_memset \
251- @@ -5793 ,6 +5877 ,10 @@ dnl actually works. For FreeBSD versions <= 7.2,
251+ @@ -5814 ,6 +5898 ,10 @@ dnl actually works. For FreeBSD versions <= 7.2,
252252 dnl the kernel module that provides POSIX semaphores
253253 dnl isn't loaded by default, so an attempt to call
254254 dnl sem_open results in a 'Signal 12' error.
@@ -259,7 +259,7 @@ index 9270b5f..7e3846c 100644
259259 AC_CACHE_CHECK([whether POSIX semaphores are enabled], [ac_cv_posix_semaphores_enabled],
260260 AC_RUN_IFELSE([
261261 AC_LANG_SOURCE([
262- @@ -5826 ,6 +5914 ,14 @@ AS_VAR_IF([ac_cv_posix_semaphores_enabled], [no], [
262+ @@ -5847 ,6 +5935 ,14 @@ AS_VAR_IF([ac_cv_posix_semaphores_enabled], [no], [
263263 ])
264264
265265 dnl Multiprocessing check for broken sem_getvalue
@@ -275,10 +275,10 @@ index 9270b5f..7e3846c 100644
275275 AC_RUN_IFELSE([
276276 AC_LANG_SOURCE([
277277diff --git a/pyconfig.h.in b/pyconfig.h.in
278- index 7d3537e..67cd2e7 100644
278+ index df4d29f..b359e13 100644
279279--- a/pyconfig.h.in
280280+++ b/pyconfig.h.in
281- @@ -1549 ,6 +1549 ,9 @@
281+ @@ -1552 ,6 +1552 ,9 @@
282282 /* Define if mvwdelch in curses.h is an expression. */
283283 #undef MVWDELCH_IS_EXPRESSION
284284
0 commit comments