rpms/libpfm/devel libpfm-3.3-ia64-build.patch, NONE, 1.1 libpfm.spec, 1.29, 1.30

William Eden Cohen (wcohen) fedora-extras-commits at redhat.com
Tue Feb 26 16:34:17 UTC 2008


Author: wcohen

Update of /cvs/pkgs/rpms/libpfm/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23813

Modified Files:
	libpfm.spec 
Added Files:
	libpfm-3.3-ia64-build.patch 
Log Message:
* Tue Feb 26 2008 Will Cohen <wcohen at redhat.com> - 3.3-0.080225.2
- Correct possibly unitialized variable umask. Resolves: rhbz #434968



libpfm-3.3-ia64-build.patch:

--- NEW FILE libpfm-3.3-ia64-build.patch ---
diff -up libpfm-3.3/lib/pfmlib_itanium2.c.broken libpfm-3.3/lib/pfmlib_itanium2.c
--- libpfm-3.3/lib/pfmlib_itanium2.c.broken	2008-02-26 10:47:03.000000000 -0500
+++ libpfm-3.3/lib/pfmlib_itanium2.c	2008-02-26 10:47:50.000000000 -0500
@@ -231,7 +231,7 @@ check_inst_retired_events(pfmlib_input_p
 	int code;
 	int c;
 	unsigned int i, count, found = 0;
-	unsigned long umask, mask;
+	unsigned long umask = 0, mask;
 
 	pfm_get_event_code(PME_ITA2_IA64_INST_RETIRED_THIS, &code);
 


Index: libpfm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libpfm/devel/libpfm.spec,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- libpfm.spec	26 Feb 2008 02:49:52 -0000	1.29
+++ libpfm.spec	26 Feb 2008 16:33:35 -0000	1.30
@@ -1,5 +1,5 @@
 %define DATE 080225
-%define libpfm_release 1
+%define libpfm_release 2
 Summary: A performance monitoring library for Linux/ia64
 Name: libpfm
 Version: 3.3
@@ -14,6 +14,7 @@
 
 Patch3: libpfm-3.2-rpm_opt.patch
 #Patch4: libpfm-3.2-man3.patch
+Patch5: libpfm-3.3-ia64-build.patch
 
 BuildRequires: ncurses-devel
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
@@ -40,6 +41,7 @@
 %setup -q -n %{name}-%{version}
 %patch3 -p1 -b .rpm_opt
 #%patch4 -p1 -b .man3
+%patch5 -p1 -b .ia64build
 
 %build
 make	PREFIX=/usr DESTDIR=%{buildroot} LIBDIR=%{_libdir}
@@ -68,6 +70,9 @@
 %{_prefix}/include/*
 
 %changelog
+* Tue Feb 26 2008 Will Cohen <wcohen at redhat.com> - 3.3-0.080225.2
+- Correct possibly unitialized variable umask. Resolves: rhbz #434968
+
 * Mon Feb 25 2008 Will Cohen <wcohen at redhat.com> - 3.3-0.080225.1
 - Update to libpfm-3.3.
 




More information about the fedora-extras-commits mailing list