From 4975402d7f239a520dfcbd48e03dbab43e491d68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 22 Apr 2023 00:00:02 +0200 Subject: FreeBSD: Add ports updated for final release R14.1.0. Add a script to synchronize ports to the FreeBSD ports structure. Add meta-port 'tde-meta' to install all TDE ports. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- freebsd/dependencies/imlib/files/patch-png1.5.diff | 80 ++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 freebsd/dependencies/imlib/files/patch-png1.5.diff (limited to 'freebsd/dependencies/imlib/files/patch-png1.5.diff') diff --git a/freebsd/dependencies/imlib/files/patch-png1.5.diff b/freebsd/dependencies/imlib/files/patch-png1.5.diff new file mode 100644 index 000000000..c40192493 --- /dev/null +++ b/freebsd/dependencies/imlib/files/patch-png1.5.diff @@ -0,0 +1,80 @@ +--- a/gdk_imlib/io-png.c 2002-03-04 18:06:29.000000000 +0100 ++++ b/gdk_imlib/io-png.c 2012-04-24 23:11:43.000000000 +0200 +@@ -40,7 +41,7 @@ + return NULL; + } + +- if (setjmp(png_ptr->jmpbuf)) ++ if (setjmp(png_jmpbuf(png_ptr))) + { + png_destroy_read_struct(&png_ptr, &info_ptr, NULL); + return NULL; +@@ -275,7 +276,7 @@ + return NULL; + } + +- if (setjmp(png_ptr->jmpbuf)) ++ if (setjmp(png_jmpbuf(png_ptr))) + { + png_destroy_read_struct(&png_ptr, &info_ptr, NULL); + return NULL; +@@ -440,7 +441,7 @@ + return NULL; + } + +- if (setjmp(png_ptr->jmpbuf)) ++ if (setjmp(png_jmpbuf(png_ptr))) + { + png_destroy_read_struct(&png_ptr, &info_ptr, NULL); + return NULL; +@@ -635,7 +636,7 @@ + png_destroy_write_struct(&png_ptr, (png_infopp) NULL); + return 0; + } +- if (setjmp(png_ptr->jmpbuf)) ++ if (setjmp(png_jmpbuf(png_ptr))) + { + fclose(f); + png_destroy_write_struct(&png_ptr, (png_infopp) NULL); +--- a/Imlib/load.c 2004-09-21 02:23:20.000000000 +0200 ++++ b/Imlib/load.c 2010-03-28 16:23:13.000000000 +0200 +@@ -192,7 +198,7 @@ + png_destroy_read_struct(&png_ptr, NULL, NULL); + return NULL; + } +- if (setjmp(png_ptr->jmpbuf)) ++ if (setjmp(png_jmpbuf(png_ptr))) + { + png_destroy_read_struct(&png_ptr, &info_ptr, NULL); + return NULL; +@@ -1619,7 +1619,7 @@ + return 0; + fread(buf, 1, 8, f); + rewind(f); +- return (int)png_check_sig(buf, 8); ++ return (int)!png_sig_cmp(buf, 0, 8); + #else + return 0; + #endif +--- a/Imlib/save.c 2004-09-21 02:22:59.000000000 +0200 ++++ b/Imlib/save.c 2012-04-27 07:19:57.000000000 +0200 +@@ -342,7 +342,7 @@ + png_destroy_write_struct(&png_ptr, (png_infopp) NULL); + return 0; + } +- if (setjmp(png_ptr->jmpbuf)) ++ if (setjmp(png_jmpbuf(png_ptr))) + { + fclose(f); + png_destroy_write_struct(&png_ptr, (png_infopp) NULL); +--- a/Imlib/utils.c 2012-04-27 07:12:19.000000000 +0200 ++++ b/Imlib/utils.c 2012-04-27 07:15:39.000000000 +0200 +@@ -1982,7 +1983,7 @@ + return NULL; + } + +- if (setjmp(png_ptr->jmpbuf)) ++ if (setjmp(png_jmpbuf(png_ptr))) + { + png_destroy_read_struct(&png_ptr, &info_ptr, NULL); + return NULL; -- cgit v1.2.1