aboutsummaryrefslogtreecommitdiff
path: root/package/perl-gd/0003-force.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/perl-gd/0003-force.patch')
-rw-r--r--package/perl-gd/0003-force.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/package/perl-gd/0003-force.patch b/package/perl-gd/0003-force.patch
deleted file mode 100644
index 611066b919..0000000000
--- a/package/perl-gd/0003-force.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-let @INC and @LIBPATH empty when ignore_missing_gd
-
-Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
-see https://github.com/lstein/Perl-GD/pull/7
-
-Index: b/Makefile.PL
-===================================================================
---- a/Makefile.PL
-+++ b/Makefile.PL
-@@ -43,13 +43,15 @@
- }
-
- push @LIBS, "-lgd";
--@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;
--
--# support for AMD64 libraries
--if (-d '/usr/lib64') {
-- my @libs64 = map {my $a = $_; $a=~ s/lib$/lib64/; $a} @LIBPATH;
-- @LIBPATH = (@LIBPATH,@libs64);
-+unless ($force) {
-+ @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;
-+
-+ # support for AMD64 libraries
-+ if (-d '/usr/lib64') {
-+ my @libs64 = map {my $a = $_; $a=~ s/lib$/lib64/; $a} @LIBPATH;
-+ @LIBPATH = (@LIBPATH,@libs64);
-+ }
- }
-
- #############################################################################################