]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- x32 patch fixes
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 23 Mar 2021 07:52:27 +0000 (08:52 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 23 Mar 2021 07:52:27 +0000 (08:52 +0100)
x32.patch

index 38aa1407190493dfb8f5a38824f1718168ef6022..f7ab616cb83786b013c98046da5e5a5ce7552a06 100644 (file)
--- a/x32.patch
+++ b/x32.patch
@@ -51,12 +51,13 @@ diff -ur rpm-4.16.1.2/build/rpmfc.h rpm-4.16.1.2.x32/build/rpmfc.h
 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,9 @@
+@@ -930,6 +930,10 @@
        host_os=`echo "${host_os}" | sed 's/-gnueabi$//'`
        host_os_gnu=-gnueabi
  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
        host_os=`echo "${host_os}" | sed 's/-gnu$//'`
@@ -122,12 +123,7 @@ diff -ur rpm-4.16.1.2/installplatform rpm-4.16.1.2.x32/installplatform
        ;;
      ia64)
        ISANAME=ia
-@@ -190,10 +201,14 @@
-   # skip architectures for which we dont have full config parameters
-   [ -z "$CANONARCH" ] && continue
--  if [ "$OS" = "linux" ] && [ "$CANONCOLOR" = 3 ]; then
-+  if [ "$OS" = "linux" ] && [ "$CANONARCH" = "x86_64" ]; then
+@@ -190,6 +201,10 @@
        LIB=${LIB}64
    fi
  
This page took 0.051152 seconds and 4 git commands to generate.