From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VA6jE-0001yX-28 for mharc-grub-devel@gnu.org; Thu, 15 Aug 2013 19:13:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VA6j3-0001wb-Ul for grub-devel@gnu.org; Thu, 15 Aug 2013 19:13:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VA6it-0004QR-IQ for grub-devel@gnu.org; Thu, 15 Aug 2013 19:13:05 -0400 Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]:53893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VA6it-0004OY-Ba for grub-devel@gnu.org; Thu, 15 Aug 2013 19:12:55 -0400 Received: by mail-wi0-f169.google.com with SMTP id f14so957180wiw.4 for ; Thu, 15 Aug 2013 16:12:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=pvPVipS3wiBWzBAqRCWprEV+8mxCHOvSuNt5PpeIoIk=; b=Qmv2EOB81ZVVJZ1U95p297QcDnW6/rQAzghYaXZetGKYt/HXds99a93M6BGt548p5t KiPTtxtKMNndfVhFxduMVEZN/l0eVlBrnq6jkwrPa+mX574tRFviy7UdD6Z4JQURkPgX bBqpoFJyZvQtR7YrfpAAphxBDbtE4TUTKCAuPn/sEHT64BE7Q4HkOwmoOXJWBvKDGQ3a 75Xl8QD0Bm3oSjArD4mtzfY/GhN/1QnURFSPX0tZl0pEejhQoVRdt3URQAIRiRK5Od1k QPxj1+aivXsc7/y01ShepiIRomEVfSTfi04ABLCU1X2TD5KDoHSGuNgcIHVJXLYqYx+0 MBDQ== X-Received: by 10.194.122.129 with SMTP id ls1mr2063046wjb.37.1376608374148; Thu, 15 Aug 2013 16:12:54 -0700 (PDT) Received: from [192.168.1.37] (c2433-1-88-160-112-182.fbx.proxad.net. [88.160.112.182]) by mx.google.com with ESMTPSA id e7sm1819070wiy.4.2013.08.15.16.12.52 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 15 Aug 2013 16:12:53 -0700 (PDT) Message-ID: <520D6074.5010207@gmail.com> Date: Fri, 16 Aug 2013 01:12:52 +0200 From: =?UTF-8?B?R3LDqWdvaXJlIFN1dHJl?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: GRUB2 on OpenBSD 5.3-amd64: linking problem References: <201308091537.37473.Ilya_Bakulin@genua.de> <520A9F30.6080901@gmail.com> <520B46EC.1000600@gmail.com> <201308141509.16841.Ilya_Bakulin@genua.de> <520B86BB.20208@gmail.com> <520B8ACF.4010309@gmail.com> <520CED0F.4070008@gmail.com> In-Reply-To: <520CED0F.4070008@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::229 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 23:13:14 -0000 On 08/15/2013 05:00 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > This is not right fix. Many systems incorrectly define wchar_t as 16-bit > type whil GRUB needs at least 21 as we handle all unicode characters. > Please try: > === modified file 'grub-core/lib/posix_wrap/wchar.h' > --- grub-core/lib/posix_wrap/wchar.h 2012-02-09 13:24:55 +0000 > +++ grub-core/lib/posix_wrap/wchar.h 2013-08-15 14:55:59 +0000 > @@ -21,6 +21,11 @@ > > #include > > +#if defined(__NetBSD__) || defined(__OPENBSD__) > +#define wchar_t grub_posix_wchar_t > +#define mbstate_t grub_posix_mbstate_t > +#endif > + > /* UCS-4. */ > typedef grub_int32_t wint_t; > enum Yes, this patch fixes the build problem on NetBSD. Grégoire