summaryrefslogtreecommitdiff
path: root/graphics/koverartist/patches/patch-ab
blob: 85d4e80d138680b084cd9497d21358b03e34907e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ab,v 1.3 2012/04/15 04:19:20 markd Exp $

--- renderer.cpp.orig	2011-06-05 14:23:26.000000000 +0000
+++ renderer.cpp
@@ -32,6 +32,9 @@
 #include <math.h>
 #include <iostream>
 
+#if defined(__NetBSD__) || defined(__DragonFly__)
+#define fmin(a,b) ((a)<(b)?(a):(b))
+#endif
 
 namespace KoverArtist
 {