python-setproctitle: unbreak musl
This commit is contained in:
parent
19b12ab1af
commit
9e2e831819
2 changed files with 14 additions and 1 deletions
13
srcpkgs/python-setproctitle/patches/musl-linux_prctl_h.patch
Normal file
13
srcpkgs/python-setproctitle/patches/musl-linux_prctl_h.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
--- src/spt_status.c 2015-07-20 00:44:29.000000000 +0200
|
||||||
|
+++ src/spt_status.c 2015-10-08 22:04:23.899182363 +0200
|
||||||
|
@@ -55,8 +55,10 @@
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_SYS_PRCTL_H
|
||||||
|
#include <sys/prctl.h> /* for Linux >= 2.6.9 */
|
||||||
|
+#if defined(__GLIBC__)
|
||||||
|
#include <linux/prctl.h>
|
||||||
|
#endif
|
||||||
|
+#endif
|
||||||
|
#if defined(__darwin__)
|
||||||
|
#include <crt_externs.h>
|
||||||
|
#endif
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python-setproctitle'
|
# Template file for 'python-setproctitle'
|
||||||
pkgname=python-setproctitle
|
pkgname=python-setproctitle
|
||||||
version=1.1.9
|
version=1.1.9
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="setproctitle-${version}"
|
wrksrc="setproctitle-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
python_versions="2.7 3.4"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue