Re: [Libreoffice] [PATCH] Work around a bash-ism in configure.in

2011-07-18 Thread Mike Eberdt
On 07/17/11 23:47, Tor Lillqvist wrote: Would it not be simpler to change the -eq to = ? Anyway, good catch! --tml I guess I didn't go that route because my brain tends to avoid the zFoo = zBar construct if possible. But yes, I should have written it in the form that Michael Meeks checked

Re: [Libreoffice] [PATCH] Work around a bash-ism in configure.in

2011-07-18 Thread Mike Eberdt
Hi Mike, On 07/18/11 04:23, Michael Meeks wrote: Hi Mike, On Fri, 2011-07-15 at 12:34 -0700, Mike Eberdt wrote: This patch eliminates a test: : bad number diagnostic on FreeBSD. Contributed under LGPL3+/MPL. Thanks; I pushed it, and then updated it to use: if test z$EUID = z0 -a z

Re: [Libreoffice] [PATCH] Work around a bash-ism in configure.in

2011-07-18 Thread Mike Eberdt
Hi Christian, On 07/18/11 04:56, Christian Lohmaier wrote: Hi MIke, *, On Fri, Jul 15, 2011 at 9:34 PM, Mike Eberdtlibr...@comcast.net wrote: Configure.in eventually gets parsed by /bin/sh, and on Free/Net/OpenBSD /bin/sh is not synonymous with bash. Therefore, bash-isms in configure.in

[Libreoffice] [PATCH] Work around a bash-ism in configure.in

2011-07-15 Thread Mike Eberdt
Eberdt From b5aed1a20202589645e30ab3767f5c561b70e0af Mon Sep 17 00:00:00 2001 From: Mike Eberdt libr...@comcast.net Date: Fri, 15 Jul 2011 12:09:31 -0700 Subject: [PATCH] Work around a bash-ism in configure.in --- configure.in |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff

[Libreoffice] [PATCH] Properly determine number of CPUs on FreeBSD

2011-07-14 Thread Mike Eberdt
Greetings, This started as a simple and obvious one-liner, but somehow the code morphed into something that seems a bit more clear (to me, at least). Sanity-checked on FreeBSD and Ubuntu. Contributed under LGPL3+/MPL. Thanks, Mike Eberdt From bca781bca606d7bab5908d6eb2f39d4439984846 Mon

[Libreoffice] [PATCH] Accept either 'amd64' or 'x86_64' in the platform id on FreeBSD

2011-07-12 Thread Mike Eberdt
substituted before configure is run). The following patch allows one to configure LO outside of the FreeBSD Ports environment as well. Contributed under LGPL3+/MPL. Thanks, Mike Eberdt --- set_soenv.in |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/set_soenv.in b