From 4839f1cf24b8289c28777705cde74deab9869d0f Mon Sep 17 00:00:00 2001 From: jbu Date: Thu, 30 Jul 2015 13:14:28 +0200 Subject: [PATCH] boost: fix incorrect include path --- srcpkgs/boost/patches/fix_poll_h.patch | 15 +++++++++++++++ srcpkgs/boost/template | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/boost/patches/fix_poll_h.patch diff --git a/srcpkgs/boost/patches/fix_poll_h.patch b/srcpkgs/boost/patches/fix_poll_h.patch new file mode 100644 index 00000000000..c3805e68c58 --- /dev/null +++ b/srcpkgs/boost/patches/fix_poll_h.patch @@ -0,0 +1,15 @@ +The include path 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 + # if !defined(__SYMBIAN32__) +-# include ++# include + # endif + # include + # include diff --git a/srcpkgs/boost/template b/srcpkgs/boost/template index b1028e98c2f..0ff114bd580 100644 --- a/srcpkgs/boost/template +++ b/srcpkgs/boost/template @@ -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"