SOURCES (AC-branch): rpm-amd64.patch - merged from HEAD

baggins baggins at pld-linux.org
Fri Jun 17 16:36:53 CEST 2005


Author: baggins                      Date: Fri Jun 17 14:36:53 2005 GMT
Module: SOURCES                       Tag: AC-branch
---- Log message:
- merged from HEAD

---- Files affected:
SOURCES:
   rpm-amd64.patch (1.4 -> 1.4.4.1) 

---- Diffs:

================================================================
Index: SOURCES/rpm-amd64.patch
diff -u SOURCES/rpm-amd64.patch:1.4 SOURCES/rpm-amd64.patch:1.4.4.1
--- SOURCES/rpm-amd64.patch:1.4	Sun Dec 28 02:40:21 2003
+++ SOURCES/rpm-amd64.patch	Fri Jun 17 16:36:48 2005
@@ -1,7 +1,7 @@
-diff -urN rpm-4.3.org/build/parseSpec.c rpm-4.3/build/parseSpec.c
---- rpm-4.3.org/build/parseSpec.c	2003-12-27 23:56:47.451095576 +0100
-+++ rpm-4.3/build/parseSpec.c	2003-12-28 00:32:48.447574176 +0100
-@@ -189,6 +189,15 @@
+diff -urN rpm.org/build/parseSpec.c rpm/build/parseSpec.c
+--- rpm.org/build/parseSpec.c	2004-06-14 14:52:54.433793272 +0200
++++ rpm/build/parseSpec.c	2004-06-14 14:55:21.399451096 +0200
+@@ -227,6 +227,15 @@
      return 0;
  }
  /*@=boundswrite@*/
@@ -17,7 +17,7 @@
  
  /*@-boundswrite@*/
  int readLine(Spec spec, int strip)
-@@ -277,13 +286,15 @@
+@@ -319,13 +328,15 @@
  	match = 0;
      } else if (! strncmp("%ifarch", s, sizeof("%ifarch")-1)) {
  	const char *arch = rpmExpand("%{_target_cpu}", NULL);
@@ -35,30 +35,10 @@
  	arch = _free(arch);
      } else if (! strncmp("%ifos", s, sizeof("%ifos")-1)) {
  	const char *os = rpmExpand("%{_target_os}", NULL);
-diff -urN rpm-4.3.org/installplatform rpm-4.3/installplatform
---- rpm-4.3.org/installplatform	2003-12-27 23:56:26.892221000 +0100
-+++ rpm-4.3/installplatform	2003-12-28 00:37:53.285231808 +0100
-@@ -31,6 +31,7 @@
- 
- case "$arch" in
-   i[3456]86|athlon) SUBSTS='s_i386_i386_ s_i386_i486_ s_i386_i586_ s_i386_i686_ s_i386_athlon_' ;;
-+  x86_64*|amd64*) SUBSTS="s/${arch}/x86_64/ s/${arch}/amd64/" ;;
-   alpha*) SUBSTS='s_alpha_alpha_ s_alpha_alphaev5_ s_alpha_alphaev56_ s_alpha_alphapca56_ s_alpha_alphaev6_ s_alpha_alphaev67_' ;;
-   sparc*) SUBSTS='s_sparc\(64\|v9\)_sparc_ s_sparc64_sparcv9_;s_sparc\([^v]\|$\)_sparcv9\1_ s_sparcv9_sparc64_;s_sparc\([^6]\|$\)_sparc64\1_' ;;
-   powerpc*|ppc*) SUBSTS='s_ppc64_ppc_ s_ppc\([^6ip]\|$\)_ppc64\1_ s_ppc\([^6ip]\|$\)_ppciseries_ s_ppc\([^6ip]\|$\)_ppcpseries_ s_ppc\([^6ip]\|$\)_ppc64iseries_ s_ppc\([^6ip]\|$\)_ppc64pseries_' ;;
-@@ -66,7 +67,7 @@
-     ppc-linux) MULTILIBNO=1 ;;
-     ppc64-linux) LIB=lib64; MULTILIBNO=2 ;;
-     i?86-linux|athlon-linux) MULTILIBNO=1 ;;
--    x86_64-linux) LIB=lib64; MULTILIBNO=2 ;;
-+    x86_64-linux|amd64-linux) LIB=lib64; MULTILIBNO=2 ;;
-   esac
- 
-   if [ -n "$MULTILIBNO" ]; then
-diff -urN rpm-4.3.org/lib/rpmrc.c rpm-4.3/lib/rpmrc.c
---- rpm-4.3.org/lib/rpmrc.c	2003-12-27 23:56:25.717399600 +0100
-+++ rpm-4.3/lib/rpmrc.c	2003-12-28 00:38:48.681810248 +0100
-@@ -1278,6 +1278,13 @@
+diff -urN rpm.org/lib/rpmrc.c rpm/lib/rpmrc.c
+--- rpm.org/lib/rpmrc.c	2004-06-14 14:53:19.117040848 +0200
++++ rpm/lib/rpmrc.c	2004-06-14 14:55:21.421447752 +0200
+@@ -1319,6 +1319,13 @@
  	}
  #	endif
  
@@ -72,17 +52,31 @@
  #	if defined(__linux__) && defined(__powerpc__)
  	{
  	    unsigned pvr = 0;
-diff -urN rpm-4.3.org/rpmrc.in rpm-4.3/rpmrc.in
---- rpm-4.3.org/rpmrc.in	2003-12-28 00:27:30.039979488 +0100
-+++ rpm-4.3/rpmrc.in	2003-12-28 00:40:25.817043448 +0100
-@@ -203,8 +203,8 @@
+diff -urN rpm.org/rpmrc.in rpm/rpmrc.in
+--- rpm.org/rpmrc.in	2004-06-14 14:53:29.723428432 +0200
++++ rpm/rpmrc.in	2004-06-14 14:58:38.156539472 +0200
+@@ -272,9 +272,9 @@
  
  buildarchtranslate: ia64: ia64
  
 -buildarchtranslate: x86_64: x86_64
 -buildarchtranslate: amd64: x86_64
+-buildarchtranslate: ia32e: x86_64
 +buildarchtranslate: x86_64: amd64
 +buildarchtranslate: amd64: amd64
++buildarchtranslate: ia32e: amd64
  
  #############################################################
  # Architecture compatibility
+diff -urN rpm.org/configure.ac rpm/configure.ac
+--- rpm.org/configure.ac	2004-07-02 23:11:17.214544320 +0200
++++ rpm/configure.ac	2004-07-02 23:11:43.369568152 +0200
+@@ -1110,7 +1110,7 @@
+ *86)		RPMCANONCOLOR=0; RPMCANONARCH=i386 ;;
+ ia32e*)		RPMCANONCOLOR=3; RPMCANONARCH=ia32e ;;
+ amd64*)		RPMCANONCOLOR=3; RPMCANONARCH=amd64 ;;
+-x86_64*)	RPMCANONCOLOR=3; RPMCANONARCH=x86_64 ;;
++x86_64*)	RPMCANONCOLOR=3; RPMCANONARCH=amd64 ;;
+ alpha*)		RPMCANONCOLOR=0; RPMCANONARCH=alpha ;;
+ sparc64*)	RPMCANONCOLOR=3; RPMCANONARCH=sparc64 ;;
+ sparc*)		RPMCANONCOLOR=3; RPMCANONARCH=sparc ;;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/rpm-amd64.patch?r1=1.4&r2=1.4.4.1&f=u




More information about the pld-cvs-commit mailing list