From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2096 invoked by alias); 22 Feb 2002 22:48:25 -0000 Mailing-List: contact sourcenav-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sourcenav-owner@sources.redhat.com Received: (qmail 1989 invoked from network); 22 Feb 2002 22:48:22 -0000 Received: from unknown (HELO shell4.bayarea.net) (209.128.82.1) by sources.redhat.com with SMTP; 22 Feb 2002 22:48:22 -0000 Received: from modrick (209-128-79-218.BAYAREA.NET [209.128.79.218]) by shell4.bayarea.net (8.9.3/8.9.3) with SMTP id OAA02037; Fri, 22 Feb 2002 14:48:21 -0800 (envelope-from supermo@bayarea.net) Date: Fri, 22 Feb 2002 15:53:00 -0000 From: Mo DeJong To: insight@sources.redhat.com Cc: sourcenav@sources.redhat.com Subject: Re: Patch for fix libgui compile under VC++ Message-Id: <20020222144719.0d23dab1.supermo@bayarea.net> In-Reply-To: <20020222024222.394b88a4.supermo@bayarea.net> References: <20020222024222.394b88a4.supermo@bayarea.net> Organization: House of Mirth X-Mailer: Sylpheed version 0.4.99cvs6 (GTK+ 1.2.7; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2002-q1/txt/msg00121.txt.bz2 On Fri, 22 Feb 2002 02:42:22 -0800 Mo DeJong wrote: > I noticed that the recent import of tkTable 2.7 has broken the > libgui build under VC++. A short chat with Keith has convinced me to revise my suggested patch to instead define -DSTATIC_BUILD when building libgui. This patch also includes the patch change for src/Makefile.in. cheers Mo 2002-02-22 Mo DeJong * src/Makefile.am: Add -DSTATIC_BUILD so that no __declspec() is used in function delarations. This fixes the build under VC++. * src/Makefile.in: Regen. Index: src/Makefile.am =================================================================== RCS file: /cvs/src/src/libgui/src/Makefile.am,v retrieving revision 1.5 diff -u -r1.5 Makefile.am --- Makefile.am 2002/02/05 23:16:15 1.5 +++ Makefile.am 2002/02/22 22:44:07 @@ -47,7 +47,8 @@ $(TKHDIR)/../unix $(TKHDIR)/../win \ -DTBL_VERSION=\"$(TBL_VERSION)\"\ -DTBL_COMMAND=\"$(TBL_COMMAND)\"\ --DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DIR=\"$(guidir)\" +-DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DIR=\"$(guidir)\"\ +-DSTATIC_BUILD TKTABLE_SOURCES = tkTable.c tkTableCell.c tkTableCellSort.c \ tkTableCmds.c tkTableEdit.c tkTableTag.c tkTableWin.c tkTableUtil.c Index: src/Makefile.in =================================================================== RCS file: /cvs/src/src/libgui/src/Makefile.in,v retrieving revision 1.10 diff -u -r1.10 Makefile.in --- Makefile.in 2002/02/05 23:16:16 1.10 +++ Makefile.in 2002/02/22 22:44:08 @@ -172,7 +173,8 @@ $(TKHDIR)/../unix $(TKHDIR)/../win \ -DTBL_VERSION=\"$(TBL_VERSION)\"\ -DTBL_COMMAND=\"$(TBL_COMMAND)\"\ --DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DIR=\"$(guidir)\" +-DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DIR=\"$(guidir)\"\ +-DSTATIC_BUILD TKTABLE_SOURCES = tkTable.c tkTableCell.c tkTableCellSort.c \