From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Dec 20 18:50:01 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C79D16A4A5 for ; Thu, 20 Dec 2007 18:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 17ACE13C4F5 for ; Thu, 20 Dec 2007 18:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lBKIo0Bv077098 for ; Thu, 20 Dec 2007 18:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBKIo0mX077097; Thu, 20 Dec 2007 18:50:00 GMT (envelope-from gnats) Resent-Date: Thu, 20 Dec 2007 18:50:00 GMT Resent-Message-Id: <200712201850.lBKIo0mX077097@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Pietro Cerutti" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDA8216A418 for ; Thu, 20 Dec 2007 18:47:31 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 4666313C4D3 for ; Thu, 20 Dec 2007 18:47:31 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from 80-218-191-236.dclient.hispeed.ch ([80.218.191.236] helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpa (Exim 4.68) (envelope-from ) id 1J5QQc-0000rR-Ah for FreeBSD-gnats-submit@freebsd.org; Thu, 20 Dec 2007 19:47:30 +0100 Received: from gahrtop.localhost (localhost [127.0.0.1]) by gahrtop.localhost (Postfix) with ESMTP id C9A6F73063 for ; Thu, 20 Dec 2007 19:45:54 +0100 (CET) Message-Id: <1198176354.48317@gahrtop.localhost> Date: Thu, 20 Dec 2007 19:45:54 +0100 From: "Pietro Cerutti" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.8 Cc: Subject: ports/118900: [patch] news/grn unbreak fix build with GCC 4.2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2007 18:50:01 -0000 >Number: 118900 >Category: ports >Synopsis: [patch] news/grn unbreak fix build with GCC 4.2 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 20 18:50:00 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Pietro Cerutti >Release: FreeBSD 8.0-CURRENT i386 >Organization: >Environment: System: FreeBSD 8.0-CURRENT #18: Tue Dec 18 12:48:22 CET 2007 root@gahrtop.localhost:/usr/obj/usr/src/sys/MSI1034 >Description: >How-To-Repeat: >Fix: --- _grn.diff begins here --- --- Makefile.orig 2007-12-20 19:30:24.000000000 +0100 +++ Makefile 2007-12-20 19:30:50.000000000 +0100 @@ -26,14 +26,8 @@ CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -.include - -.if ${OSVERSION} >= 700042 -BROKEN= Broken with gcc 4.2 -.endif - post-patch: @${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \ ${WRKSRC}/configure ${WRKSRC}/libmutt/configure -.include +.include --- /dev/null 2007-12-20 19:44:00.000000000 +0100 +++ files/patch-libmutt_keymap.h 2007-12-20 19:32:22.000000000 +0100 @@ -0,0 +1,11 @@ +--- libmutt/keymap.h.orig 2007-12-20 19:31:26.000000000 +0100 ++++ libmutt/keymap.h 2007-12-20 19:32:04.000000000 +0100 +@@ -77,7 +77,7 @@ + /* dokey() records the last real key pressed */ + extern int LastKey; + +-extern struct mapping_t Menus[]; ++extern struct mapping_t *Menus; + + struct binding_t + { --- /dev/null 2007-12-20 19:44:00.000000000 +0100 +++ files/patch-libmutt_sort.h 2007-12-20 19:33:14.000000000 +0100 @@ -0,0 +1,8 @@ +--- libmutt/sort.h.orig 2007-12-20 19:32:43.000000000 +0100 ++++ libmutt/sort.h 2007-12-20 19:32:55.000000000 +0100 +@@ -45,4 +45,4 @@ + WHERE short SortAux INITVAL (SORT_DATE); /* auxiallary sorting method */ + WHERE short SortAlias INITVAL (SORT_ALIAS); + +-extern const struct mapping_t SortMethods[]; ++extern const struct mapping_t *SortMethods; --- _grn.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: