diff options
author | Maho Nakata <maho@FreeBSD.org> | 2005-11-19 23:36:03 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2005-11-19 23:36:03 +0000 |
commit | 7c26a79b27a8dfb41d5116eb756109214a228231 (patch) | |
tree | 750acb4ae861a0404e04c84fee8386c2be9eb78e /cad/calculix/files/patch-cgx_1.4+src+readFoam.c | |
parent | Currently with "cpu I686_CPU" which is default, (diff) |
update to 1.4
Submitted by: "Pedro F. Giffuni" <giffunip@yahoo.com>
Diffstat (limited to 'cad/calculix/files/patch-cgx_1.4+src+readFoam.c')
-rw-r--r-- | cad/calculix/files/patch-cgx_1.4+src+readFoam.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cad/calculix/files/patch-cgx_1.4+src+readFoam.c b/cad/calculix/files/patch-cgx_1.4+src+readFoam.c new file mode 100644 index 000000000000..d8f0efafc1f4 --- /dev/null +++ b/cad/calculix/files/patch-cgx_1.4+src+readFoam.c @@ -0,0 +1,16 @@ +--- cgx_1.4/src/readFoam.c Tue Sep 13 06:34:28 2005 ++++ cgx_1.4/src/readFoam.c Sun Nov 20 08:27:42 2005 +@@ -4,7 +4,13 @@ + + + #include <cgx.h> ++//dirent.h should oveeride sys/dir.h... ++#include <osreldate.h> ++#if __FreeBSD_version > 500000 + #include <sys/dir.h> ++#else ++#include <dirent.h> ++#endif + + #define R_GAS 287.1 + #define kappa 1.4 |