mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
libs/libgd: Update to 2.2.4
Update libgd to 2.2.4 Fixes multiple CVEs Refresh patches Update list according to: https://svnweb.freebsd.org/ports/head/graphics/gd/pkg-plist?revision=432648&view=markup ...except helpers as it's not generated. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
--- a/config/gdlib-config.in
|
||||
+++ b/config/gdlib-config.in
|
||||
@@ -71,7 +71,7 @@ while test $# -gt 0; do
|
||||
@@ -74,7 +74,7 @@ while test $# -gt 0; do
|
||||
echo @LDFLAGS@
|
||||
;;
|
||||
--libs)
|
||||
@@ -9,7 +9,7 @@
|
||||
;;
|
||||
--cflags|--includes)
|
||||
echo -I@includedir@
|
||||
@@ -84,7 +84,7 @@ while test $# -gt 0; do
|
||||
@@ -87,7 +87,7 @@ while test $# -gt 0; do
|
||||
echo "includedir: $includedir"
|
||||
echo "cflags: -I@includedir@"
|
||||
echo "ldflags: @LDFLAGS@"
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
--- a/config/gdlib.pc.in
|
||||
+++ b/config/gdlib.pc.in
|
||||
@@ -7,5 +7,5 @@ Name: gd
|
||||
Description: GD graphics library
|
||||
Version: @VERSION@
|
||||
Cflags: -I${includedir}
|
||||
-Libs.private: @LIBS@ @LIBICONV@
|
||||
+Libs.private: @LIBS@
|
||||
Libs: -L${libdir} -lgd
|
||||
@@ -1,6 +1,6 @@
|
||||
--- a/src/gd_bmp.c
|
||||
+++ b/src/gd_bmp.c
|
||||
@@ -21,6 +21,7 @@
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
@@ -8,7 +8,7 @@
|
||||
#include "gd.h"
|
||||
#include "gdhelpers.h"
|
||||
#include "bmp.h"
|
||||
@@ -42,6 +43,13 @@ static int bmp_read_rle(gdImagePtr im, g
|
||||
@@ -49,6 +50,13 @@ static int bmp_read_rle(gdImagePtr im, g
|
||||
|
||||
#define BMP_DEBUG(s)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user