1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00

- make portlint happier

This commit is contained in:
Dirk Meyer 2017-01-29 09:49:50 +00:00
parent e51cd7eb33
commit 503875610e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=432710
3 changed files with 13 additions and 13 deletions

View File

@ -1,6 +1,6 @@
--- src/bdftogd.orig 2013-06-25 11:58:23.000000000 +0200
+++ src/bdftogd 2013-08-15 21:03:29.000000000 +0200
@@ -24,6 +24,9 @@
--- src/bdftogd.orig 2017-01-29 09:45:57 UTC
+++ src/bdftogd
@@ -24,6 +24,9 @@ $gdname = 'gd' . $gdname unless $gdname
my $filename = shift;
$filename = 'gd' . $filename unless $filename =~ /^gd/i;
@ -10,7 +10,7 @@
if (-f "$filename.c") { die "File $filename.c already exists, won't overwrite\n"; }
if (-f "$filename.h") { die "File $filename.h already exists, won't overwrite\n"; }
@@ -139,6 +142,10 @@
@@ -139,6 +142,10 @@ print FILEC <<"EOF";
$info
@ -21,7 +21,7 @@
#include "$filename.h"
char ${gdname}Data[] = {
@@ -177,28 +184,40 @@
@@ -177,28 +184,40 @@ gdFont ${gdname}Rep = {
${gdname}Data
};

View File

@ -1,6 +1,6 @@
--- src/gd_png.c.orig 2013-06-25 11:58:23.000000000 +0200
+++ src/gd_png.c 2013-08-01 07:08:18.000000000 +0200
@@ -196,6 +196,14 @@
--- src/gd_png.c.orig 2016-10-12 08:13:44 UTC
+++ src/gd_png.c
@@ -277,6 +277,14 @@ BGD_DECLARE(gdImagePtr) gdImageCreateFro
png_read_info (png_ptr, info_ptr); /* read all PNG info up to image data */
png_get_IHDR (png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, &interlace_type, NULL, NULL);

View File

@ -1,6 +1,6 @@
--- src/gdtest.c.orig 2013-06-25 11:58:23.000000000 +0200
+++ src/gdtest.c 2013-08-01 07:12:08.000000000 +0200
@@ -35,6 +35,8 @@
--- src/gdtest.c.orig 2015-09-16 11:34:29 UTC
+++ src/gdtest.c
@@ -35,6 +35,8 @@ main (int argc, char **argv)
gdSink imgsnk;
int foreground;
int i;
@ -9,7 +9,7 @@
if (argc != 2) {
fprintf(stderr, "Usage: gdtest filename.png\n");
exit (1);
@@ -55,6 +57,35 @@
@@ -63,6 +65,35 @@ main (int argc, char **argv)
CompareImages ("Initial Versions", ref, im);
@ -45,7 +45,7 @@
/* */
/* Send to PNG File then Ptr */
@@ -268,6 +299,10 @@
@@ -334,6 +365,10 @@ main (int argc, char **argv)
printf ("[Merged Image has %d colours]\n", im2->colorsTotal);
CompareImages ("Merged (gdtest.png, gdtest_merge.png)", im2, im3);