From owner-freebsd-ports-bugs Sat Feb 15 4:20:15 2003 Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B1E837B405 for ; Sat, 15 Feb 2003 04:20:11 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B0E543FBD for ; Sat, 15 Feb 2003 04:20:07 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h1FCK7NS099527 for ; Sat, 15 Feb 2003 04:20:07 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h1FCK78H099526; Sat, 15 Feb 2003 04:20:07 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E861537B401 for ; Sat, 15 Feb 2003 04:19:24 -0800 (PST) Received: from pimout2-ext.prodigy.net (pimout2-ext.prodigy.net [207.115.63.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F53E43F75 for ; Sat, 15 Feb 2003 04:19:24 -0800 (PST) (envelope-from metrol@metrol.net) Received: from metlap (adsl-67-121-60-9.dsl.anhm01.pacbell.net [67.121.60.9]) by pimout2-ext.prodigy.net (8.12.3 da nor stuldap/8.12.3) with ESMTP id h1FCJBMI148546; Sat, 15 Feb 2003 07:19:18 -0500 Message-Id: <200302150419.11833.metrol@metrol.net> Date: Sat, 15 Feb 2003 04:19:11 -0800 From: Michael Collette To: FreeBSD-gnats-submit@FreeBSD.org Cc: KDE-FreeBSD Subject: ports/48304: unixODBC patch to fix GUI build Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 + #include + #include +-#include ++#include + #include + #include + #include >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message