rpms/elfutils/devel elfutils-0.122-cast.patch, NONE, 1.1 elfutils.spec, 1.69, 1.70

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Jul 13 01:22:56 UTC 2006


Author: roland

Update of /cvs/dist/rpms/elfutils/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv24812

Modified Files:
	elfutils.spec 
Added Files:
	elfutils-0.122-cast.patch 
Log Message:
Build nit broke s390

elfutils-0.122-cast.patch:
 0 files changed

--- NEW FILE elfutils-0.122-cast.patch ---
# 
# old_revision [f2430dc0eb44237e21095615046752a3f2779806]
# 
# patch "src/ChangeLog"
#  from [f8c27340f5383e9b12ba61c17f42836427afb156]
#    to [d1f7cabb30fbf8fcd0d37e059ef91fe6d2bfa052]
# 
# patch "src/readelf.c"
#  from [c644fd7f7331b5041932ad76ea3dfd9de609fdbf]
#    to [e900c18372c2c54db50c064ddb119044cc65b61f]
# 
============================================================
--- src/ChangeLog	f8c27340f5383e9b12ba61c17f42836427afb156
+++ src/ChangeLog	d1f7cabb30fbf8fcd0d37e059ef91fe6d2bfa052
@@ -1,3 +1,8 @@
+2006-07-12  Roland McGrath  <roland at redhat.com>
+
+	* readelf.c (handle_gnu_hash): Add a cast for machines where
+	Elf32_Word != unsigned int.
+
 2006-07-12  Ulrich Drepper  <drepper at redhat.com>
 
 	* elflint.c (check_sysv_hash64): Fix printf format.
============================================================
--- src/readelf.c	c644fd7f7331b5041932ad76ea3dfd9de609fdbf
+++ src/readelf.c	e900c18372c2c54db50c064ddb119044cc65b61f
@@ -2534,7 +2534,7 @@
   if (asprintf (&str, gettext ("\
  Symbol Bias: %u\n\
  Bitmask Size: %zu bytes  %" PRIuFAST32 "%% bits set  2nd hash shift: %u\n"),
-		symbias, bitmask_words * sizeof (Elf32_Word),
+		(unsigned int) symbias, bitmask_words * sizeof (Elf32_Word),
 		(nbits * 100 + 50) / (bitmask_words * sizeof (Elf32_Word) * 8),
 		shift) == -1)
     error (EXIT_FAILURE, 0, gettext ("memory exhausted"));


Index: elfutils.spec
===================================================================
RCS file: /cvs/dist/rpms/elfutils/devel/elfutils.spec,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- elfutils.spec	12 Jul 2006 22:08:26 -0000	1.69
+++ elfutils.spec	13 Jul 2006 01:22:49 -0000	1.70
@@ -20,6 +20,7 @@
 Source: elfutils-%{version}.tar.gz
 Patch1: elfutils-portability.patch
 Patch2: elfutils-robustify.patch
+Patch3: elfutils-0.122-cast.patch
 Obsoletes: libelf libelf-devel
 Requires: elfutils-libelf = %{version}-%{release}
 Requires: elfutils-libs = %{version}-%{release}
@@ -110,6 +111,8 @@
 %prep
 %setup -q
 
+%patch3 -p0
+
 %if %{compat}
 %patch1 -p1
 sleep 1




More information about the fedora-cvs-commits mailing list