Bug 467806

Summary: gcc 4.3.0 fix for bit-fields
Product: [Fedora] Fedora Reporter: Brad Hinson <bhinson>
Component: gnupgAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: nalin, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-21 19:25:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 467765    
Attachments:
Description Flags
gcc 4.3.0 fix for bit-fields none

Description Brad Hinson 2008-10-21 00:08:56 UTC
Created attachment 320945 [details]
gcc 4.3.0 fix for bit-fields

Description of problem:
A quick fix to get gnupg-1.4.9 compiling with gcc 4.3.0 by obfuscating
the reference to a bit-field.  Patch from Eric Sandall.

Version-Release number of selected component (if applicable):
gnupg2-2.0.9-1.fc9

Additional info:
This solves the following compile error on s390:
gpgkeys_curl.c:303: error: ‘typeof’ applied to a bit-field

Comment 1 Rex Dieter 2008-10-21 14:01:19 UTC
How does this compare with what's already in cvs (patch extracted from upstream, afaik)?
http://cvs.fedoraproject.org/viewvc/devel/gnupg/gnupg-1.4.9-gcc43.patch

Is this one not sufficient?

Comment 2 Brad Hinson 2008-10-21 19:25:19 UTC
That patch works.  Actually I meant to request that this for gnupg2, but I see it's there as well.  Closing CURRENTRELEASE.

Thanks