Bug 145508

Summary: [PATCH] wx-config misreports cflags
Product: [Fedora] Fedora Reporter: Rick L Vinyard Jr <rvinyard>
Component: wxGTKAssignee: Dams <anvil>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: scop, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 2.4.2-8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-01-23 19:40:02 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:
Attachments:
Description Flags
Candidate fix none

Description Rick L Vinyard Jr 2005-01-19 04:16:16 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041228 Firefox/1.0 Fedora/1.0-8

Description of problem:
wx-config is not reporting proper cflags for x86_64.

The output of:
wx-config --cflags

is:
-I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES

and should be:
-I/usr/lib64/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES

which is where wx's setup.h can be found.

Version-Release number of selected component (if applicable):
wxGTK2-devel-2.4.2-7

How reproducible:
Always

Steps to Reproduce:
1. Install wxGTK2-devel
2. Run wx-config
3.
    

Additional info:

Comment 1 Ville Skyttä 2005-01-23 15:44:37 UTC
Created attachment 110105 [details]
Candidate fix

I don't have a x86_64 box to test with, but I guess applying this patch to the
specfile and rebuilding would fix this.  Could you try it out and report how it
goes?

Comment 2 Rick L Vinyard Jr 2005-01-23 19:20:25 UTC
Looks good. I applied against the CVS spec file and rebuilt. Even dependent
libraries build now.

Comment 3 Ville Skyttä 2005-01-23 19:40:02 UTC
Thanks.  This fix will be included in the next wxGTK build in pre-extras.