summaryrefslogtreecommitdiff
path: root/graphics/glitz/patches/patch-ab
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-08-03 19:33:55 +0000
committerrillig <rillig@pkgsrc.org>2006-08-03 19:33:55 +0000
commitaec9f02b0c4df532f952133b362bdfc3603f7068 (patch)
treeb4d2078439b7f8cc336a98b31e9e1e5dbc8d87f2 /graphics/glitz/patches/patch-ab
parent508628fdf24b0648fa6eef6d0bd8e8da7f188adf (diff)
downloadpkgsrc-aec9f02b0c4df532f952133b362bdfc3603f7068.tar.gz
Just fixing pkglint warnings doesn't help. Sometimes they are just
pointers that something else is wrong. In this case, the file contained _three_ instances of __sun__, but only two were in the patch, so pkglint could not warn on the third one. Now pango really builds on Solaris with SunPro (tested).
Diffstat (limited to 'graphics/glitz/patches/patch-ab')
-rw-r--r--graphics/glitz/patches/patch-ab15
1 files changed, 12 insertions, 3 deletions
diff --git a/graphics/glitz/patches/patch-ab b/graphics/glitz/patches/patch-ab
index 7d8ee0d53d0..f0e03659417 100644
--- a/graphics/glitz/patches/patch-ab
+++ b/graphics/glitz/patches/patch-ab
@@ -1,7 +1,16 @@
-$NetBSD: patch-ab,v 1.4 2006/08/03 18:22:17 rillig Exp $
+$NetBSD: patch-ab,v 1.5 2006/08/03 19:33:55 rillig Exp $
---- src/glitzint.h.orig 2006-07-07 11:24:14.200890000 +1200
-+++ src/glitzint.h
+--- src/glitzint.h.orig 2006-03-13 14:43:57.000000000 +0100
++++ src/glitzint.h 2006-08-03 20:59:16.783689410 +0200
+@@ -56,7 +56,7 @@
+ # endif
+ #endif
+
+-#if defined(__APPLE__) || defined(__sun__)
++#if defined(__APPLE__) || defined(__sun)
+ # define floorf(a) floor (a)
+ # define ceilf(a) ceil (a)
+ # define sinf(a) sin (a)
@@ -69,7 +69,7 @@
# define sqrtf(a) sqrt (a)
#endif