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

 
 

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

Submitter:  Simon <foobar23>
Submitted:  Sun 26 May 2013 08:58:24 AM UTC
   
 
Category:  compilation Severity:  3 - Normal
Item Group:  compile/install Status:  Fixed
Privacy:  Public Assigned to:  flashcode
Originator Name:  Open/Closed:  Closed
Release:  * 0.4.1 IRC nick:  zralb
* Mandatory Fields

Add a New Comment Rich Markup
   

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 Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by flashcode (Updated the item)
  • -email is unavailable- added by foobar23 (Submitted the item)
  •  

    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.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-10-06 flashcode Open/ClosedOpen Closed
    2013-05-27 flashcode StatusNone Fixed
        Assigned toNone flashcode
    2013-05-26 foobar23 Attached File- Added 0001-xfer-fix-compilation-error-on-OpenBSD.patch, #28178

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code