]> git.pld-linux.org Git - packages/gimp.git/blob - gimp-sanity.patch
- work around broken sanity checks so it works with current babl and gegl
[packages/gimp.git] / gimp-sanity.patch
1 --- gimp/app/sanity.c~  2008-11-20 23:43:08.000000000 +0100
2 +++ gimp/app/sanity.c   2009-07-16 14:31:04.372896443 +0200
3 @@ -268,7 +268,8 @@
4  
5    if (babl_major_version < BABL_REQUIRED_MAJOR ||
6        babl_minor_version < BABL_REQUIRED_MINOR ||
7 -      babl_micro_version < BABL_REQUIRED_MICRO)
8 +      (babl_minor_version == BABL_REQUIRED_MINOR &&
9 +       babl_micro_version < BABL_REQUIRED_MICRO))
10      {
11        return g_strdup_printf
12          ("BABL version too old!\n\n"
13 --- gimp/app/sanity.c~  2009-07-16 14:32:02.917908312 +0200
14 +++ gimp/app/sanity.c   2009-07-16 14:34:55.401254723 +0200
15 @@ -307,7 +307,8 @@
16  
17    if (gegl_major_version < GEGL_REQUIRED_MAJOR ||
18        gegl_minor_version < GEGL_REQUIRED_MINOR ||
19 -      gegl_micro_version < GEGL_REQUIRED_MICRO)
20 +      (gegl_minor_version == GEGL_REQUIRED_MINOR &&
21 +       gegl_micro_version < GEGL_REQUIRED_MICRO))
22      {
23        return g_strdup_printf
24          ("GEGL version too old!\n\n"
This page took 0.162406 seconds and 3 git commands to generate.