summaryrefslogtreecommitdiff
path: root/devel/py-game/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-game/patches/patch-aa')
-rw-r--r--devel/py-game/patches/patch-aa14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/py-game/patches/patch-aa b/devel/py-game/patches/patch-aa
new file mode 100644
index 00000000000..a1030d6f3c8
--- /dev/null
+++ b/devel/py-game/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/07/20 19:39:42 drochner Exp $
+
+--- src/draw.c.orig Thu Oct 16 08:13:22 2003
++++ src/draw.c Sun Jan 4 12:54:16 2004
+@@ -28,7 +28,9 @@
+
+ #ifdef _MSC_VER
+ #pragma warning (disable:4244)
++#endif
+
++#if defined(_MSC_VER) || defined(__NetBSD__) || defined (__FreeBSD__)
+ float trunc(float d)
+ {
+ if (d >= 0)