From 4b9c33ef06514835fca0b176c9f7fbbd114bb647 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Sun, 25 Jan 2004 14:25:59 +0000 Subject: [PATCH] fix build on -stable Noticed by: bento via kris --- devel/codeworker/Makefile | 1 + devel/codeworker/files/patch-DtaPatternScript.h | 10 ++++++++++ devel/codeworker/files/patch-ScpStream.h | 11 +++++++++++ 3 files changed, 22 insertions(+) create mode 100644 devel/codeworker/files/patch-DtaPatternScript.h create mode 100644 devel/codeworker/files/patch-ScpStream.h 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 ++#include + + 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 + #include + ++#include ++ + namespace CodeWorker { + + #ifdef IN