diff options
Diffstat (limited to 'science')
-rw-r--r-- | science/elmer-fem/Makefile | 4 | ||||
-rw-r--r-- | science/elmer-fem/files/patch-src+f_stubs.c | 12 |
2 files changed, 12 insertions, 4 deletions
diff --git a/science/elmer-fem/Makefile b/science/elmer-fem/Makefile index 19361037f021..caafaef05332 100644 --- a/science/elmer-fem/Makefile +++ b/science/elmer-fem/Makefile @@ -41,10 +41,6 @@ PLIST_SUB= ARCH=${MACHINE_ARCH} .include <bsd.port.pre.mk> -.if ${OSVERSION} < 500000 -BROKEN= Does not compile on ${OSREL} -.endif - .if ${ARCH} == "amd64" || ${ARCH} == "ia64" CFLAGS+= -fPIC FCFLAGS+= -fPIC diff --git a/science/elmer-fem/files/patch-src+f_stubs.c b/science/elmer-fem/files/patch-src+f_stubs.c new file mode 100644 index 000000000000..310c7e2162cf --- /dev/null +++ b/science/elmer-fem/files/patch-src+f_stubs.c @@ -0,0 +1,12 @@ +--- src/f_stubs.c.orig Mon Aug 29 05:07:45 2005 ++++ src/f_stubs.c Thu May 4 22:56:30 2006 +@@ -13,8 +13,8 @@ + + #else + +-#include <sys/resource.h> + #include <sys/time.h> ++#include <sys/resource.h> + #include <sys/times.h> + #include <sys/param.h> + |