diff options
author | rillig <rillig@pkgsrc.org> | 2007-09-20 17:32:49 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-09-20 17:32:49 +0000 |
commit | 619701de668c9dbec632a36cddbc93607b7f449d (patch) | |
tree | 466133cb8cf796eb8666d592399f11b4adb0725a /print/libgnomeprint | |
parent | afebefe3c249071682fc91941c06ed3404154bf1 (diff) | |
download | pkgsrc-619701de668c9dbec632a36cddbc93607b7f449d.tar.gz |
Fixed a build failure with sunpro.
Diffstat (limited to 'print/libgnomeprint')
-rw-r--r-- | print/libgnomeprint/distinfo | 3 | ||||
-rw-r--r-- | print/libgnomeprint/patches/patch-ad | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/print/libgnomeprint/distinfo b/print/libgnomeprint/distinfo index a471198d00e..f56a1ffc7f4 100644 --- a/print/libgnomeprint/distinfo +++ b/print/libgnomeprint/distinfo @@ -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 @@ Size (libgnomeprint-2.18.2.tar.bz2) = 867762 bytes SHA1 (patch-aa) = 73dffa07cb1218b41784563dc822c08b3455fd59 SHA1 (patch-ab) = 04499f4ce10315b894d85228588c24e9576f4df3 SHA1 (patch-ac) = 907b2ec2c194ae10d7fe7eea6e2e52a128b5ca14 +SHA1 (patch-ad) = b54abd8eddaf2bc69871d3797bcbec73e3ea6049 diff --git a/print/libgnomeprint/patches/patch-ad b/print/libgnomeprint/patches/patch-ad new file mode 100644 index 00000000000..a00b687d669 --- /dev/null +++ b/print/libgnomeprint/patches/patch-ad @@ -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) { |