screen-devel
[Top][All Lists]
Advanced

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

[screen-devel] [bug #42239] Screen 4.2.1 does not build on OpenBSD 5.4 a


From: Jamie Walker
Subject: [screen-devel] [bug #42239] Screen 4.2.1 does not build on OpenBSD 5.4 amd64
Date: Tue, 29 Apr 2014 22:30:06 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.75.14 (KHTML, like Gecko) Version/7.0.3 Safari/537.75.14

URL:
  <http://savannah.gnu.org/bugs/?42239>

                 Summary: Screen 4.2.1 does not build on OpenBSD 5.4 amd64
                 Project: GNU Screen
            Submitted by: jjw
            Submitted on: Tue 29 Apr 2014 22:30:05 GMT
                Category: Build/Install
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
           Fixed Release: None
         Planned Release: None
           Work Required: None

    _______________________________________________________

Details:

gcc -c -I. -I.  -DETCSCREENRC='"/usr/local/etc/screenrc"'
-DSCREENENCODINGS='"/usr/local/share/screen/utf8encodings"' -DHAVE_CONFIG_H
-DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
     -g -O2 -D_GNU_SOURCE socket.c
socket.c: In function 'ReceiveMsg':
socket.c:976: error: storage size of 'iov' isn't known
socket.c: In function 'SendAttachMsg':
socket.c:1790: error: storage size of 'iov' isn't known
gmake: *** [socket.o] Error 1

Diff that seems to resolve it:

--- socket.c.orig       Wed Apr 30 10:22:44 2014
+++ socket.c    Wed Apr 30 10:24:20 2014
@@ -32,6 +32,9 @@
 #include <fcntl.h>
 #if !defined(NAMEDPIPE)
 #include <sys/socket.h>
+#ifdef __OpenBSD__
+#include <sys/uio.h>
+#endif
 #include <sys/un.h>
 #endif




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42239>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]