awesome/build-utils
Uli Schlachter 41bc77d64c Bump minimum lgi dependency to 0.7.0
Before commit 1b2826 in lgi, the get_rgba() function on cairo SolidPatterns was
specified like this:

    get_rgba = { ret = cairo.Status,
                 { ti.double, dir = 'out' },
                 { ti.double, dir = 'out' },
                 { ti.double, dir = 'out' } },

The above commit fixed this (without saying so) and the code became:

    get_rgba = { ret = cairo.Status,
                 { ti.double, dir = 'out' },
                 { ti.double, dir = 'out' },
                 { ti.double, dir = 'out' },
                 { ti.double, dir = 'out' } },

The prototype for the corresponding cairo function is:

cairo_public cairo_status_t
cairo_pattern_get_rgba (cairo_pattern_t *pattern,
                        double *red, double *green,
                        double *blue, double *alpha);

As you see, this functions gets four double* as arguments and it will save its
result via those pointers. Old versions of lgi call this function with too few
arguments and this will cause a segmentation fault when cairo dereferences an
invalid pointer.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2014-03-17 17:52:09 +01:00
..
atoms-ext.sh atoms: autogenerate atom list 2008-06-30 20:05:53 +02:00
atoms-int.sh atoms: drop useless strlen usage 2009-04-18 13:37:01 +02:00
dist.sh build: dist now build .xz instead of .gz 2009-11-26 20:03:17 +01:00
git-version-stamp.sh build: stop using dashed git commands 2008-09-01 15:13:19 +02:00
lgi-check.sh Bump minimum lgi dependency to 0.7.0 2014-03-17 17:52:09 +01:00