mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 07:52:55 +02:00
Merge pull request #2137 from pullmoll/boost
boost: fix incorrect include path
This commit is contained in:
commit
966dbab3f2
2 changed files with 16 additions and 1 deletions
15
srcpkgs/boost/patches/fix_poll_h.patch
Normal file
15
srcpkgs/boost/patches/fix_poll_h.patch
Normal 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>
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'boost'
|
# Template file for 'boost'
|
||||||
pkgname=boost
|
pkgname=boost
|
||||||
version=1.58.0
|
version=1.58.0
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc="${pkgname}_${version//\./_}"
|
wrksrc="${pkgname}_${version//\./_}"
|
||||||
hostmakedepends="bzip2-devel"
|
hostmakedepends="bzip2-devel"
|
||||||
makedepends="zlib-devel bzip2-devel icu-devel"
|
makedepends="zlib-devel bzip2-devel icu-devel"
|
||||||
|
|
Loading…
Add table
Reference in a new issue