pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/imlib2 OpenBSD doesn't have lround.
details: https://anonhg.NetBSD.org/pkgsrc/rev/38739ccd8b93
branches: trunk
changeset: 502066:38739ccd8b93
user: hiramatsu <hiramatsu%pkgsrc.org@localhost>
date: Wed Nov 02 00:45:02 2005 +0000
description:
OpenBSD doesn't have lround.
diffstat:
graphics/imlib2/distinfo | 4 ++--
graphics/imlib2/patches/patch-ab | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (44 lines):
diff -r a5a2e34fef8f -r 38739ccd8b93 graphics/imlib2/distinfo
--- a/graphics/imlib2/distinfo Wed Nov 02 00:34:23 2005 +0000
+++ b/graphics/imlib2/distinfo Wed Nov 02 00:45:02 2005 +0000
@@ -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 -r a5a2e34fef8f -r 38739ccd8b93 graphics/imlib2/patches/patch-ab
--- a/graphics/imlib2/patches/patch-ab Wed Nov 02 00:34:23 2005 +0000
+++ b/graphics/imlib2/patches/patch-ab Wed Nov 02 00:45:02 2005 +0000
@@ -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 @@
+#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)
Home |
Main Index |
Thread Index |
Old Index