[gimp] fix lcms2 patch

Nils Philippsen nphilipp at fedoraproject.org
Thu Sep 19 15:50:13 UTC 2013


commit 3d2f3e1d7327acaf52eb26eb4b0c772eb538b0db
Author: Nils Philippsen <nils at redhat.com>
Date:   Thu Sep 19 17:49:49 2013 +0200

    fix lcms2 patch

 gimp-2.8.6-lcms2.patch |   20 ++++++++++++++------
 gimp.spec              |    5 ++++-
 2 files changed, 18 insertions(+), 7 deletions(-)
---
diff --git a/gimp-2.8.6-lcms2.patch b/gimp-2.8.6-lcms2.patch
index a63bd74..d9dedb4 100644
--- a/gimp-2.8.6-lcms2.patch
+++ b/gimp-2.8.6-lcms2.patch
@@ -1,10 +1,18 @@
-From 157e3f68f6196e071be0e43aad0f9ba96f29a9ec Mon Sep 17 00:00:00 2001
+From 8cff4692740cb6abd1eb87ba7d88e86aaab32099 Mon Sep 17 00:00:00 2001
 From: Nils Philippsen <nils at redhat.com>
-Date: Wed, 18 Sep 2013 16:45:45 +0200
+Date: Thu, 19 Sep 2013 17:45:48 +0200
 Subject: [PATCH] patch: lcms2
 
 Squashed commit of the following:
 
+commit c8e5735272fc436174b9969a41f3b16722f381f7
+Author: Nils Philippsen <nils at redhat.com>
+Date:   Thu Sep 19 17:38:46 2013 +0200
+
+    lcms: pretty code even better if syntactically correct
+
+    Thanks to Jehan for spotting this.
+
 commit fb40ab72c3e54be46df64916cf6f80cbd6924fbd
 Author: Michael Natterer <mitch at gimp.org>
 Date:   Tue Sep 25 20:56:54 2012 +0200
@@ -270,7 +278,7 @@ index 0d5d20f..c668c3e 100644
  
    if (config->display_intent ==
 diff --git a/modules/display-filter-lcms.c b/modules/display-filter-lcms.c
-index 30c5857..9a2350c 100644
+index 30c5857..e3052d7 100644
 --- a/modules/display-filter-lcms.c
 +++ b/modules/display-filter-lcms.c
 @@ -19,13 +19,20 @@
@@ -359,8 +367,8 @@ index 30c5857..9a2350c 100644
 +              else
 +                g_free (descData);
 +            }
-+#endif
 +        }
++#endif
  
 +#ifdef HAVE_LCMS1
        if (*name && ! g_utf8_validate (*name, -1, NULL))
@@ -473,7 +481,7 @@ index 30c5857..9a2350c 100644
      cmsCloseProfile (profile);
  }
 diff --git a/modules/display-filter-proof.c b/modules/display-filter-proof.c
-index 41967f5..c10463a 100644
+index 41967f5..5178395 100644
 --- a/modules/display-filter-proof.c
 +++ b/modules/display-filter-proof.c
 @@ -19,7 +19,12 @@
@@ -540,8 +548,8 @@ index 41967f5..c10463a 100644
 +
 +              g_free (descData);
 +            }
-+#endif
 +        }
++#endif
  
        cmsCloseProfile (profile);
      }
diff --git a/gimp.spec b/gimp.spec
index b1338fe..0f151f1 100644
--- a/gimp.spec
+++ b/gimp.spec
@@ -82,7 +82,7 @@ Summary:        GNU Image Manipulation Program
 Name:           gimp
 Epoch:          2
 Version:        2.8.6
-Release:        %{?prerelprefix}4%{dotprerel}%{dotgitrev}%{?dist}
+Release:        %{?prerelprefix}5%{dotprerel}%{dotgitrev}%{?dist}
 
 # Compute some version related macros
 # Ugly hack, you need to get your quoting backslashes/percent signs straight
@@ -622,6 +622,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %endif
 
 %changelog
+* Thu Sep 19 2013 Nils Philippsen <nils at redhat.com> - 2:2.8.6-5
+- fix lcms2 patch
+
 * Wed Sep 18 2013 Nils Philippsen <nils at redhat.com> - 2:2.8.6-4
 - build against lcms2
 


More information about the scm-commits mailing list