From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2455 Path: news.gmane.org!not-for-mail From: John Spencer Newsgroups: gmane.linux.lib.musl.general Subject: Re: libedit build, missing sys/ttydefaults.h & sys/errno.h Date: Thu, 13 Dec 2012 18:25:11 +0100 Message-ID: <50CA0F77.3020807@barfooze.de> References: <50C9AE08.5040204@intelcom.su> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1355419503 2208 80.91.229.3 (13 Dec 2012 17:25:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Dec 2012 17:25:03 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2456-gllmg-musl=m.gmane.org@lists.openwall.com Thu Dec 13 18:25:15 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1TjCX3-00085s-Ai for gllmg-musl@plane.gmane.org; Thu, 13 Dec 2012 18:25:13 +0100 Original-Received: (qmail 7436 invoked by uid 550); 13 Dec 2012 17:25:00 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 7428 invoked from network); 13 Dec 2012 17:25:00 -0000 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Mail/1.0 In-Reply-To: <50C9AE08.5040204@intelcom.su> Xref: news.gmane.org gmane.linux.lib.musl.general:2455 Archived-At: On 12/13/2012 11:29 AM, ojab wrote: > Hi list, > > libedit-3.0 build fails with > >> editline/readline.h:79:29: fatal error: sys/ttydefaults.h: No such >> file or directory >> fileman.c:14:23: fatal error: sys/errno.h: No such file or directory > > After adding sys/ttydefaults.h from NetBSD [1] (cleaned up version in > the attached file) and replacing with it > builds/works fine. > As far as I can see the same issues was reported about sysvinit [2]. > > Can sys/ttydefaults.h be added to musl? Will alias be > added to musl? Or I should report issue to libedit developer instead? > > [1] > http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/sys/ttydefaults.h?rev=1.16&content-type=text/plain&only_with_tag=MAIN > [2] http://www.openwall.com/lists/musl/2012/04/24/9 > > //wbr ojab at least the #ifdef KERNEL part is bogus. btw, it seems the line that includes sys/ttydefaults.h is not needed to build libedit 3.0. in sabotage, the include line is simply removed and that works: https://github.com/rofl0r/sabotage/blob/master/KEEP/libedit_readlineh.patch