pkgsrc/cad/oce/patches/patch-src_StepFile_recfile.pc
fhajny ffe0cd51cf Import OCE 0.18 as cad/oce, based on wip/oce.
Opencascade Community Edition project gathers patches/changes/improvements
from the OCC community over the latest release.

Open CASCADE Technology is a software development platform freely available
in open source. It includes C++ components for 3D surface and solid modeling,
visualization, data exchange and rapid application development.
2017-01-20 11:00:50 +00:00

15 lines
468 B
PkgConfig

$NetBSD: patch-src_StepFile_recfile.pc,v 1.1 2017/01/20 11:00:50 fhajny Exp $
malloc.h must not be included on fbsd.
--- src/StepFile/recfile.pc.orig 2015-09-25 14:19:16.000000000 +0000
+++ src/StepFile/recfile.pc
@@ -16,7 +16,7 @@
#include "stdio.h"
#include "string.h"
#include "stdlib.h"
-#if (!defined(_WIN32) && !defined(__APPLE__))
+#if (!defined(_WIN32) && !defined(__APPLE__) && !defined(__FreeBSD__))
#include "malloc.h"
#endif
#include "recfile.ph"