summary refs log tree commit diff
path: root/pkgs/development/libraries/libbsd/musl.patch
diff options
context:
space:
mode:
authorWill Dietz <github@wdtz.org>2018-10-13 21:46:03 -0500
committerGitHub <noreply@github.com>2018-10-13 21:46:03 -0500
commit7f3f1fd424aae58cb9e94702539da0a684454a8c (patch)
tree82b2ac464dc1d81fd8395ff1ea5f148665a4ffe2 /pkgs/development/libraries/libbsd/musl.patch
parentf0c141543601bf8d0637ffcfcb1de1114c06f933 (diff)
parente2f8d7bd447bf06496cf3f8c151ccbb58e08ebbe (diff)
downloadnixlib-7f3f1fd424aae58cb9e94702539da0a684454a8c.tar
nixlib-7f3f1fd424aae58cb9e94702539da0a684454a8c.tar.gz
nixlib-7f3f1fd424aae58cb9e94702539da0a684454a8c.tar.bz2
nixlib-7f3f1fd424aae58cb9e94702539da0a684454a8c.tar.lz
nixlib-7f3f1fd424aae58cb9e94702539da0a684454a8c.tar.xz
nixlib-7f3f1fd424aae58cb9e94702539da0a684454a8c.tar.zst
nixlib-7f3f1fd424aae58cb9e94702539da0a684454a8c.zip
Merge pull request #48355 from dtzWill/fix/libbsd-musl-again
libbsd: fix build w/musl by adding missing include
Diffstat (limited to 'pkgs/development/libraries/libbsd/musl.patch')
-rw-r--r--pkgs/development/libraries/libbsd/musl.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libbsd/musl.patch b/pkgs/development/libraries/libbsd/musl.patch
new file mode 100644
index 000000000000..fc07cfb6e855
--- /dev/null
+++ b/pkgs/development/libraries/libbsd/musl.patch
@@ -0,0 +1,14 @@
+Source: maxice8
+Upstream: no
+Reason: fixes compilation
+
+--- a/src/flopen.c
++++ b/src/flopen.c
+@@ -34,6 +34,7 @@
+ #include <errno.h>
+ #include <stdarg.h>
+ #include <unistd.h>
++#include <fcntl.h>
+ 
+ #include <libutil.h>
+