mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-04 11:23:46 +00:00
Fix the build with upcoming GCC 4.1.
This commit is contained in:
parent
ad3bdb7a0c
commit
f1f6d99e37
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174415
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user