$OpenBSD: patch-libs,v 1.1 2001/11/17 08:16:53 pvalchev Exp $ --- Makefile.PL.orig Tue Oct 30 01:32:44 2001 +++ Makefile.PL Sat Nov 17 00:43:43 2001 @@ -151,9 +151,9 @@ bugs. Imager can crash or display other reading or writing gif images. Some of the gif tests can even fail since they stress some parts of the buggy code. -Do you want to remove gif support? [Y/n] +I am deleting gif support. EOFF - my $resp = ; + my $resp = "y"; chomp($resp); if ($resp ne "n") { delete $formats{'gif'}; @@ -263,7 +263,7 @@ sub pathcheck { sub init { @definc{'/usr/include'}=(); - @incs=(qw(/usr/include/freetype2 /usr/local/include/freetype2 /usr/include /usr/local/include /usr/include/freetype /usr/local/include/freetype), split /:/, $INCPATH ); + @incs=(qw(/usr/include/freetype2 /usr/X11R6/include/freetype2 /usr/include /usr/local/include /usr/include/freetype /usr/local/include/freetype), split /:/, $INCPATH ); @libs=(split(/ /, $Config{'libpth'}), split(/:/, $LIBPATH) ); if ($^O =~ /win32/i && $Config{cc} =~ /\bcl\b/i) { push(@incs, split /;/, $ENV{INCLUDE}) if exists $ENV{INCLUDE}; @@ -354,20 +354,6 @@ sub init { for use in images.} }; - $formats{'TT-fonts'}={ - order=>'31', - def=>'HAVE_LIBTT', - inccheck=>sub { $_[0] eq 'freetype.h' }, - libcheck=>sub { $_[0] eq "libttf$aext" or $_[0] eq "libttf.$lext" }, - libfiles=>'-lttf', - objfiles=>'', - docs=>q{ - Truetype fonts are scalable fonts. They can include - kerning and hinting information and generally yield good - visual quality esp on low resultions. The freetype library is - used to rasterize for us. The only drawback is that there - are alot of badly designed fonts out there.} - }; $formats{'w32'} = { order=>40, def=>'HAVE_WIN32',