summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-01-25 14:25:59 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-01-25 14:25:59 +0000
commit4b9c33ef06514835fca0b176c9f7fbbd114bb647 (patch)
tree52415a753a2aaa3dc46bd0bb6a72aeae05d906d1
parentfix build (diff)
fix build on -stable
Noticed by: bento via kris
Notes
Notes: svn path=/head/; revision=99072
-rw-r--r--devel/codeworker/Makefile1
-rw-r--r--devel/codeworker/files/patch-DtaPatternScript.h10
-rw-r--r--devel/codeworker/files/patch-ScpStream.h11
3 files changed, 22 insertions, 0 deletions
diff --git a/devel/codeworker/Makefile b/devel/codeworker/Makefile
index 4ce3e4390de0..06d76c7f4190 100644
--- a/devel/codeworker/Makefile
+++ b/devel/codeworker/Makefile
@@ -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
diff --git a/devel/codeworker/files/patch-DtaPatternScript.h b/devel/codeworker/files/patch-DtaPatternScript.h
new file mode 100644
index 000000000000..700404749e3e
--- /dev/null
+++ b/devel/codeworker/files/patch-DtaPatternScript.h
@@ -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
diff --git a/devel/codeworker/files/patch-ScpStream.h b/devel/codeworker/files/patch-ScpStream.h
new file mode 100644
index 000000000000..893bce5698b4
--- /dev/null
+++ b/devel/codeworker/files/patch-ScpStream.h
@@ -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