summaryrefslogtreecommitdiff
path: root/graphics/imlib2
diff options
context:
space:
mode:
authorhiramatsu <hiramatsu@pkgsrc.org>2005-11-02 00:45:02 +0000
committerhiramatsu <hiramatsu@pkgsrc.org>2005-11-02 00:45:02 +0000
commit48d5d7bb209f02896c656aa5d623bc049dbc6639 (patch)
treea72b40dd6f74f27c356b2e3ebce96ade66893004 /graphics/imlib2
parent9dc3ac78a5cfc685256f8d28c38f48964b79a7bf (diff)
downloadpkgsrc-48d5d7bb209f02896c656aa5d623bc049dbc6639.tar.gz
OpenBSD doesn't have lround.
Diffstat (limited to 'graphics/imlib2')
-rw-r--r--graphics/imlib2/distinfo4
-rw-r--r--graphics/imlib2/patches/patch-ab8
2 files changed, 6 insertions, 6 deletions
diff --git a/graphics/imlib2/distinfo b/graphics/imlib2/distinfo
index 581f218f225..56cc8da0ecc 100644
--- a/graphics/imlib2/distinfo
+++ b/graphics/imlib2/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.13 2005/10/10 16:35:45 joerg Exp $
+$NetBSD: distinfo,v 1.14 2005/11/02 00:45:02 hiramatsu 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) = d536d9aa1543d4fd5135a635cd7c4c2d6e550889
+SHA1 (patch-ab) = 93b6cee1242ac971926df4418699a68d999e5482
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 496672cc550..cd9b608b724 100644
--- a/graphics/imlib2/patches/patch-ab
+++ b/graphics/imlib2/patches/patch-ab
@@ -1,12 +1,12 @@
-$NetBSD: patch-ab,v 1.8 2005/10/10 16:35:45 joerg Exp $
+$NetBSD: patch-ab,v 1.9 2005/11/02 00:45:02 hiramatsu Exp $
This patch makes imlib2 compile on systems that don't have an lround
function, which is defined in C99.
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
+--- src/lib/color_helpers.c.orig Sat Jan 8 16:55:02 2005
++++ src/lib/color_helpers.c Wed Nov 2 08:00:28 2005
@@ -1,4 +1,18 @@
#include "color_helpers.h"
+
@@ -14,7 +14,7 @@ Needed at least for NetBSD-1.6.2 and NetBSD-2.0.
+#include <sys/param.h>
+#endif
+
-+#if defined(__NetBSD__) || \
++#if defined(__NetBSD__) || defined(__OpenBSD__) || \
+ (defined(__DragonFly__) && __DragonFly_version <= 130002)
+#define lround(x) my_lround(x)
+static long my_lround(double x)