summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2014-06-21 10:46:22 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2014-06-21 10:46:22 +0000
commit1503c02fda5ce518417e8ef5520ea93d4435726f (patch)
tree94ac5bc6792cfbd6ea88ee093b038f9f11425801 /Build/source
parent65ea64308a4068db13bbe5f15e765c39efda6ab8 (diff)
libs/gd: Use ceil(), not ceill()
git-svn-id: svn://tug.org/texlive/trunk@34347 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/libs/gd/libgd-2.1.0-PATCHES/ChangeLog4
-rw-r--r--Build/source/libs/gd/libgd-2.1.0-PATCHES/patch-03-ceill12
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_bmp.c2
3 files changed, 17 insertions, 1 deletions
diff --git a/Build/source/libs/gd/libgd-2.1.0-PATCHES/ChangeLog b/Build/source/libs/gd/libgd-2.1.0-PATCHES/ChangeLog
index fe48d5c04b2..f7dd7300e94 100644
--- a/Build/source/libs/gd/libgd-2.1.0-PATCHES/ChangeLog
+++ b/Build/source/libs/gd/libgd-2.1.0-PATCHES/ChangeLog
@@ -1,3 +1,7 @@
+2014-06-20 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * patch-03-ceill (new): Replace ceill() by ceil() as everywhere.
+
2013-06-26 Peter Breitenlohner <peb@mppmu.mpg.de>
Imported libgd-2.1.0 source tree from:
diff --git a/Build/source/libs/gd/libgd-2.1.0-PATCHES/patch-03-ceill b/Build/source/libs/gd/libgd-2.1.0-PATCHES/patch-03-ceill
new file mode 100644
index 00000000000..f8fc797d69e
--- /dev/null
+++ b/Build/source/libs/gd/libgd-2.1.0-PATCHES/patch-03-ceill
@@ -0,0 +1,12 @@
+diff -ur libgd-2.1.0.orig/src/gd_bmp.c libgd-2.1.0/src/gd_bmp.c
+--- 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 2014-06-20 17:18:24.000000000 +0200
+@@ -792,7 +792,7 @@
+ }
+
+ /* 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;
+ }
diff --git a/Build/source/libs/gd/libgd-2.1.0/src/gd_bmp.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_bmp.c
index 0fc021909f1..5f39b67c3e4 100644
--- a/Build/source/libs/gd/libgd-2.1.0/src/gd_bmp.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_bmp.c
@@ -792,7 +792,7 @@ static int bmp_read_1bit(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, bmp
}
/* 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;
}