Files
pkgsrc-ng/graphics/koverartist/patches/patch-ab
2013-09-26 17:14:40 +02:00

15 lines
316 B
Plaintext

$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
{