package/perl-gd: bump to version 2.76

remove upstreamed patch

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Francois Perrad 2022-02-15 08:07:38 +01:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 4104e099fd
commit 2c6d0b5269
3 changed files with 3 additions and 37 deletions

View File

@ -1,34 +0,0 @@
From 11dc017e902397c452331425eb6101b3315572fa Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Sun, 24 Jan 2021 10:59:31 +0100
Subject: [PATCH] Makefile.PL: fix cross-compilation with gdlib.pc
Cross-compilation will fail if gdlib.pc does not contain any cflags.
Indeed, if cflags is empty, Makefile.PL will use the default value for
INC (i.e. -I/usr/include -I/usr/include/gd)
It should be noted that gdlib-config has been dropped from gd since
version 2.3.0
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Upstream status: probably not upstreamable]
---
Makefile.PL | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.PL b/Makefile.PL
index 25f2f93..7da3651 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -47,7 +47,7 @@ If you want to try to compile anyway, please rerun this script with the option -
END
}
-@INC = qw(-I/usr/include -I/usr/include/gd) unless @INC;
+#@INC = qw(-I/usr/include -I/usr/include/gd) unless @INC;
@LIBPATH = qw(-L/usr/lib/X11 -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/lib) unless @LIBPATH;
@LIBS = qw(-lgd) unless @LIBS;
--
2.29.2

View File

@ -1,6 +1,6 @@
# retrieved by scancpan from http://cpan.metacpan.org/
md5 c2bf1ca56d15e33d2432e4d8ba5aeadf GD-2.73.tar.gz
sha256 491c9e73238522e2987e66725a20935f4268a3864202ecbaf4659a1691ba322b GD-2.73.tar.gz
md5 fb4bacab10ed4f28d52c2aabdaf866bb GD-2.76.tar.gz
sha256 693d9e3d709e9188a682cb9090a77b70aac12a04e84128677577b94e4331775b GD-2.76.tar.gz
# computed by scancpan
sha256 1e2250289d6df4ba1c24f7550982d7ffaff2c97cd02e847659406e1afd28e83f LICENSE

View File

@ -4,7 +4,7 @@
#
################################################################################
PERL_GD_VERSION = 2.73
PERL_GD_VERSION = 2.76
PERL_GD_SOURCE = GD-$(PERL_GD_VERSION).tar.gz
PERL_GD_SITE = $(BR2_CPAN_MIRROR)/authors/id/R/RU/RURBAN
PERL_GD_DEPENDENCIES = host-perl-extutils-pkgconfig zlib gd