Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mcepl:branches:devel:languages:python:Factory
python36
broken-nice-configure-missint-include.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File broken-nice-configure-missint-include.patch of Package python36
From 533a21b4794fa30cd519710afa3153c547fb46c7 Mon Sep 17 00:00:00 2001 From: ngie-eign <1574099+ngie-eign@users.noreply.github.com> Date: Mon, 25 Feb 2019 21:34:24 -0800 Subject: [PATCH] fix `broken nice` configure test. Per POSIX, `nice(3)` requires `unistd.h` and `exit(3)` requires `stdlib.h`. Fixing the test will prevent false positives with pedantic compilers like clang. Code is from gh#python/cpython!12041 (released upstream in 3.8.0) Fixes: bpo#13497 Patch: broken-nice-configure-missint-include.patch --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index b1b14c8264d..3909a6ae53e 100644 --- a/configure.ac +++ b/configure.ac @@ -4988,6 +4988,8 @@ LIBS=$LIBS_no_readline AC_MSG_CHECKING(for broken nice()) AC_CACHE_VAL(ac_cv_broken_nice, [ AC_RUN_IFELSE([AC_LANG_SOURCE([[ +#include <stdlib.h> +#include <unistd.h> int main() { int val1 = nice(1); -- 2.46.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor