summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/imlib2/distinfo4
-rw-r--r--graphics/imlib2/patches/patch-ab11
2 files changed, 10 insertions, 5 deletions
diff --git a/graphics/imlib2/distinfo b/graphics/imlib2/distinfo
index 432b4173cce..581f218f225 100644
--- a/graphics/imlib2/distinfo
+++ b/graphics/imlib2/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.12 2005/04/11 05:29:15 kim Exp $
+$NetBSD: distinfo,v 1.13 2005/10/10 16:35:45 joerg Exp $
SHA1 (imlib2-1.2.0.tar.gz) = 54f8ef83b0eac3f8e7f2218705e02a425fa73118
RMD160 (imlib2-1.2.0.tar.gz) = 158ed1bd7c59b8d1db2c00db98027d9c5c0abec3
Size (imlib2-1.2.0.tar.gz) = 890457 bytes
SHA1 (patch-aa) = 73e23778f6aaee5de213865aa64f9c5a4af6ba24
-SHA1 (patch-ab) = 42529ee0815cbb96ab29ac24a4ebb8eea0c754e2
+SHA1 (patch-ab) = d536d9aa1543d4fd5135a635cd7c4c2d6e550889
SHA1 (patch-ba) = 0a3937fc4d017356ba5d33f957426f9befc94730
SHA1 (patch-bb) = 9df1e76c3023c6f9714906b226293bc3e026baca
SHA1 (patch-bc) = 29365da268d210b4eb7bb431f815a78bcf22f1e3
diff --git a/graphics/imlib2/patches/patch-ab b/graphics/imlib2/patches/patch-ab
index 5ddb239efca..496672cc550 100644
--- a/graphics/imlib2/patches/patch-ab
+++ b/graphics/imlib2/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.7 2005/03/10 23:39:53 rillig Exp $
+$NetBSD: patch-ab,v 1.8 2005/10/10 16:35:45 joerg Exp $
This patch makes imlib2 compile on systems that don't have an lround
function, which is defined in C99.
@@ -7,10 +7,15 @@ Needed at least for NetBSD-1.6.2 and NetBSD-2.0.
--- src/lib/color_helpers.c.orig Sat Jan 8 08:55:02 2005
+++ src/lib/color_helpers.c Thu Mar 10 23:57:26 2005
-@@ -1,4 +1,13 @@
+@@ -1,4 +1,18 @@
#include "color_helpers.h"
+
-+#ifdef __NetBSD__
++#ifdef __DragonFly__
++#include <sys/param.h>
++#endif
++
++#if defined(__NetBSD__) || \
++ (defined(__DragonFly__) && __DragonFly_version <= 130002)
+#define lround(x) my_lround(x)
+static long my_lround(double x)
+{