diff options
author | danfe <danfe@FreeBSD.org> | 2006-10-04 08:02:05 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2006-10-04 08:02:05 +0800 |
commit | f327144eca7bdca3dd67da2b6e960c0b80b96bb1 (patch) | |
tree | 3d41db514e37ba027f9aa23b12e1a79d69da2ce7 | |
parent | a72d1ad669278c1c518e96a2f1d5005615aa758b (diff) | |
download | freebsd-ports-gnome-f327144eca7bdca3dd67da2b6e960c0b80b96bb1.tar.gz freebsd-ports-gnome-f327144eca7bdca3dd67da2b6e960c0b80b96bb1.tar.zst freebsd-ports-gnome-f327144eca7bdca3dd67da2b6e960c0b80b96bb1.zip |
Fix the build with upcoming GCC 4.1.
-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 950dc336ce83..a5312b3148e2 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 |