Bug 64743

Summary: [PATCH] port databases/libiodbc: correct detection of wchar_t
Product: Ports & Packages Reporter: Oliver Eikemeier <eikemeier>
Component: Individual Port(s)Assignee: Oliver Eikemeier <eik>
Status: Closed FIXED    
Severity: Affects Only Me CC: ebakke
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

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 2004-03-26 08:01:26 UTC
State Changed
From-To: open->feedback

Maintainer CC'ed
Comment 2 Pav Lucistnik freebsd_committer 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 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 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.