pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/gimp-color-manager Fix two C99-isms to make t...
details: https://anonhg.NetBSD.org/pkgsrc/rev/90a98a37f1f3
branches: trunk
changeset: 495551:90a98a37f1f3
user: kristerw <kristerw%pkgsrc.org@localhost>
date: Mon Jun 13 22:42:01 2005 +0000
description:
Fix two C99-isms to make this package compile with gcc 2.95.
diffstat:
graphics/gimp-color-manager/distinfo | 3 +-
graphics/gimp-color-manager/patches/patch-ab | 32 ++++++++++++++++++++++++++++
2 files changed, 34 insertions(+), 1 deletions(-)
diffs (48 lines):
diff -r 84c6ac4e57e0 -r 90a98a37f1f3 graphics/gimp-color-manager/distinfo
--- a/graphics/gimp-color-manager/distinfo Mon Jun 13 20:39:47 2005 +0000
+++ b/graphics/gimp-color-manager/distinfo Mon Jun 13 22:42:01 2005 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/05/15 16:33:25 drochner Exp $
+$NetBSD: distinfo,v 1.2 2005/06/13 22:42:01 kristerw Exp $
SHA1 (gimp-color-manager-0.1.0.tar.gz) = fd269dea52d534ba2d8db32764a43d18135dccf3
RMD160 (gimp-color-manager-0.1.0.tar.gz) = f5c0a04bea3a54e0aef584d19f2f87adb3690183
Size (gimp-color-manager-0.1.0.tar.gz) = 244006 bytes
SHA1 (patch-aa) = ac4d55318ab2010909c7b7d954b89548ea31a7f8
+SHA1 (patch-ab) = 19012d13470493fea3e2a0d90ca75cf5f43e667a
diff -r 84c6ac4e57e0 -r 90a98a37f1f3 graphics/gimp-color-manager/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gimp-color-manager/patches/patch-ab Mon Jun 13 22:42:01 2005 +0000
@@ -0,0 +1,32 @@
+$NetBSD: patch-ab,v 1.1 2005/06/13 22:42:02 kristerw Exp $
+
+--- src/interface.c.orig Tue Jun 14 00:26:36 2005
++++ src/interface.c Tue Jun 14 00:27:48 2005
+@@ -526,10 +526,10 @@
+
+ if(ui_state->cm_have_embedded)
+ {
++ char msgstring[MAXPATHLEN];
+ delete_embed_profile((gint32) data);
+ gtk_button_set_label(GTK_BUTTON(embed_profile_button),ENBED_BUT_NAME);
+ ui_state->cm_have_embedded = FALSE;
+- char msgstring[MAXPATHLEN];
+ sprintf (msgstring," <span foreground=\"red\">%s</span>", "no profile attached");
+ gtk_label_set_markup (GTK_LABEL (emb_lbl),msgstring);
+ return;
+@@ -542,12 +542,13 @@
+ parasite = gimp_image_parasite_find ((gint32) data, "icc-profile");
+ if (parasite)
+ {
+- gtk_button_set_label(GTK_BUTTON(embed_profile_button),ENBED_BUT_NAME2);
+ gint profile_size = 0;
+ guchar *icc_profile;
++ cmsHPROFILE *out;
++ gtk_button_set_label(GTK_BUTTON(embed_profile_button),ENBED_BUT_NAME2);
+ profile_size = gimp_parasite_data_size (parasite);
+ icc_profile =(guchar *) gimp_parasite_data (parasite);
+- cmsHPROFILE *out = cmsOpenProfileFromMem (icc_profile, profile_size);
++ out = cmsOpenProfileFromMem (icc_profile, profile_size);
+ gimp_parasite_free (parasite);
+ ui_state->cm_have_embedded = TRUE;
+ if(out)
Home |
Main Index |
Thread Index |
Old Index