pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/imlib2 Add patch to fix build on 2.0, based o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a1229869902c
branches:  trunk
changeset: 488014:a1229869902c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jan 23 19:42:59 2005 +0000

description:
Add patch to fix build on 2.0, based on a suggestion by OBATA Akio in PR 28943.
Also closes PR 28984.

diffstat:

 graphics/imlib2/distinfo         |   3 ++-
 graphics/imlib2/patches/patch-aa |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 2ff2673721bf -r a1229869902c graphics/imlib2/distinfo
--- a/graphics/imlib2/distinfo  Sun Jan 23 19:34:14 2005 +0000
+++ b/graphics/imlib2/distinfo  Sun Jan 23 19:42:59 2005 +0000
@@ -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 -r 2ff2673721bf -r a1229869902c graphics/imlib2/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/imlib2/patches/patch-aa  Sun Jan 23 19:42:59 2005 +0000
@@ -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
+ 



Home | Main Index | Thread Index | Old Index