Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 201161 Details for
Bug 279160
sci-libs/openfoam-kernel fails to build with gcc-4.4
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch solving compilation errors with gcc-4.4/glibc-2.10
openfoam-kernel-1.5_p20090311-gcc4.4.patch (text/plain), 1.68 KB, created by
Dominik Kapusta (RETIRED)
on 2009-08-13 17:39:01 UTC
(
hide
)
Description:
Patch solving compilation errors with gcc-4.4/glibc-2.10
Filename:
MIME Type:
Creator:
Dominik Kapusta (RETIRED)
Created:
2009-08-13 17:39:01 UTC
Size:
1.68 KB
patch
obsolete
>diff --git a/src/OSspecific/Unix/signals/sigFpe.C b/src/OSspecific/Unix/signals/sigFpe.C >index e3bcf15..759f8c8 100644 >--- a/src/OSspecific/Unix/signals/sigFpe.C >+++ b/src/OSspecific/Unix/signals/sigFpe.C >@@ -39,6 +39,7 @@ License > > # include <fenv.h> > # include <malloc.h> >+# include <stdint.h> > > #elif defined(sgiN32) || defined(sgiN32Gcc) > >diff --git a/src/meshTools/triSurface/surfaceFeatures/surfaceFeatures.C b/src/meshTools/triSurface/surfaceFeatures/surfaceFeatures.C >index 9f858b9..25f2641 100644 >--- a/src/meshTools/triSurface/surfaceFeatures/surfaceFeatures.C >+++ b/src/meshTools/triSurface/surfaceFeatures/surfaceFeatures.C >@@ -763,10 +763,11 @@ Foam::Map<Foam::label> Foam::surfaceFeatures::nearestSamples > const scalarField& maxDist > ) const > { >+ treeBoundBox tbb(samples); > // Build tree out of all samples. > octree<octreeDataPoint> ppTree > ( >- treeBoundBox(samples), // overall search domain >+ tbb, // overall search domain > octreeDataPoint(samples), // all information needed to do checks > 1, // min levels > 20.0, // maximum ratio of cubes v.s. cells >@@ -864,10 +865,11 @@ Foam::Map<Foam::label> Foam::surfaceFeatures::nearestSamples > scalar maxSearch = max(maxDist); > vector span(maxSearch, maxSearch, maxSearch); > >+ treeBoundBox tbb(samples); > // octree.shapes holds reference! > octree<octreeDataPoint> ppTree > ( >- treeBoundBox(samples), // overall search domain >+ tbb, // overall search domain > octreeDataPoint(samples), // all information needed to do checks > 1, // min levels > 20.0, // maximum ratio of cubes v.s. cells
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 279160
:
199217
| 201161