diff options
author | danfe <danfe@FreeBSD.org> | 2006-10-04 00:02:05 +0000 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2006-10-04 00:02:05 +0000 |
commit | f327144eca7bdca3dd67da2b6e960c0b80b96bb1 (patch) | |
tree | 3d41db514e37ba027f9aa23b12e1a79d69da2ce7 /graphics/svgalib | |
parent | a72d1ad669278c1c518e96a2f1d5005615aa758b (diff) | |
download | FreeBSD-ports-f327144eca7bdca3dd67da2b6e960c0b80b96bb1.zip FreeBSD-ports-f327144eca7bdca3dd67da2b6e960c0b80b96bb1.tar.gz |
Fix the build with upcoming GCC 4.1.
Diffstat (limited to 'graphics/svgalib')
-rw-r--r-- | graphics/svgalib/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/svgalib/Makefile b/graphics/svgalib/Makefile index 950dc33..a5312b3 100644 --- a/graphics/svgalib/Makefile +++ b/graphics/svgalib/Makefile @@ -30,12 +30,16 @@ MAN${i}!= ${CAT} ${FILESDIR}/man${i} .endif .endfor -pre-patch: +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 |