Bug 64743 - [PATCH] port databases/libiodbc: correct detection of wchar_t
Summary: [PATCH] port databases/libiodbc: correct detection of wchar_t
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Oliver Eikemeier
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-26 08:00 UTC by Oliver Eikemeier
Modified: 2004-04-10 15:03 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (1.21 KB, patch)
2004-03-26 08:00 UTC, Oliver Eikemeier
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Eikemeier 2004-03-26 08:00:43 UTC
iodbc fails to detect wchar_t on FreeBSD, causing programs that include
the sql.h header to fail.

Fix: The patch test for __FreeBSD__, since using _BSD_CT_RUNE_T_ seems a litle to fragile
Probably this should be addressed to the upstream provider, too.
How-To-Repeat: 
cd /usr/ports/net/openldap22-server; make WITH_ODBC=yes

from config.log:
...
In file included from /usr/local/include/sql.h:84,
                 from configure:20588:
/usr/local/include/sqltypes.h:416: #error Please make sure your system supports the wchar_t type
Comment 1 Oliver Eikemeier freebsd_committer freebsd_triage 2004-03-26 08:01:26 UTC
State Changed
From-To: open->feedback

Maintainer CC'ed
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2004-04-10 12:23:11 UTC
State Changed
From-To: feedback->open

Maintainer timeout was hit, back to submitter to handle. 


Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2004-04-10 12:23:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->eik

Maintainer timeout was hit, back to submitter to handle.
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2004-04-10 15:03:01 UTC
State Changed
From-To: open->closed

Committed. I wanted to let you handle it, but I stumbled 
over the problem in some other port and I need to get it fixed.