diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-12-15 14:12:00 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-12-15 14:12:00 +0100 |
commit | 24db4fb9b27f4ea87b3ecdf8fd4dd07b62ba9514 (patch) | |
tree | cec2d85b768a617ae371837eec7069e7f155e568 /package/libgd/patches/patch-src_gd_bmp_c | |
parent | f377248abda877e2a945f4152e3e57bbaaeec1ca (diff) | |
parent | 7260a427d88f1cbfcd8534c5f7805b4b56efb544 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/libgd/patches/patch-src_gd_bmp_c')
-rw-r--r-- | package/libgd/patches/patch-src_gd_bmp_c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/libgd/patches/patch-src_gd_bmp_c b/package/libgd/patches/patch-src_gd_bmp_c new file mode 100644 index 000000000..cfbffca74 --- /dev/null +++ b/package/libgd/patches/patch-src_gd_bmp_c @@ -0,0 +1,11 @@ +--- libgd-2.1.0.orig/src/gd_bmp.c 2013-06-25 11:58:23.000000000 +0200 ++++ libgd-2.1.0/src/gd_bmp.c 2013-12-08 16:23:11.000000000 +0100 +@@ -792,7 +792,7 @@ static int bmp_read_1bit(gdImagePtr im, + } + + /* The line must be divisible by 4, else its padded with NULLs */ +- padding = ((int)ceill(0.1 * info->width)) % 4; ++ padding = ((int)ceil(0.1 * info->width)) % 4; + if (padding) { + padding = 4 - padding; + } |