Package: freecad / 0.14.3702+dfsg-3

fix_FTBFS_on_precise.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Add needed #include. Fixes compilation on Ubuntu Precise, 
 the problem can appear in Debian too.
Origin: https://bugs.launchpad.net/ubuntu/+source/freecad/+bug/932723/comments/2
Author: Anton Gladky <gladky.anton@gmail.com>
Last-Update: 2012-02-17

Index: freecad/src/Mod/Image/Gui/GLImageBox.cpp
===================================================================
--- freecad.orig/src/Mod/Image/Gui/GLImageBox.cpp
+++ freecad/src/Mod/Image/Gui/GLImageBox.cpp
@@ -16,6 +16,7 @@
  *                                                                         *
  ***************************************************************************/
 
+#include <FL/glu.h>
 #include "PreCompiled.h"
 #ifndef _PreComp_
 # include <cmath>