diff --git a/srcpkgs/python-setproctitle/patches/musl-linux_prctl_h.patch b/srcpkgs/python-setproctitle/patches/musl-linux_prctl_h.patch new file mode 100644 index 00000000000..2c0b47b060b --- /dev/null +++ b/srcpkgs/python-setproctitle/patches/musl-linux_prctl_h.patch @@ -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 /* for Linux >= 2.6.9 */ ++#if defined(__GLIBC__) + #include + #endif ++#endif + #if defined(__darwin__) + #include + #endif diff --git a/srcpkgs/python-setproctitle/template b/srcpkgs/python-setproctitle/template index bd8ebda08ac..c4caee7e829 100644 --- a/srcpkgs/python-setproctitle/template +++ b/srcpkgs/python-setproctitle/template @@ -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"