pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/imlib2 Also use the lround workaround on olde...
details: https://anonhg.NetBSD.org/pkgsrc/rev/bade7c2bf6da
branches: trunk
changeset: 500570:bade7c2bf6da
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Oct 10 16:35:45 2005 +0000
description:
Also use the lround workaround on older DragonFly systems.
diffstat:
graphics/imlib2/distinfo | 4 ++--
graphics/imlib2/patches/patch-ab | 11 ++++++++---
2 files changed, 10 insertions(+), 5 deletions(-)
diffs (43 lines):
diff -r 62685b0b948d -r bade7c2bf6da graphics/imlib2/distinfo
--- a/graphics/imlib2/distinfo Mon Oct 10 16:31:59 2005 +0000
+++ b/graphics/imlib2/distinfo Mon Oct 10 16:35:45 2005 +0000
@@ -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 -r 62685b0b948d -r bade7c2bf6da graphics/imlib2/patches/patch-ab
--- a/graphics/imlib2/patches/patch-ab Mon Oct 10 16:31:59 2005 +0000
+++ b/graphics/imlib2/patches/patch-ab Mon Oct 10 16:35:45 2005 +0000
@@ -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 @@
--- 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)
+{
Home |
Main Index |
Thread Index |
Old Index