[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Help in testing a patch for efax-gtk FTBFS on hurd



Hi Guys,

I'm the maintainer of efax-gtk. The recent upload FTBFS on hurd-i386.

I've talked with my upstream, and got a patch which might solve the problem.
I need help with testing the suggested patch for efax-gtk 3.2.3 (in unstable).

Thanks in advance.

Kaplan

--- efax-gtk/src/efax_controller.cpp.~1.84.~	2010-05-01 21:28:05.000000000 +0100
+++ efax-gtk/src/efax_controller.cpp	2010-06-08 14:35:17.000000000 +0100
@@ -50,6 +50,13 @@
 #include <libintl.h>
 #endif

+// there can be certain circumstances where PIPE_BUF is not
+// defined in <limits.h>.  If so, just define the minimum
+// required by POSIX
+#ifndef PIPE_BUF
+#define PIPE_BUF 512
+#endif
+
 // the headers on one of my machines does not properly include the declaration
 // of getpgid() for some reason, so declare it here explicitly
 extern "C" pid_t getpgid(pid_t);
--- efax-gtk/src/fax_list.cpp.~1.95.~	2010-05-12 22:40:11.000000000 +0100
+++ efax-gtk/src/fax_list.cpp	2010-06-08 14:35:54.000000000 +0100
@@ -47,6 +47,13 @@
 #include <libintl.h>
 #endif

+// there can be certain circumstances where PIPE_BUF is not
+// defined in <limits.h>.  If so, just define the minimum
+// required by POSIX
+#ifndef PIPE_BUF
+#define PIPE_BUF 512
+#endif
+
 int FaxListDialog::is_fax_received_list = 0;
 int FaxListDialog::is_fax_sent_list = 0;


Reply to: