[Lunar-commits] <moonbase> ddd: added BUILD/sedit to handle gcc-4.4 strictness

Duncan Gibson engelsman at lunar-linux.org
Mon Apr 5 12:21:43 CEST 2010


commit b75e00a6ce047d2469e6d21500333074994ded16
Author: Duncan Gibson <engelsman at lunar-linux.org>
Date:   Mon Apr 5 12:21:43 2010 +0200

    ddd: added BUILD/sedit to handle gcc-4.4 strictness
---
 devel/ddd/BUILD |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/devel/ddd/BUILD b/devel/ddd/BUILD
new file mode 100644
index 0000000..7f0564b
--- /dev/null
+++ b/devel/ddd/BUILD
@@ -0,0 +1,10 @@
+(
+  cd $SOURCE_DIRECTORY &&
+
+  # gcc-4.4 is stricter on indirect includes,
+  # so add stdio.h otherwise EOF is undefined
+  sedit '/#include <stdlib.h>/a#include <stdio.h>' ddd/strclass.C &&
+
+  default_build
+
+) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list