bugGNU Screen - Bugs: bug #11174, Compilation fails on Cygwin 1.5.11+

 
 

bug #11174: Compilation fails on Cygwin 1.5.11+

Submitted by:  None
Submitted on:  Tue 30 Nov 2004 11:52:45 AM UTC  
 
Category: Build/InstallSeverity: 3 - Normal
Priority: 4Status: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: None
Fixed Release: 4.1.0Planned Release: 4.1.0
Work Required: 0 - Hours

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 14 Aug 2008 01:26:21 AM UTC, comment #5:

Note, there was probably a more appropriate fix than using #if defined _CYGWIN_, such as actually checking for various features in configure; but this is good enough.

Micah Cowan <micahcowan>
Thu 14 Aug 2008 01:24:13 AM UTC, comment #4:

Addressed for 4.1.0 in f053a18d58cc938193dba79894b168f004d4b211

The stropts.h and setenv-related fixes had already been addressed by previous patches.

Micah Cowan <micahcowan>
 Spam posted by an anonymous
 Spam posted by an anonymous
 Spam posted by an anonymous
 Spam posted by an anonymous
 Spam posted by an anonymous
Thu 27 Jan 2005 05:39:49 AM UTC, comment #3:

This patch makes screen compile:
http://www.cygwin.com/ml/cygwin/2004-01/msg00758/screen-4.0.2-cygwin.patch
As far as I understand, reattach doesn't work.

Anonymous
Thu 27 Jan 2005 05:37:52 AM UTC, comment #2:

This patch makes screen compile:
http://www.cygwin.com/ml/cygwin/2004-01/msg00758/screen-4.0.2-cygwin.patch
As far as I understand, reattach doesn't work.

Anonymous
Tue 30 Nov 2004 11:54:36 AM UTC, comment #1:

PS: I stated 1.5.11+ because I tested it on both 1.5.11 and 1.5.12, but I'm pretty sure it failed with previous versions of Cygwin too.

Anonymous
Tue 30 Nov 2004 11:52:45 AM UTC, original submission:

Here is a patch that makes it compile and work on Cygwin:

user@localhost:/cygdrive/c/GNU> diff -r screen-4.0.2 screen-4.0.2-patched/
diff -r screen-4.0.2/Makefile screen-4.0.2-patched/Makefile
2,3c2
< rm -f config.cache
< sh ./configure
---

> sh ./configure

Only in screen-4.0.2-patched/: bin
Only in screen-4.0.2-patched/: config.log
Only in screen-4.0.2-patched/doc: info
Only in screen-4.0.2-patched/doc: man
diff -r screen-4.0.2/misc.c screen-4.0.2-patched/misc.c
616c616
< # if defined(linux) || defined(_convex_) || (BSD >= 199103)
---

> # if defined(linux) || defined(_convex_) || (BSD >= 199103) || defined(_CYGWIN_)

diff -r screen-4.0.2/pty.c screen-4.0.2-patched/pty.c
37c37
< #ifdef HAVE_SVR4_PTYS
---

> #if defined(HAVE_SVR4_PTYS) && !defined(_CYGWIN_)

Only in screen-4.0.2-patched/: screen.exe
Only in screen-4.0.2-patched/: share
diff -r screen-4.0.2/utmp.c screen-4.0.2-patched/utmp.c
105c105
< # if defined(GETUTENT) && (!defined(SVR4) || defined(__hpux))
---

> # if defined(GETUTENT) && (!defined(SVR4) || defined(_hpux)) && ! defined(__CYGWIN_)

583a584

> #ifndef _CYGWIN_

584a586,588

> #else
> return 1;
> #endif

592c596
< #if !defined(linux) || defined(EMPTY)
---

> #if (!defined(linux) || defined(EMPTY)) && !defined(_CYGWIN_)


user@localhost:/cygdrive/c/GNU> uname -a
CYGWIN_NT-5.0 localhost 1.5.12(0.116/4/2) 2004-11-10 08:34 i686 unknown unknown Cygwin

The original homepage that was hosting this patch seems be to have been removed, no idea why.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #2445:  screen-4.0.2-cygwin.patch added by None (2KiB - application/octet-stream - Attaching the patch from comment #2.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by micahcowan (Updated 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 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 14 Aug 2008 01:24:13 AM UTCmicahcowanStatusNeed Investigation=>Fixed
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.1.0
    Mon 23 Jun 2008 09:14:36 PM UTCmicahcowanPlanned ReleaseNone=>4.1.0
      Work RequiredNone=>0 - Hours
    Mon 23 Jun 2008 09:14:35 PM UTCmicahcowanCategoryNone=>Build/Install
    Sun 15 Jun 2008 06:15:10 AM UTCmicahcowanPriority5 - Normal=>4
      StatusNone=>Need Investigation
    Thu 27 Jan 2005 05:39:49 AM UTCNoneAttached File-=>Added screen-4.0.2-cygwin.patch, #2119

    Back to the top


    Powered by Savane 3.1-cleanup1