summaryrefslogtreecommitdiff
path: root/meta-pkgs
diff options
context:
space:
mode:
authorjperkin <jperkin>2012-08-02 12:08:41 +0000
committerjperkin <jperkin>2012-08-02 12:08:41 +0000
commitebecff5dd64da758c9a3336e0b104ab9f70bbbd5 (patch)
tree11938333d10467798cf9e88c4abac86271a8723b /meta-pkgs
parent4291ba5b19a3b0543567ffbac51045ae5ae26931 (diff)
downloadpkgsrc-ebecff5dd64da758c9a3336e0b104ab9f70bbbd5.tar.gz
Include unistd.h for read() and close()
Fixes build on at least Solaris.
Diffstat (limited to 'meta-pkgs')
-rw-r--r--meta-pkgs/boost/distinfo3
-rw-r--r--meta-pkgs/boost/patches/patch-libs_filesystem_src_unique_path.cpp14
2 files changed, 16 insertions, 1 deletions
diff --git a/meta-pkgs/boost/distinfo b/meta-pkgs/boost/distinfo
index 9cdbd7f3180..7064c015ac5 100644
--- a/meta-pkgs/boost/distinfo
+++ b/meta-pkgs/boost/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.45 2012/07/03 19:46:30 adam Exp $
+$NetBSD: distinfo,v 1.46 2012/08/02 12:08:41 jperkin Exp $
SHA1 (boost_1_50_0.tar.bz2) = ee06f89ed472cf369573f8acf9819fbc7173344e
RMD160 (boost_1_50_0.tar.bz2) = 72e33875d768def47acb5ba8222da4fa56780bab
@@ -14,4 +14,5 @@ SHA1 (patch-aq) = e5c7b72ffa2942ce401f3d9bf05498fd761df17a
SHA1 (patch-ar) = 2fec2c51272cc4ee376e6538d8f1fd8561a7f0a3
SHA1 (patch-boost_foreach.hpp) = 7cd26c4983873bcac284ad400950e341c559f9a8
SHA1 (patch-boost_foreach_fwd.hpp) = 5accd68d559213a9677f7d1204e72dd082a42a41
+SHA1 (patch-libs_filesystem_src_unique_path.cpp) = 3666663305bba85871f2ef291dc117158c678643
SHA1 (patch-libs_signals_src_named_slot_map.cpp) = 42119b98857eb7e96ea29ac85c184eed46965295
diff --git a/meta-pkgs/boost/patches/patch-libs_filesystem_src_unique_path.cpp b/meta-pkgs/boost/patches/patch-libs_filesystem_src_unique_path.cpp
new file mode 100644
index 00000000000..9bd7c118e5d
--- /dev/null
+++ b/meta-pkgs/boost/patches/patch-libs_filesystem_src_unique_path.cpp
@@ -0,0 +1,14 @@
+$NetBSD: patch-libs_filesystem_src_unique_path.cpp,v 1.1 2012/08/02 12:08:41 jperkin Exp $
+
+Include unistd.h for read() and close()
+
+--- libs/filesystem/src/unique_path.cpp.orig Thu Aug 2 12:04:47 2012
++++ libs/filesystem/src/unique_path.cpp Thu Aug 2 12:04:55 2012
+@@ -21,6 +21,7 @@
+
+ # ifdef BOOST_POSIX_API
+ # include <fcntl.h>
++# include <unistd.h>
+ # else // BOOST_WINDOWS_API
+ # include <windows.h>
+ # include <wincrypt.h>