Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 285457

Summary: x11-libs/wxGTK:2.8: allow using dev-db/libiodbc
Product: Gentoo Linux Reporter: Rafał Mużyło <galtgendo>
Component: [OLD] LibraryAssignee: Gentoo wxWidgets project <wxwidgets>
Status: RESOLVED OBSOLETE    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch that prefers libiodbc

Description Rafał Mużyło 2009-09-18 14:10:41 UTC
wxGTK can use either unixODBC or libiodbc. Current ebuild
accepts only unixODBC. A not very complicated patch allows
the use of libiodbc - it doesn't work out-of-the-box,
cause it searches for the headers in an incorrect place.
Writing a better patch, that lets choose between those two flavors
shouldn't be hard. After applying patch, calling eautoconf is
necessary.

On a not really related note: wxGTK has an automagical dep on esound.
Comment 1 Rafał Mużyło 2009-09-18 14:15:21 UTC
Created attachment 204520 [details, diff]
patch that prefers libiodbc

Noteworthy may be the fact, that had the upstream check work,
it would prefer iodbc too - it would use this lib in builtin case.
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2010-02-15 00:03:58 UTC
Any chance this could get in upstream first?
Comment 3 Rafał Mużyło 2010-02-15 00:18:26 UTC
Frankly - not really.
This is a hack valid for Gentoo unixODBC/libiodbc layout.

Just as the comment seen in this patch states, the proper way
would be using {,i}odbc-config, but this patch works on Gentoo
just fine.
Comment 4 Mart Raudsepp gentoo-dev 2018-07-16 00:23:55 UTC
wxGTK:2.8 has been last rited in bug 661284 and and wxGTK:3.0 doesn't have ODBC, thus closing this bug here as obsolete