pkgsrc/graphics/cal3d/patches/patch-ab
2006-04-28 16:49:51 +00:00

20 lines
605 B
Text

$NetBSD: patch-ab,v 1.2 2006/04/28 16:49:51 joerg Exp $
--- src/cal3d/cal3d_wrapper.h.orig 2003-08-13 16:00:49.000000000 +0000
+++ src/cal3d/cal3d_wrapper.h
@@ -45,12 +45,13 @@
// Defines for Linux, Cygwin, FreeBSD Sun and Mips //
//****************************************************************************//
-#if defined(__linux__) \
+#if defined(__NetBSD__) \
+ || defined(__linux__) \
|| (__CYGWIN__) \
|| (sun) \
|| (mips) \
|| (__FreeBSD__) \
- || defined(__APPLE__)
+ || defined(__APPLE__) || defined(__DragonFly__)
#define CAL3D_WRAPPER_API