mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
- Remove check for FreeBSD 6.x.
- Fix build with GCC > 4.2. Submitted by: Raphael Kubo da Costa <kubito@gmail.com> via area51
This commit is contained in:
parent
2275132427
commit
6ef2b73065
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=277865
@ -59,10 +59,4 @@ do-install:
|
|||||||
${MKDIR} ${INSTALL_QT_PLUGINS_DIR}/script
|
${MKDIR} ${INSTALL_QT_PLUGINS_DIR}/script
|
||||||
cd ${WRKSRC}/plugins/script/ && ${COPYTREE_SHARE} \* ${INSTALL_QT_PLUGINS_DIR}/script
|
cd ${WRKSRC}/plugins/script/ && ${COPYTREE_SHARE} \* ${INSTALL_QT_PLUGINS_DIR}/script
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
||||||
.if ${OSVERSION} < 700000
|
|
||||||
BROKEN= does not build on 6.X
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
|
||||||
|
@ -0,0 +1,14 @@
|
|||||||
|
This patch is needed in order to make the port build with a gcc newer than the one in base.
|
||||||
|
|
||||||
|
FILE* is used in preprocessor.cpp, so a suitable declaration is needed.
|
||||||
|
|
||||||
|
--- generator/parser/rpp/preprocessor.cpp
|
||||||
|
+++ generator/parser/rpp/preprocessor.cpp
|
||||||
|
@@ -41,6 +41,7 @@
|
||||||
|
|
||||||
|
#include "preprocessor.h"
|
||||||
|
|
||||||
|
+#include <cstdio>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
|
// register callback for include hooks
|
Loading…
Reference in New Issue
Block a user