anjuta: unbreak musl
This commit is contained in:
parent
7da249e60f
commit
bd24b194f4
2 changed files with 14 additions and 1 deletions
13
srcpkgs/anjuta/patches/fix-unistd_h.patch
Normal file
13
srcpkgs/anjuta/patches/fix-unistd_h.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
Fix wrong include for musl libc.
|
||||||
|
|
||||||
|
--- launcher/anjuta-launcher.c 2014-10-17 21:35:31.000000000 +0200
|
||||||
|
+++ launcher/anjuta-launcher.c 2015-09-09 22:09:06.719400546 +0200
|
||||||
|
@@ -22,7 +22,7 @@
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
-#include <sys/unistd.h>
|
||||||
|
+#include <unistd.h>
|
||||||
|
#include <sys/wait.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <glib.h>
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'anjuta'
|
# Template file for 'anjuta'
|
||||||
pkgname=anjuta
|
pkgname=anjuta
|
||||||
version=3.16.0
|
version=3.16.0
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
build_options="gir"
|
build_options="gir"
|
||||||
configure_args="$(vopt_enable gir introspection)"
|
configure_args="$(vopt_enable gir introspection)"
|
||||||
|
|
Loading…
Reference in a new issue