diff --git a/SimGear-1.9.1-gcc44.patch b/SimGear-1.9.1-gcc44.patch new file mode 100644 index 0000000..091ff7d --- /dev/null +++ b/SimGear-1.9.1-gcc44.patch @@ -0,0 +1,11 @@ +--- SimGear-1.9.1.orig/simgear/debug/logstream.hxx 2009-01-25 13:00:32.000000000 +0100 ++++ SimGear-1.9.1/simgear/debug/logstream.hxx 2009-02-14 18:28:01.000000000 +0100 +@@ -29,6 +29,8 @@ + + #ifdef _MSC_VER + # include ++#else ++# include + #endif + + #include diff --git a/SimGear.spec b/SimGear.spec index 8ac3ae2..f75a791 100644 --- a/SimGear.spec +++ b/SimGear.spec @@ -1,6 +1,6 @@ Name: SimGear Version: 1.9.1 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Group: System Environment/Libraries Summary: Simulation library components @@ -12,6 +12,7 @@ Patch1: SimGear-1.9.0-notabbed_value_test.patch Patch2: SimGear-1.9.0-headers.patch Patch5: SimGear-1.9.1-untangle.patch Patch7: SimGear-1.9.0-more-archs.patch +Patch8: SimGear-1.9.1-gcc44.patch BuildRequires: openal-devel, plib-devel >= 1.8.5 BuildRequires: OpenSceneGraph-devel >= 2.6.0 BuildRequires: boost-devel >= 1.34.0 @@ -47,6 +48,9 @@ SimGear. %patch5 -p1 # Fix compiling on pcc and alpha %patch7 -p1 +# Fix compiling with gcc44 +%patch8 -p1 + chmod -x simgear/screen/GLBitmaps.cxx \ simgear/scene/model/persparam.?xx \ simgear/scene/sky/CloudShaderGeometry.?xx @@ -112,6 +116,10 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libsgxml.so %changelog +* Sun Feb 15 2009 Fabrice Bellet 1.9.1-2 +- Rebuild for newer OSG +- gcc44 compilation fix + * Tue Feb 03 2009 Fabrice Bellet 1.9.1-1 - New upstream release