Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 8D57B2EBA7E for ; Thu, 24 Nov 2011 20:43:45 -0400 (AST) Received: from host-215.commandprompt.net ([207.173.203.215] helo=lists.commandprompt.com) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RTjtH-0001gr-N2 for pgsql-bugs@postgresql.org; Fri, 25 Nov 2011 00:43:45 +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 949F634906D; Thu, 24 Nov 2011 16:43:26 -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); 24 Nov 2011 16:43:24 -0800 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 0D1EF6E471; Thu, 24 Nov 2011 21:43:21 -0300 (CLST) Content-Type: text/plain; charset=UTF-8 Cc: Marco Bernasocchi , Pg Bugs Subject: Re: libpq in android From: Alvaro Herrera To: Peter Eisentraut In-reply-to: <1322172064.20912.28.camel@vanquo.pezone.net> References: <4ECCD3D9.3040505@bernawebdesign.ch> <1322172064.20912.28.camel@vanquo.pezone.net> Date: Thu, 24 Nov 2011 21:43:21 -0300 Message-Id: <1322181759-sup-9871@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-81806-11879 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-Archive-Number: 201111/175 X-Sequence-Number: 31770 Excerpts from Peter Eisentraut's message of jue nov 24 19:01:04 -0300 201= 1: > 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 modi= fy=20 > > two files to successfully compile it without-readline. I attach the t= wo=20 > > needed minor patches. further informations can be found at android.qg= is.org. >=20 > The PostgreSQL source tree does not contain any file m4/libtool.m4. >=20 > 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 member with int64. --=20 =C3=81lvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support