Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Feb 2003 04:19:11 -0800
From:      Michael Collette <metrol@metrol.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        KDE-FreeBSD <kde-freebsd@lists.csociety.org>
Subject:   ports/48304: unixODBC patch to fix GUI build
Message-ID:  <200302150419.11833.metrol@metrol.net>

next in thread | raw e-mail | index | archive | help

>Number:         48304
>Category:       ports
>Synopsis:       unixODBC patch to fix GUI build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 15 04:20:07 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Michael Collette
>Release:        FreeBSD 4.7-RC i386
>Organization:
>Environment:
System: FreeBSD 4.7-STABLE FreeBSD 4.7-STABLE #0: Sat Feb  8 23:22:36 PST 2003     

>Description:
Due to a bug in Qt-3.1's support for legacy calls to qmlined.h unixODBC
will not build when specifying "WITH_GUI=yes".  A seperate PR has been
filed against the Qt error, but unixODBC shouldn't be including qmlined.h
in the first place.  It should be including qtextedit.h instead per the
following article.

http://doc.trolltech.com/3.1/porting.html#15

Following this submission I will attempt to contact the unixODBC project
and inform them of this patch so that it may be corrected properly.

The following patch allows unixODBC to build properly with GUI support,
with or without correction to the Qt-3.1 port.

>How-To-Repeat:

>Fix:
diff -ruN unixODBC.orig/files/patch-DataManager::classISQL.h unixODBC/files/patch-DataManager::classISQL.h
--- unixODBC.orig/files/patch-DataManager::classISQL.h Wed Dec 31 16:00:00 1969
+++ unixODBC/files/patch-DataManager::classISQL.h	Sat Feb 15 03:23:08 2003
@@ -0,0 +1,11 @@
+--- DataManager/classISQL.h.orig	Thu Dec 13 04:55:58 2001
++++ DataManager/classISQL.h	Sat Feb 15 03:22:44 2003
+@@ -17,7 +17,7 @@
+ #include <qcombo.h>
+ #include <qslider.h>
+ #include <qtabbar.h>
+-#include <qmlined.h>
++#include <qtextedit.h>
+ #include <qfile.h>
+ #include <qfiledialog.h>
+ #include <qtextstream.h>

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302150419.11833.metrol>