From owner-freebsd-current@FreeBSD.ORG Thu Oct 21 08:40:08 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8966F16A4CE for ; Thu, 21 Oct 2004 08:40:08 +0000 (GMT) Received: from hetzner.co.za (lfw.hetzner.co.za [196.7.18.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id F272B43D55 for ; Thu, 21 Oct 2004 08:40:07 +0000 (GMT) (envelope-from ianf@hetzner.co.za) Received: from localhost ([127.0.0.1]) by hetzner.co.za with esmtp (Exim 3.36 #1) id 1CKYUQ-000P73-00 for current@freebsd.org; Thu, 21 Oct 2004 10:40:06 +0200 To: current@freebsd.org From: Ian FREISLICH X-Attribution: BOFH Date: Thu, 21 Oct 2004 10:40:06 +0200 Sender: ianf@hetzner.co.za Message-Id: Subject: [PATCH] libreadline buildworld breakage. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2004 08:40:08 -0000 Hi For 2 days now: -O -pipe -I/usr/src/gnu/lib/libreadline/readline/.. -I/usr/src/gnu/lib/libre adline/readline/../../../../contrib/libreadline -DHAVE_CONFIG_H -DRL_LIBRARY_VER SION='"5.0"' -c /usr/src/gnu/lib/libreadline/readline/../../../../contrib/libre adline/complete.c /usr/src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/complete.c :218: error: conflicting types for 'rl_completer_word_break_characters' /usr/src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/readline.h :619: error: previous declaration of 'rl_completer_word_break_characters' was he re /usr/src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/complete.c :218: error: conflicting types for 'rl_completer_word_break_characters' /usr/src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/readline.h :619: error: previous declaration of 'rl_completer_word_break_characters' was he re *** Error code 1 Stop in /usr/src/gnu/lib/libreadline/readline. *** Error code 1 Fix (fixes compile): RCS file: /home/ncvs/src/contrib/libreadline/readline.h,v retrieving revision 1.16 diff -u -d -r1.16 readline.h --- readline.h 18 Oct 2004 07:25:32 -0000 1.16 +++ readline.h 21 Oct 2004 08:23:19 -0000 @@ -616,7 +616,7 @@ /* The list of characters that signal a break between words for rl_complete_internal. The default list is the contents of rl_basic_word_break_characters. */ -extern /*const*/ char *rl_completer_word_break_characters; +extern const char *rl_completer_word_break_characters; /* Hook function to allow an application to set the completion word break characters before readline breaks up the line. Allows Ian -- Ian Freislich