summaryrefslogtreecommitdiff
path: root/graphics/imlib2
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-01-23 19:42:59 +0000
committerwiz <wiz@pkgsrc.org>2005-01-23 19:42:59 +0000
commit66006dee950ca0ec207eca9767b59aa1bfcbc0a1 (patch)
tree519281ebf7537d6d822e86040611bca1e940e294 /graphics/imlib2
parentf5cfa10db070658a96b7185442e33dd1505e4f9d (diff)
downloadpkgsrc-66006dee950ca0ec207eca9767b59aa1bfcbc0a1.tar.gz
Add patch to fix build on 2.0, based on a suggestion by OBATA Akio in PR 28943.
Also closes PR 28984.
Diffstat (limited to 'graphics/imlib2')
-rw-r--r--graphics/imlib2/distinfo3
-rw-r--r--graphics/imlib2/patches/patch-aa13
2 files changed, 15 insertions, 1 deletions
diff --git a/graphics/imlib2/distinfo b/graphics/imlib2/distinfo
index db184ad89f3..cbd419bde78 100644
--- a/graphics/imlib2/distinfo
+++ b/graphics/imlib2/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.7 2005/01/11 13:37:54 adam Exp $
+$NetBSD: distinfo,v 1.8 2005/01/23 19:42:59 wiz Exp $
SHA1 (imlib2-1.2.0.tar.gz) = 54f8ef83b0eac3f8e7f2218705e02a425fa73118
Size (imlib2-1.2.0.tar.gz) = 890457 bytes
+SHA1 (patch-aa) = 03df5c153288d30db3b7b587b9ff47b7f44bd52b
diff --git a/graphics/imlib2/patches/patch-aa b/graphics/imlib2/patches/patch-aa
new file mode 100644
index 00000000000..801e5efa679
--- /dev/null
+++ b/graphics/imlib2/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.6 2005/01/23 19:43:00 wiz Exp $
+
+--- src/lib/color_helpers.h.orig 2004-11-01 10:39:42.000000000 +0100
++++ src/lib/color_helpers.h
+@@ -1,3 +1,8 @@
++#include <math.h>
++#ifndef lround
++#define lround (long int)round
++#endif
++
+ #ifndef __COLOR_HELPERS
+ #define __COLOR_HELPERS 1
+