Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=9027596934f7ab56a95d36d4918263c4e3f31364

commit 9027596934f7ab56a95d36d4918263c4e3f31364
Author: crazy <[EMAIL PROTECTED]>
Date:   Sun Apr 6 22:09:57 2008 +0200

boost-1.35.0-1-x86_64
* added gcc43 patch , 64bit only

diff --git a/source/devel-extra/boost/FrugalBuild 
b/source/devel-extra/boost/FrugalBuild
index 4447a49..8835413 100644
--- a/source/devel-extra/boost/FrugalBuild
+++ b/source/devel-extra/boost/FrugalBuild
@@ -14,9 +14,10 @@ makedepends=('boost-jam>=3.1.16' 'python' 'icu>=3.8' 'bzip2' 
'zlib')
groups=('devel-extra')
archs=('i686' 'x86_64')
up2date="lynx -dump http://sourceforge.net/project/showfiles.php?group_id=7586 
| grep 'Latest.*Notes' | sed -n 's/.*\]\([0-9\.]\+\) \[.*/\1/;1 p'"
-source=(${source/-$pkgver/_${pkgver//./_}})
+source=(${source/-$pkgver/_${pkgver//./_}} gcc43-x86_64.patch)
_F_cd_path="${pkgname}_`echo $pkgver|tr . _`"
-sha1sums=('80d1fe7b0c45541e2af7628295b18f2af996de16')
+sha1sums=('80d1fe7b0c45541e2af7628295b18f2af996de16' \
+          '93fa93d7d18abee65182dbd216dacc8317d9cbe3')

subpkgs=("libboost" "libboost-mt")
subdescs=('Boost libraries.' 'Boost libraries with multithreading support.')
diff --git a/source/devel-extra/boost/gcc43-x86_64.patch 
b/source/devel-extra/boost/gcc43-x86_64.patch
new file mode 100644
index 0000000..f353739
--- /dev/null
+++ b/source/devel-extra/boost/gcc43-x86_64.patch
@@ -0,0 +1,55 @@
+Index: trunk/boost/archive/polymorphic_iarchive.hpp
+===================================================================
+--- trunk/boost/archive/polymorphic_iarchive.hpp (revision 43694)
++++ trunk/boost/archive/polymorphic_iarchive.hpp (revision 43958)
+@@ -18,4 +18,5 @@
+
+ #include <cstddef> // std::size_t
++#include <climits> // ULONG_MAX
+ #include <boost/config.hpp>
+
+@@ -39,7 +40,14 @@
+ // if there is no 64 bit int or if its the same as a long
+ // we shouldn't define separate functions for int64 data types.
+-#if defined(BOOST_NO_INT64_T) \
+-    || (ULONG_MAX != 0xffffffff && ULONG_MAX == 18446744073709551615u) // 
2**64 - 1
+-#   define BOOST_NO_INTRINSIC_INT64_T
++#if defined(BOOST_NO_INT64_T)
++    #define BOOST_NO_INTRINSIC_INT64_T
++#else
++    #if defined(ULONG_MAX)
++        #if(ULONG_MAX != 0xffffffff && ULONG_MAX == 18446744073709551615u) // 
2**64 - 1
++            #define BOOST_NO_INTRINSIC_INT64_T
++        #endif
++    #else
++        #define BOOST_NO_INTRINSIC_INT64_T
++    #endif
+ #endif
+
+Index: trunk/boost/archive/polymorphic_oarchive.hpp
+===================================================================
+--- trunk/boost/archive/polymorphic_oarchive.hpp (revision 43694)
++++ trunk/boost/archive/polymorphic_oarchive.hpp (revision 43958)
+@@ -18,4 +18,5 @@
+
+ #include <cstddef> // size_t
++#include <climits> // ULONG_MAX
+ #include <string>
+
+@@ -38,7 +39,14 @@
+ // if there is no 64 bit int or if its the same as a long
+ // we shouldn't define separate functions for int64 data types.
+-#if defined(BOOST_NO_INT64_T) \
+-    || (ULONG_MAX != 0xffffffff && ULONG_MAX == 18446744073709551615u) // 
2**64 - 1
+-#   define BOOST_NO_INTRINSIC_INT64_T
++#if defined(BOOST_NO_INT64_T)
++    #define BOOST_NO_INTRINSIC_INT64_T
++#else
++    #if defined(ULONG_MAX)
++        #if(ULONG_MAX != 0xffffffff && ULONG_MAX == 18446744073709551615u) // 
2**64 - 1
++            #define BOOST_NO_INTRINSIC_INT64_T
++        #endif
++    #else
++        #define BOOST_NO_INTRINSIC_INT64_T
++    #endif
+ #endif
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to