summaryrefslogtreecommitdiff
path: root/media-gfx/freecad/files/freecad-0.12.5284-boost148.patch
blob: 4c9c735598d8781a951fca19dc3fa9977b993289 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From d6061d30a053617b8127c96e8c6a65e47589a182 Mon Sep 17 00:00:00 2001
From: Werner Mayer <werner@werner-VirtualBox.(none)>
Date: Sat, 31 Mar 2012 19:22:11 +0200
Subject: [PATCH] #0000585: bug with boost 1.48

---
 CMakeLists.txt |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 920aca7..9e3bbf5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -284,6 +284,8 @@ MARK_AS_ADVANCED(FORCE FREECAD_LIBPACK_CHECKFILE6X FREECAD_LIBPACK_CHECKFILE7X)
         # get include dirs
         QT4_GET_MOC_FLAGS(moc_flags)
         QT4_EXTRACT_OPTIONS(moc_files moc_options ${ARGN})
+        # fixes bug 0000585: bug with boost 1.48
+        SET(moc_options ${moc_options} -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED)
 
         foreach(it ${moc_files})
             get_filename_component(it ${it} ABSOLUTE)
-- 
1.7.9.2