From mint-bounce@lists.fishpool.fi Thu Aug 4 05:15:38 2005 X-Original-To: fnaumann@mail.boerde.de Delivered-To: fnaumann@mail.boerde.de Subject: [MiNT] mintlib patch From: Mark Duckworth To: Mint List Content-Type: multipart/mixed; boundary="=-YcTWFPUOujvIc4tRCJk4" Date: Wed, 03 Aug 2005 23:12:38 -0400 Message-Id: <1123125158.27393.8.camel@mduckworth.phillypark.net> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.1.fc4.nr) X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-To: mint-bounce@lists.fishpool.fi X-original-sender: mduckworth@atari-source.com Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: X-Virus-Scanned: by amavisd-new at relay.boerde.de X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de X-Spam-Status: No, hits=-1.0 tagged_above=-50.5 required=7.0 tests=AWL, BAYES_00 X-Spam-Level: --=-YcTWFPUOujvIc4tRCJk4 Content-Type: text/plain Content-Transfer-Encoding: 7bit Hello guys, I successfully built a working gcc cross compiler with gcc 3.3.6. I also successfully cross built mintlib with it and it works :) Anyway, a small diff is attached that I think is a bug in mintlib. *s is defined as a constant which I think is wrong and gcc is complaining about. PS: Anyone know the proper method for cross building g++? It seems it never installed or built any of libstdc++-v3 which of course is failing. Thanks, Mark --=-YcTWFPUOujvIc4tRCJk4 Content-Disposition: attachment; filename=mintlib-gcc3.3.6.patch Content-Type: text/x-patch; name=mintlib-gcc3.3.6.patch; charset=UTF-8 Content-Transfer-Encoding: 7bit --- mintlib/mintlib/enoent.c.orig 2005-08-03 21:50:42.000000000 -0400 +++ mintlib/mintlib/enoent.c 2005-08-03 21:48:31.000000000 -0400 @@ -17,7 +17,7 @@ int _enoent (const char *path) { - register const char *s; + register char *s; long oldmask; int dir_seen = 0; --=-YcTWFPUOujvIc4tRCJk4--