X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=x32.patch;fp=x32.patch;h=9eab78d44a1c49e7460041e9cf456067426db8b0;hb=710382e8e5f9034761af79485df8ef019f71aae8;hp=32b0caa08827d0808bbc8b6af9e191627961a594;hpb=83ff6f360e156189b7003c4b90696772be9f62b0;p=packages%2Frpm.git diff --git a/x32.patch b/x32.patch index 32b0caa..9eab78d 100644 --- a/x32.patch +++ b/x32.patch @@ -52,16 +52,16 @@ diff -ur rpm-4.16.1.2/configure.ac rpm-4.16.1.2.x32/configure.ac --- rpm-4.16.1.2/configure.ac 2021-03-21 21:51:28.221530479 +0100 +++ rpm-4.16.1.2.x32/configure.ac 2021-03-21 21:50:04.127398387 +0100 @@ -930,6 +930,10 @@ - if echo "$host_os" | grep '.*-gnu$' > /dev/null ; then + if echo "$host_os" | grep '.*-gnu' > /dev/null ; then host_os=`echo "${host_os}" | sed 's/-gnu$//'` fi +if echo "$host_os" | grep '.*-gnux32' > /dev/null ; then + host_os=`echo "${host_os}" | sed 's/-gnux32$//'` + host_os_gnu=-gnux32 +fi - if echo "$host_os" | grep '.*-gnu[[^-]]*$' > /dev/null ; then - AC_MSG_ERROR([unrecognized GNU build triplet $host_os]) - fi + + changequote(<, >) + host_os_exact="${host_os}" diff -ur rpm-4.16.1.2/installplatform rpm-4.16.1.2.x32/installplatform --- rpm-4.16.1.2/installplatform 2020-05-28 12:04:25.027136631 +0200 +++ rpm-4.16.1.2.x32/installplatform 2021-03-21 21:51:47.671145954 +0100