rpms/trousers/F-9 trousers-0.3.1-cast.patch, NONE, 1.1 trousers.spec, 1.6, 1.7
Emily Ratliff (ejratl)
fedora-extras-commits at redhat.com
Wed Jun 4 15:15:41 UTC 2008
Author: ejratl
Update of /cvs/pkgs/rpms/trousers/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24309
Modified Files:
trousers.spec
Added Files:
trousers-0.3.1-cast.patch
Log Message:
fix for build break on ppc64 and x86_64 due to incorrect cast in tspi_nv.c:220
trousers-0.3.1-cast.patch:
--- NEW FILE trousers-0.3.1-cast.patch ---
diff -Naur trousers-0.3.1-orig/src/tspi/tspi_nv.c trousers-0.3.1/src/tspi/tspi_nv.c
--- trousers-0.3.1-orig/src/tspi/tspi_nv.c 2007-09-25 13:57:58.000000000 -0500
+++ trousers-0.3.1/src/tspi/tspi_nv.c 2008-06-03 22:20:30.000000000 -0500
@@ -217,7 +217,7 @@
nv_data_public.tag = TPM_TAG_NV_DATA_PUBLIC;
- if ((result = obj_nvstore_create_pcrshortinfo(hNvstore, (TSS_HPCRS)NULL, &pPCR_len, &pPCR)))
+ if ((result = obj_nvstore_create_pcrshortinfo(hNvstore, (TSS_HPCRS)0, &pPCR_len, &pPCR)))
return result;
NVPublic_DataSize = 0;
Index: trousers.spec
===================================================================
RCS file: /cvs/pkgs/rpms/trousers/F-9/trousers.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- trousers.spec 3 Jun 2008 21:33:14 -0000 1.6
+++ trousers.spec 4 Jun 2008 15:14:55 -0000 1.7
@@ -3,7 +3,7 @@
%define name trousers
%define version 0.3.1
-%define release 7
+%define release 8
Name: %{name}
Summary: Implementation of the TCG's Software Stack v1.2 Specification
@@ -24,6 +24,7 @@
Requires(preun): /sbin/service
Patch0: trousers-0.3.1-remove-group-install-code.patch
Patch1: trousers-0.3.1-limits.patch
+Patch2: trousers-0.3.1-cast.patch
%description
TrouSerS is an implementation of the Trusted Computing Group's Software Stack
@@ -55,6 +56,7 @@
%setup -q
%patch0 -p1
%patch1 -p2
+%patch2 -p1
%build
%configure
@@ -119,8 +121,11 @@
%{_libdir}/libtddl.a
%changelog
+* Wed Jun 04 2008 Emily Ratliff <ratliff at austin.ibm.com> - 0.3.1-8
+- Fix cast issue preventing successful build on ppc64 and x86_64
+
* Tue Jun 03 2008 Emily Ratliff <ratliff at austin.ibm.com> - 0.3.1-7
-- Fix for RH BZ #434267 and #440733. Patch authored by Debora Velarde
+- Fix for BZ #434267 and #440733. Patch authored by Debora Velarde
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.3.1-6
- Autorebuild for GCC 4.3
More information about the fedora-extras-commits
mailing list