summaryrefslogtreecommitdiff
path: root/print/panda/files/patch-images.c
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-06-20 16:23:28 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-06-20 16:23:28 +0000
commit7ae7b018ccf7760013f368fcb83aad9ecd8982a8 (patch)
treee83ee6693050a76e305a95a376451aa583df151e /print/panda/files/patch-images.c
parenttextproc/rubygem-gitlab-grit: make it work with rubygem-mime-types again (diff)
With the power of USES=dos2unix, get rid of most patches and files
with CRLF. While there, run make makepatch, rename patches to use the new scheme, and various fixes. With hat: portmgr Sponsored by: Absolight
Diffstat (limited to 'print/panda/files/patch-images.c')
-rw-r--r--print/panda/files/patch-images.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/print/panda/files/patch-images.c b/print/panda/files/patch-images.c
index 9091205519c0..ed5cfbbf68e7 100644
--- a/print/panda/files/patch-images.c
+++ b/print/panda/files/patch-images.c
@@ -1,6 +1,6 @@
---- ./images.c.orig 2004-04-13 02:46:24.000000000 +0200
-+++ ./images.c 2014-08-15 19:11:07.000000000 +0200
-@@ -835,7 +835,7 @@
+--- images.c.orig 2016-06-20 16:04:03 UTC
++++ images.c
+@@ -835,7 +835,7 @@ panda_insertPNG (panda_pdf * output, pan
panda_object * imageObj, char *filename)
{
FILE *image;
@@ -9,7 +9,7 @@
int bitdepth, colourtype, outColourType;
png_uint_32 i, rowbytes;
png_structp png;
-@@ -854,7 +854,7 @@
+@@ -854,7 +854,7 @@ panda_insertPNG (panda_pdf * output, pan
// Check that it really is a PNG file
fread (sig, 1, 8, image);
@@ -18,7 +18,7 @@
panda_error (panda_true, "PNG file was invalid");
// Start decompressing
-@@ -1399,7 +1399,7 @@
+@@ -1399,7 +1399,7 @@ void
panda_imagesizePNG (int *width, int *height, char *filename)
{
FILE * image;
@@ -27,7 +27,7 @@
int bitdepth, colourtype;
png_structp png;
png_infop info;
-@@ -1411,7 +1411,7 @@
+@@ -1411,7 +1411,7 @@ panda_imagesizePNG (int *width, int *hei
// Check that it really is a PNG file
fread (sig, 1, 8, image);