From 7c26a79b27a8dfb41d5116eb756109214a228231 Mon Sep 17 00:00:00 2001 From: Maho Nakata Date: Sat, 19 Nov 2005 23:36:03 +0000 Subject: update to 1.4 Submitted by: "Pedro F. Giffuni" --- cad/calculix/files/patch-cgx_1.4+src+readFoam.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 cad/calculix/files/patch-cgx_1.4+src+readFoam.c (limited to 'cad/calculix/files/patch-cgx_1.4+src+readFoam.c') 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 ++//dirent.h should oveeride sys/dir.h... ++#include ++#if __FreeBSD_version > 500000 + #include ++#else ++#include ++#endif + + #define R_GAS 287.1 + #define kappa 1.4 -- cgit v1.2.3