aboutsummaryrefslogtreecommitdiff
path: root/devel/fam/files/patch-libfam__Client.c++
diff options
context:
space:
mode:
Diffstat (limited to 'devel/fam/files/patch-libfam__Client.c++')
-rw-r--r--devel/fam/files/patch-libfam__Client.c++19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/fam/files/patch-libfam__Client.c++ b/devel/fam/files/patch-libfam__Client.c++
new file mode 100644
index 000000000000..701037e9f85c
--- /dev/null
+++ b/devel/fam/files/patch-libfam__Client.c++
@@ -0,0 +1,19 @@
+--- ./libfam/Client.c++.orig 2003-04-15 06:21:25.000000000 +0200
++++ ./libfam/Client.c++ 2014-01-03 02:35:10.000000000 +0100
+@@ -34,7 +34,6 @@
+ #include <syslog.h>
+ #include <errno.h>
+
+-#include <iostream.h>
+
+ #include "fam.h"
+ #include "Client.h"
+@@ -264,7 +263,7 @@
+ {
+ char msg[100];
+ snprintf(msg, sizeof(msg),
+- "change info too long! (%d max)", sizeof(changeInfo));
++ "change info too long! (%lu max)", (unsigned long)sizeof(changeInfo));
+ croakConnection(msg);
+ return -1;
+ }