summaryrefslogtreecommitdiff
path: root/testing/libreoffice/buildfix_boost.diff
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-25 11:33:12 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-25 11:33:12 -0300
commit8b3071c77c79bbf0f373ca9b8ce0795c55d03669 (patch)
tree0b9c9ccac567cbaf87b22dcd32f10ceed2db065c /testing/libreoffice/buildfix_boost.diff
parent0d18015803bebeb58911bf791653597291056095 (diff)
parent43983783a3e8bf61896eb93a2858a14bbaf3a53b (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/compiz-bcop/PKGBUILD community/compiz-fusion-plugins-extra/PKGBUILD community/compiz-fusion-plugins-main/PKGBUILD community/emerald/PKGBUILD community/gmic/PKGBUILD community/libcompizconfig/PKGBUILD core/xinetd/PKGBUILD extra/archboot/PKGBUILD extra/kdeplasma-addons/PKGBUILD extra/kipi-plugins/PKGBUILD extra/libmpdclient/PKGBUILD extra/live-media/PKGBUILD extra/mysql/PKGBUILD extra/pyopenssl/PKGBUILD extra/r/PKGBUILD extra/telepathy-mission-control/PKGBUILD libre/libretools/PKGBUILD multilib-testing/lib32-mesa/PKGBUILD multilib/lib32-libldap/PKGBUILD multilib/lib32-libldap/ntlm.patch multilib/wine/PKGBUILD testing/mesa/PKGBUILD
Diffstat (limited to 'testing/libreoffice/buildfix_boost.diff')
-rw-r--r--testing/libreoffice/buildfix_boost.diff40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/libreoffice/buildfix_boost.diff b/testing/libreoffice/buildfix_boost.diff
new file mode 100644
index 000000000..d8608d0d4
--- /dev/null
+++ b/testing/libreoffice/buildfix_boost.diff
@@ -0,0 +1,40 @@
+From bae4fdbd105142cd3f317445eddc826da529a732 Mon Sep 17 00:00:00 2001
+From: Caolán McNamara <caolanm@redhat.com>
+Date: Tue, 05 Apr 2011 14:07:02 +0000
+Subject: silence some more of that annoying gcc#47679
+
+---
+diff --git a/boost/boost.gcc47679.patch b/boost/boost.gcc47679.patch
+index 1c804aa..9b33a5f 100644
+--- a/boost/boost.gcc47679.patch
++++ b/boost/boost.gcc47679.patch
+@@ -36,3 +36,26 @@
+ template <int MaxDigits>
+ inline bool allow_more_digits(std::size_t i)
+ {
++--- misc/boost_1_44_0/boost/optional/optional.hpp 2011-04-05 13:19:01.223587256 +0100
+++++ misc/build/boost_1_44_0/boost/optional/optional.hpp 2011-04-05 13:19:01.223587256 +0100
++@@ -31,6 +31,8 @@
++
++ #include "boost/optional/optional_fwd.hpp"
++
+++#include <string.h>
+++
++ #if BOOST_WORKAROUND(BOOST_MSVC, == 1200)
++ // VC6.0 has the following bug:
++ // When a templated assignment operator exist, an implicit conversion
++@@ -114,6 +116,11 @@
++
++ public:
++
+++ aligned_storage()
+++ {
+++ memset(&dummy_, 0, sizeof(dummy_));
+++ }
+++
++ void const* address() const { return &dummy_.data[0]; }
++ void * address() { return &dummy_.data[0]; }
++ } ;
+--
+cgit v0.8.3-6-g21f6
+