Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id A95C319D7F5D for ; Tue, 29 Nov 2011 10:51:53 -0400 (AST) Received: from host-215.commandprompt.net ([207.173.203.215] helo=lists.commandprompt.com) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RVP2F-0008Kn-NY for pgsql-bugs@postgresql.org; Tue, 29 Nov 2011 14:51:53 +0000 Received: from perhan.alvh.no-ip.org (spinlock.commandprompt.com.commandprompt.com [207.173.203.215]) by lists.commandprompt.com (Postfix) with ESMTPA id E08623483D6; Tue, 29 Nov 2011 06:51:35 -0800 (PST) Received: from perhan.alvh.no-ip.org ([200.85.216.237] helo=perhan.alvh.no-ip.org) by assp.commandprompt.com with ESMTPS(AES256-SHA) (2.1.1); 29 Nov 2011 06:51:33 -0800 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 614E36E444; Tue, 29 Nov 2011 11:51:32 -0300 (CLST) Content-Type: text/plain; charset=UTF-8 Cc: Peter Eisentraut , Pg Bugs Subject: Re: libpq in android From: Alvaro Herrera To: Marco Bernasocchi In-reply-to: <4ED4EC58.6040605@bernawebdesign.ch> References: <4ECCD3D9.3040505@bernawebdesign.ch> <1322172064.20912.28.camel@vanquo.pezone.net> <1322181759-sup-9871@alvh.no-ip.org> <4ED4EC58.6040605@bernawebdesign.ch> Date: Tue, 29 Nov 2011 11:51:32 -0300 Message-Id: <1322578267-sup-6424@alvh.no-ip.org> User-Agent: Sup/git X-Assp-Version: 2.1.1(11278) on assp.commandprompt.com X-Assp-Client-TLS: yes X-Assp-ID: assp.commandprompt.com m1-78295-11936 X-Assp-Envelope-From: alvherre@alvh.no-ip.org X-Assp-Intended-For: marco@bernawebdesign.ch X-Assp-Original-Subject: Re: [BUGS] libpq in android Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201111/205 X-Sequence-Number: 31800 Excerpts from Marco Bernasocchi's message of mar nov 29 11:29:44 -0300 20= 11: >=20 > Hi do you need an input from me? i used ifdef to be less invading to th= e=20 > code. Please try what I suggest and see if it works on your platform. > On 11/25/2011 01:43 AM, Alvaro Herrera wrote: > > > > Excerpts from Peter Eisentraut's message of jue nov 24 19:01:04 -0300= 2011: > >> On ons, 2011-11-23 at 12:07 +0100, Marco Bernasocchi wrote: > >>> Hi all, porting QGIS to android I ported libpq as well, I had to mo= dify > >>> two files to successfully compile it without-readline. I attach the= two > >>> needed minor patches. further informations can be found at android.= qgis.org. > >> > >> The PostgreSQL source tree does not contain any file m4/libtool.m4. > >> > >> For the second patch, please try to find a feature-detection method = of > >> addressing this problem (e.g., configure check), instead of > >> harding-coding #ifdef MYPLATFORM. > > > > FWIW I think this can be done simply by replacing the B64 struct memb= er > > with int64. > > >=20 --=20 =C3=81lvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support