Index: head/graphics/svgalib/Makefile =================================================================== --- head/graphics/svgalib/Makefile (revision 184515) +++ head/graphics/svgalib/Makefile (revision 184516) @@ -1,49 +1,49 @@ # New ports collection makefile for: svgalib # Date created: 24 August 2000 # Whom: Maxim Sobolev # # $FreeBSD$ # PORTNAME= svgalib PORTVERSION= 1.4.3 PORTREVISION= 5 CATEGORIES= graphics devel MASTER_SITES= http://www.svgalib.org/ MAINTAINER= danfe@FreeBSD.org COMMENT= A low level console graphics library USE_GMAKE= yes -INSTALLS_SHLIB= yes +USE_LDCONFIG= yes MANCOMPRESSED= yes ALL_TARGET= shared static ONLY_FOR_ARCHS= i386 .include .for i in 1 2 3 4 5 6 7 8 9 .if exists(${FILESDIR}/man${i}) MAN${i}!= ${CAT} ${FILESDIR}/man${i} .endif .endfor pre-patch: .SILENT for file in ${WRKSRC}/utils/gtf/*.h; do \ ${TR} -d '\015' < $${file} > $${file}.new; \ ${MV} $${file}.new $${file}; \ done ${MKDIR} ${WRKSRC}/include/linux # Fix for GCC 4.1 ${REINPLACE_CMD} '30d' ${WRKSRC}/src/vgabg.h ${REINPLACE_CMD} -e 's,^ (unsigned [[:alpha:]]*),,' \ ${WRKSRC}/src/apm.c post-install: ${MKDIR} ${PREFIX}/include/linux cd ${WRKSRC}/include/linux && \ ${INSTALL_DATA} keyboard.h kd.h ${PREFIX}/include/linux .include Property changes on: head/graphics/svgalib/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.20 \ No newline at end of property +1.21 \ No newline at end of property Index: head/graphics/svgalib/files/patch-utils-gtf-gtfcalc.c =================================================================== --- head/graphics/svgalib/files/patch-utils-gtf-gtfcalc.c (nonexistent) +++ head/graphics/svgalib/files/patch-utils-gtf-gtfcalc.c (revision 184516) @@ -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) + /**************************************************************************** Property changes on: head/graphics/svgalib/files/patch-utils-gtf-gtfcalc.c ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property