python-setproctitle: unbreak musl

This commit is contained in:
Jürgen Buchmüller 2015-10-08 22:06:03 +02:00
parent 19b12ab1af
commit 9e2e831819
2 changed files with 14 additions and 1 deletions

View 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

View File

@ -1,7 +1,7 @@
# Template file for 'python-setproctitle'
pkgname=python-setproctitle
version=1.1.9
revision=1
revision=2
wrksrc="setproctitle-${version}"
build_style=python-module
python_versions="2.7 3.4"