bugWeeChat - Bugs: bug #39071, xfer: Missing include for...

 
 

bug #39071: xfer: Missing include for xfer-dcc.c on OpenBSD

Submitted by:  Simon <foobar23>
Submitted on:  Sun 26 May 2013 08:58:24 AM UTC  
 
Category: compilationSeverity: 3 - Normal
Item Group: compile/installStatus: Fixed
Privacy: PublicAssigned to: Sebastien Helleu <flashcode>
Originator Name: Open/Closed: Closed
Release: 0.4.1IRC nick: zralb

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sun 26 May 2013 08:58:24 AM UTC, original submission:

Building weechat 0.41 on OpenBSD fails because string.h is not included. Patch attached.

[ 75%] Building C object src/plugins/xfer/CMakeFiles/xfer.dir/xfer-dcc.o
cd /usr/ports/pobj/weechat-0.4.1/build-sparc64/src/plugins/xfer && /usr/bin/cc -DHAVE_CONFIG_H -DHAVE_GCRYPT -DHAVE_GNUTLS -DHAVE_ICONV -DHAVE_ZLIB -DWEECHAT_LICENSE=\"GPL3\" -DWEECHAT_VERSION=\"0.4.1\" -D_FILE_OFFSET_BITS=64 -D_
LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LARGE_FILES -Dxfer_EXPORTS -O2 -pipe -Wall -W -Werror-implicit-function-declaration -fPIC -I/usr/local/include -I/usr/ports/pobj/weechat-0.4.1/build-sparc64 -fPIC -o CMakeFiles/xfer.d
ir/xfer-dcc.o -c /usr/ports/pobj/weechat-0.4.1/weechat-0.4.1/src/plugins/xfer/xfer-dcc.c
/usr/ports/pobj/weechat-0.4.1/weechat-0.4.1/src/plugins/xfer/xfer-dcc.c: In function 'xfer_dcc_recv_file_child':
/usr/ports/pobj/weechat-0.4.1/weechat-0.4.1/src/plugins/xfer/xfer-dcc.c:259: error: implicit declaration of function 'memset'
/usr/ports/pobj/weechat-0.4.1/weechat-0.4.1/src/plugins/xfer/xfer-dcc.c:259: warning: incompatible implicit declaration of built-in function 'memset'

Simon <foobar23>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by flashcode (Updated the item)
  • -unavailable- added by foobar23 (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 06 Oct 2013 07:42:29 AM UTCflashcodeOpen/ClosedOpen=>Closed
    Mon 27 May 2013 11:42:34 AM UTCflashcodeStatusNone=>Fixed
      Assigned toNone=>flashcode
    Sun 26 May 2013 08:58:24 AM UTCfoobar23Attached File-=>Added 0001-xfer-fix-compilation-error-on-OpenBSD.patch, #28178

    Back to the top


    Powered by Savane 3.1-cleanup