[Buildroot] [PATCH] subversion: bump to version 1.9.2

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Sep 27 21:35:03 UTC 2015


Dear Vicente Olivert Riera,

On Thu, 24 Sep 2015 11:20:00 +0100, Vicente Olivert Riera wrote:
> - Bump to version 1.9.2.
> - Update the hash file.
> - Fix a typo in the berkeley-db configure option.
> - Remove non-existent configure options: neon, gssapi and ssl.
> - Remove neon dependency: is not needed to build subversion.
> - Tweak the 0001-dont-mangle-cflags.patch for the 1.9.2 version.
> - Add a new 0002-dont-check-mach-o.patch to remove a configure check for
>   Mach-O which breaks the build when cross-compiling.
> 
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com>

Note: subversion now autoreconfigures properly, so patching the
configure script directly is not good, configure.ac should be patched
instead.

> diff --git a/package/subversion/0002-dont-check-mach-o.patch b/package/subversion/0002-dont-check-mach-o.patch
> new file mode 100644
> index 0000000..ac28d1b
> --- /dev/null
> +++ b/package/subversion/0002-dont-check-mach-o.patch
> @@ -0,0 +1,71 @@
> +Don't check for Apple's Mach-O during configure phase
> +
> +Mach-O is a short for Mach Object file format, which is used by most
> +systems based on the Mach Kernel, like NeXTSTEP, OS X, or iOS. [1]
> +
> +Given that Buildroot only supports Linux kernels, and also given that
> +this check breaks the build when cross-compiling...
> +
> +checking for Mach-O dynamic module iteration functions
> +error: cannot run test program while cross compiling
> +
> +..., it's safe to remove this check from the configure script.
> +
> +[1] : https://en.wikipedia.org/wiki/Mach-OM
> +
> +Signed-off-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com>

Ideally, this should be solved by running the autoconf test only on the
corresponding OS, or adding a cache variable to feed the result of the
test (which is normally what is done for most AC_RUN_IFELSE tests).

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list