1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

fix build on -stable

Noticed by:	bento via kris
This commit is contained in:
Ying-Chieh Liao 2004-01-25 14:25:59 +00:00
parent ddfb3a23ea
commit 4b9c33ef06
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99072
3 changed files with 22 additions and 0 deletions

View File

@ -26,6 +26,7 @@ post-patch:
@${REINPLACE_CMD} -e "s|^CXXFLAGS|#CXXFLAGS|g" \
-e s"|LFLAGS|LDFLAGS|" -e "s|^LDFLAGS|#LDFLAGS|" \
-e "s|CC|CXX|g" -e "s|^CXX|#CXX|g" ${WRKSRC}/Makefile
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e "s| ||"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/codeworker ${PREFIX}/bin

View File

@ -0,0 +1,10 @@
--- DtaPatternScript.h.orig Sun Jan 25 21:36:50 2004
+++ DtaPatternScript.h Sun Jan 25 21:40:17 2004
@@ -24,6 +24,7 @@
#include "DtaScript.h"
#include <map>
+#include <memory>
namespace CodeWorker {
#ifndef EXECUTE_FUNCTION_TYPE

View File

@ -0,0 +1,11 @@
--- ScpStream.h.orig Sun Jan 25 21:34:17 2004
+++ ScpStream.h Sun Jan 25 21:34:40 2004
@@ -34,6 +34,8 @@
#include <map>
#include <set>
+#include <ctime>
+
namespace CodeWorker {
#ifdef IN