From owner-freebsd-ports Mon Dec 23 3:50: 5 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 083EF37B401 for ; Mon, 23 Dec 2002 03:50:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DB3A43EDC for ; Mon, 23 Dec 2002 03:50:02 -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 gBNBo2NS086310 for ; Mon, 23 Dec 2002 03:50:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gBNBo2BH086309; Mon, 23 Dec 2002 03:50:02 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 582CC37B401 for ; Mon, 23 Dec 2002 03:42:09 -0800 (PST) Received: from fafoe.dyndns.org (chello212186121237.14.vie.surfer.at [212.186.121.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF42643EDE for ; Mon, 23 Dec 2002 03:42:08 -0800 (PST) (envelope-from stefan@fafoe.dyndns.org) Received: from frog.fafoe (frog.fafoe [192.168.2.101]) by fafoe.dyndns.org (Postfix) with ESMTP id D60AB41F7; Mon, 23 Dec 2002 12:42:06 +0100 (CET) Received: by frog.fafoe (Postfix, from userid 1001) id 33ACD8A3; Mon, 23 Dec 2002 12:42:06 +0100 (CET) Message-Id: <20021223114206.33ACD8A3@frog.fafoe> Date: Mon, 23 Dec 2002 12:42:06 +0100 (CET) From: Stefan Farfeleder Reply-To: Stefan Farfeleder To: FreeBSD-gnats-submit@FreeBSD.org Cc: stefan@fafoe.dyndns.org X-Send-Pr-Version: 3.113 Subject: ports/46491: [patch] Fix devel/mingw-gcc on -current Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 46491 >Category: ports >Synopsis: [patch] Fix devel/mingw-gcc on -current >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 23 03:50:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Stefan Farfeleder >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD frog.fafoe 5.0-CURRENT FreeBSD 5.0-CURRENT #8: Fri Dec 20 01:53:06 CET 2002 freebsd@frog.fafoe:/freebsd/current/obj/freebsd/current/src/sys/FROG i386 >Description: This port does not build due to differing types of sys_nerr, sys_errlist and sys_nsig in our system headers and in libiberty code. Instead of fixing the types this patch just disables building and linking of strerror.c and strsignal.c; they are not needed anyway as the system ones work just fine. >How-To-Repeat: Install devel/mingc-gcc on -current and observe how it fails (http://bento.freebsd.org/errorlogs/i386-5-latest/mingw-gcc-2.95.3_1.log) >Fix: --- mingw-gcc.patch begins here --- Index: Makefile =================================================================== RCS file: /usr/home/ncvs/ports/devel/mingw-gcc/Makefile,v retrieving revision 1.9 diff -c -r1.9 Makefile *** Makefile 8 Nov 2002 23:03:48 -0000 1.9 --- Makefile 23 Dec 2002 11:04:05 -0000 *************** *** 40,45 **** --- 40,47 ---- post-patch: ${REINPLACE_CMD} -e 's/install-libiberty//' ${WRKSRC}/Makefile.in + ${REINPLACE_CMD} -E -e 's/([^x])str(error|signal).[co]/\1/g' \ + ${WRKSRC}/libiberty/Makefile.in ${WRKSRC}/libstdc++/Makefile.in pre-install: ${MV} ${PREFIX}/bin/i386-mingw32msvc-c++filt \ --- mingw-gcc.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message