LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File project.diff of Package Coin (Project home:cgiboudeaux:attic)

--- Coin.spec.orig
+++ Coin.spec
@@ -30,6 +30,8 @@ Patch0:         0012-memhandler-initiali
 # X-OPENSUSE-PATCH: Coin60.patch -- hack around library policy names
 Patch1:         Coin60.patch
 Patch2:         Coin.patch
+# PATCH-FIX_OPENSUSE: fix-freetype2-includes.patch -- fix build for older openSUSE versions
+Patch3:         fix-freetype2-includes.patch
 BuildRequires:  c++_compiler
 BuildRequires:  doxygen
 BuildRequires:  fdupes
@@ -95,6 +97,10 @@ sound, GLSL shaders, and additional file
 %patch0 -p1
 %patch1 -p0
 %patch2 -p1
+%if 0%{?suse_version} > 1310 && 0%{?suse_version} <= 1320 && 0%{?sle_version} != 120200
+%patch3 -p1
+%endif
+
 sed -i '/^#include "fonts\/freetype.h"$/i #include <cstdlib>\n#include <cmath>' src/fonts/freetype.cpp
 sed -i '/^#include <Inventor\/C\/basic.h>$/i #include <Inventor/C/errors/debugerror.h>' include/Inventor/SbBasic.h