pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/libgnomeprint Fixed a build failure with sunpro.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a117445fda86
branches:  trunk
changeset: 533504:a117445fda86
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Sep 20 17:32:49 2007 +0000

description:
Fixed a build failure with sunpro.

diffstat:

 print/libgnomeprint/distinfo         |   3 ++-
 print/libgnomeprint/patches/patch-ad |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 35b9bb705e07 -r a117445fda86 print/libgnomeprint/distinfo
--- a/print/libgnomeprint/distinfo      Thu Sep 20 17:28:48 2007 +0000
+++ b/print/libgnomeprint/distinfo      Thu Sep 20 17:32:49 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.25 2007/09/18 20:00:05 drochner Exp $
+$NetBSD: distinfo,v 1.26 2007/09/20 17:32:49 rillig Exp $
 
 SHA1 (libgnomeprint-2.18.2.tar.bz2) = 25c468b78fedfc708b26e95941d51dddbbf25562
 RMD160 (libgnomeprint-2.18.2.tar.bz2) = 53126d1ff565e1fefd66d33eb6380a6a55c5a1cc
@@ -6,3 +6,4 @@
 SHA1 (patch-aa) = 73dffa07cb1218b41784563dc822c08b3455fd59
 SHA1 (patch-ab) = 04499f4ce10315b894d85228588c24e9576f4df3
 SHA1 (patch-ac) = 907b2ec2c194ae10d7fe7eea6e2e52a128b5ca14
+SHA1 (patch-ad) = b54abd8eddaf2bc69871d3797bcbec73e3ea6049
diff -r 35b9bb705e07 -r a117445fda86 print/libgnomeprint/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/libgnomeprint/patches/patch-ad      Thu Sep 20 17:32:49 2007 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ad,v 1.1 2007/09/20 17:32:49 rillig Exp $
+
+The sunpro compiler is picky about the signedness of pointer targets in
+the ternary operator.
+
+--- gpa-utils.c.orig   Fri Mar  2 23:52:48 2007
++++ gpa-utils.c        Thu Sep 20 19:23:04 2007
+@@ -115,7 +115,7 @@
+       }
+ 
+       if (strcmp (G_OBJECT_TYPE_NAME (node), "GPAKey") == 0)
+-              g_print (" {%s}", ((GPAKey *) node)->value ? ((GPAKey *) node)->value : "");
++              g_print (" {%s}", ((GPAKey *) node)->value ? (const char *)((GPAKey *) node)->value : "");
+       if (strcmp (G_OBJECT_TYPE_NAME (node), "GPAState") == 0)
+               g_print (" state: [%s]", ((GPAState *) node)->value);
+       if (strcmp (G_OBJECT_TYPE_NAME (node), "GPAOption") == 0) {



Home | Main Index | Thread Index | Old Index