URL:
<http://savannah.nongnu.org/bugs/?39071>
Summary: xfer: Missing include for xfer-dcc.c on OpenBSD
Project: WeeChat
Submitted by: foobar23
Submitted on: Sun 26 May 2013 08:58:24 AM GMT
Category: compilation
Severity: 3 - Normal
Item Group: compile/install
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 0.4.1
IRC nick: zralb
_______________________________________________________
Details:
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'
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sun 26 May 2013 08:58:24 AM GMT Name:
0001-xfer-fix-compilation-error-on-OpenBSD.patch Size: 677B By: foobar23
<http://savannah.nongnu.org/bugs/download.php?file_id=28178>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?39071>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
Weechat-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/weechat-dev