[packages] Boost: Add packages for all boost libs.
Patch by AlexanderS git-svn-id: svn://svn.openwrt.org/openwrt/packages@20365 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
11
libs/boost/patches/020-buildin-offsetof.patch
Normal file
11
libs/boost/patches/020-buildin-offsetof.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- boost_1_38_0/boost/python/detail/config.hpp 2007-11-25 19:07:19.000000000 +0100
|
||||
+++ boost_1_38_0/boost/python/detail/config.hpp 2010-02-26 02:06:26.000000000 +0100
|
||||
@@ -111,7 +111,7 @@
|
||||
# define BOOST_PYTHON_OFFSETOF(s_name, s_member) \
|
||||
((size_t)__INTADDR__(&(((s_name *)0)->s_member)))
|
||||
#else
|
||||
-# define BOOST_PYTHON_OFFSETOF offsetof
|
||||
+# define BOOST_PYTHON_OFFSETOF __builtin_offsetof
|
||||
#endif
|
||||
|
||||
// enable automatic library variant selection ------------------------------//
|
Reference in New Issue
Block a user