Merge pull request #2137 from pullmoll/boost

boost: fix incorrect include path
This commit is contained in:
Jürgen Buchmüller 2015-07-30 13:26:28 +02:00
commit 966dbab3f2
2 changed files with 16 additions and 1 deletions

View file

@ -0,0 +1,15 @@
The include path <sys/poll.h> is incorrect and packages
including socket_types.hpp fail to build with musl libc,
if the -Werror option is active, i.e. treat warnings as errors.
--- boost/asio/detail/socket_types.hpp 2015-03-23 21:24:12.000000000 +0100
+++ boost/asio/detail/socket_types.hpp 2015-07-30 13:10:47.719440415 +0200
@@ -54,7 +54,7 @@
#else
# include <sys/ioctl.h>
# if !defined(__SYMBIAN32__)
-# include <sys/poll.h>
+# include <poll.h>
# endif
# include <sys/types.h>
# include <sys/stat.h>

View file

@ -1,7 +1,7 @@
# Template file for 'boost'
pkgname=boost
version=1.58.0
revision=2
revision=3
wrksrc="${pkgname}_${version//\./_}"
hostmakedepends="bzip2-devel"
makedepends="zlib-devel bzip2-devel icu-devel"