bugWeeChat - Bugs: bug #41434, Compilation fails on android due...

 
 

bug #41434: Compilation fails on android due <sys/termios.h> being included instead of <termios.h>

Submitter:  None
Submitted:  Sun 02 Feb 2014 12:36:42 PM UTC
   
 
Category:  compilation Severity:  3 - Normal
Priority:  5 - Normal Item Group:  compile/install
Status:  Fixed Privacy:  Public
Assigned to:  flashcode Originator Name:  Fredrik Fornwall
Originator Email:  * -email is unavailable- Open/Closed:  Closed
Release:  * 0.4.2 IRC nick:  fornwall
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Sun 02 Feb 2014 02:15:17 PM UTC, comment #1: 

Thanks, committed.

So I did that:
- I removed the include for Cygwin: I tested and it looks like the include is not needed at all
- the include in gui-curses-window.c was added for Solaris, but I don't have any way to test on this OS, so I replaced the include here (your patch), in the hope it is still OK on Solaris.

I tested on GNU/Hurd and OpenBSD, no problem with the patch.

Sebastien Helleu <flashcode>
Group administrator
Sun 02 Feb 2014 12:36:42 PM UTC, original submission:  

Android does not have <sys/termios.h> but <termios.h>.

I believe that <termios.h> is the portable and standard file to include anyway:


The attached patch does the sys/termios.h => termios.h replacement.

The change in gui-curses.h is not strictly required since it's guarded by ifdef _CYGWIN_, but we might as well do the change there for consistency.

Anonymous

 

Attached Files

Attached Files
file #30434:  termios_h_include_path.patch added by None (840B - application/octet-stream)

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by flashcode (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    Votes

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    History

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-09 flashcode Open/ClosedOpen Closed
    2014-02-02 flashcode Assigned toNone flashcode
        Release3.3-dev 0.4.2
    2014-02-02 flashcode CategoryNone compilation
        Item GroupNone compile/install
        StatusNone Fixed
    2014-02-02 None Attached File- Added termios_h_include_path.patch, #30434

    Back to the top

    Powered by Savane 3.16-11ef.
    Corresponding source code