Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285457 - x11-libs/wxGTK:2.8: allow using dev-db/libiodbc
Summary: x11-libs/wxGTK:2.8: allow using dev-db/libiodbc
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-18 14:10 UTC by Rafał Mużyło
Modified: 2018-07-16 00:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch that prefers libiodbc (wxGTK-2.8.10.1-iodbc.patch,1.37 KB, patch)
2009-09-18 14:15 UTC, Rafał Mużyło
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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