Package: gpsk31
Version: 0.5-2
Severity: important
Tags: patch
User: debian-...@lists.debian.org
Usertags: kfreebsd

Hi,

your package FTBFS on GNU/kFreeBSD given there's no MSG_MORE there.
Please find attached a suggestion, keeping MSG_MORE as flag in send()
if it's defined, and passing no flags otherwise. I'm not sure it's
sufficient for this package to work fine, though.

Thanks for considering.

Mraw,
KiBi.
--- gpsk31-0.5.orig/src/socketif.C
+++ gpsk31-0.5/src/socketif.C
@@ -186,7 +186,13 @@
 
 int tcp_send(char *buf, int len) {
    int sts;
-   sts = send(stream_fd, buf, len, MSG_MORE);
+   int flags;
+#ifdef MSG_MORE
+   flags = MSG_MORE;
+#else
+   flags = 0;
+#endif
+   sts = send(stream_fd, buf, len, flags);
    return sts;
 }
 

Reply via email to