bugGNU Screen - Bugs: bug #42239, Screen 4.2.1 does not build on...

 
 

bug #42239: Screen 4.2.1 does not build on OpenBSD 5.4 amd64

Submitted by:  Jamie Walker <jjw>
Submitted on:  Tue 29 Apr 2014 10:30:05 PM UTC  
 
Category: Build/InstallSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: 4.2.1
Fixed Release: NonePlanned Release: None
Work Required: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 10 May 2014 04:33:56 PM UTC, comment #1:

Thanks, merged.

Amadeusz Sławiński <amade>
Project Administrator
Tue 29 Apr 2014 10:30:05 PM UTC, original submission:

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

Jamie Walker <jjw>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by amade (Posted a comment)
  • -unavailable- added by jjw (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 10 May 2014 04:33:56 PM UTCamadeStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1