fixing more deps...
[librewrt/.git] / packages / lang / urbi / patches / 005-fix-gcc_4_3-compile.patch
diff --git a/packages/lang/urbi/patches/005-fix-gcc_4_3-compile.patch b/packages/lang/urbi/patches/005-fix-gcc_4_3-compile.patch
new file mode 100644 (file)
index 0000000..790d73e
--- /dev/null
@@ -0,0 +1,22 @@
+diff --git a/libport/semaphore.hxx b/libport/semaphore.hxx
+index bb2546d..38b0d8e 100644
+--- a/libport/semaphore.hxx
++++ b/libport/semaphore.hxx
+@@ -5,6 +5,7 @@
+ # include "exception.hh"
+ # include <sstream>
+ # include <string>
++# include <cstring>
+ namespace libport
+ {
+--- a/src/liburbi/uconversion.cc       2007-01-31 11:37:04.000000000 +0100
++++ b/src/liburbi/uconversion.cc       2010-03-29 09:43:00.000000000 +0200
+@@ -1,5 +1,7 @@
+ #include "urbi/uconversion.hh"
++#include <cstdio>
++
+ #ifndef NO_IMAGE_CONVERSION
+ # include <setjmp.h>