openbsd-ports/graphics/p5-GD/patches/patch-t_GD_t
brad 9ca14a6485 Fix p5-GD 1.41 so it will work with gd 1.8.3
This actually works when I include the patches.
--
From: MAINTAINER
2002-11-30 05:31:47 +00:00

17 lines
655 B
Plaintext

$OpenBSD: patch-t_GD_t,v 1.1 2002/11/30 05:31:47 brad Exp $
--- t/GD.t.orig Mon Jul 22 14:26:26 2002
+++ t/GD.t Sun Nov 24 14:50:08 2002
@@ -284,9 +284,9 @@ sub test7 {
);
# Some TTFs
- $im->stringFT($black,FONT,12.0,0.0,20,20,"Hello world!") || return;
- $im->stringFT($red,FONT,14.0,0.0,20,80,"Hello world!") || return;
- $im->stringFT($blue,FONT,30.0,-0.5,60,100,"Goodbye cruel world!") || die $@;
+ $im->stringTTF($black,FONT,12.0,0.0,20,20,"Hello world!") || return;
+ $im->stringTTF($red,FONT,14.0,0.0,20,80,"Hello world!") || return;
+ $im->stringTTF($blue,FONT,30.0,-0.5,60,100,"Goodbye cruel world!") || die $@;
$im->png;
}