Index: Makefile =================================================================== RCS file: /big/freebsd-cvsup/ncvs/ports/graphics/svgalib/Makefile,v retrieving revision 1.20 diff -u -u -r1.20 Makefile --- Makefile 4 Oct 2006 00:02:05 -0000 1.20 +++ Makefile 23 Jan 2007 04:53:41 -0000 @@ -15,7 +15,7 @@ COMMENT= A low level console graphics library USE_GMAKE= yes -INSTALLS_SHLIB= yes +USE_LDCONFIG= yes MANCOMPRESSED= yes ALL_TARGET= shared static Index: files/patch-utils-gtf-gtfcalc.c =================================================================== RCS file: files/patch-utils-gtf-gtfcalc.c diff -N files/patch-utils-gtf-gtfcalc.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-utils-gtf-gtfcalc.c 23 Jan 2007 04:53:41 -0000 @@ -0,0 +1,23 @@ +--- utils/gtf/gtfcalc.c.orig Tue Jan 23 12:48:50 2007 ++++ utils/gtf/gtfcalc.c Tue Jan 23 12:49:18 2007 +@@ -45,6 +45,7 @@ + #include + #include + #include ++#include + #include "gtf.h" + + /*------------------------- Global Variables ------------------------------*/ +@@ -64,10 +65,12 @@ + + /*-------------------------- Implementation -------------------------------*/ + ++#if __FreeBSD_version < 503000 + static double round(double v) + { + return floor(v + 0.5); + } ++#endif + + static void GetInternalConstants(GTF_constants *c) + /****************************************************************************