From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Feb 8 16:00:02 2008 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 6C79216A41B for ; Fri, 8 Feb 2008 16:00:02 +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 4500913C46B for ; Fri, 8 Feb 2008 16:00:02 +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 m18G02MI096262 for ; Fri, 8 Feb 2008 16:00:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m18G02JY096261; Fri, 8 Feb 2008 16:00:02 GMT (envelope-from gnats) Resent-Date: Fri, 8 Feb 2008 16:00:02 GMT Resent-Message-Id: <200802081600.m18G02JY096261@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 8C4F816A469 for ; Fri, 8 Feb 2008 15:50: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 1E1A913C4EB for ; Fri, 8 Feb 2008 15:50:30 +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 1JNVUk-0003VJ-0i for FreeBSD-gnats-submit@freebsd.org; Fri, 08 Feb 2008 16:50:30 +0100 Received: from gahrtop.localhost (localhost [127.0.0.1]) by gahrtop.localhost (Postfix) with ESMTP id 3600150841 for ; Fri, 8 Feb 2008 16:50:27 +0100 (CET) Message-Id: <1202485827.73550@gahrtop.localhost> Date: Fri, 8 Feb 2008 16:50:27 +0100 From: "Pietro Cerutti" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.9 Cc: Subject: ports/120415: [patch] math/oleo unbreak fix build with GCC 4.2 + adopt maintainship 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: Fri, 08 Feb 2008 16:00:02 -0000 >Number: 120415 >Category: ports >Synopsis: [patch] math/oleo unbreak fix build with GCC 4.2 + adopt maintainship >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: Fri Feb 08 16:00:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Pietro Cerutti >Release: FreeBSD 8.0-CURRENT i386 >Organization: >Environment: System: FreeBSD 8.0-CURRENT #2: Fri Feb 8 02:46:14 CET 2008 root@gahrtop.localhost:/usr/obj/usr/src/sys/MSI1034 >Description: - fix a few things which are not accepted anymore in GCC 4.2 - set maintainship to me >How-To-Repeat: >Fix: --- _oleo.diff begins here --- --- /dev/null 2008-02-08 16:46:19.000000000 +0100 +++ files/patch-src_basic.h 2008-02-08 16:42:41.000000000 +0100 @@ -0,0 +1,12 @@ +--- src/basic.h.orig 2008-02-08 16:40:42.000000000 +0100 ++++ src/basic.h 2008-02-08 16:40:48.000000000 +0100 +@@ -36,9 +36,6 @@ + + extern const int colmagic[9]; + extern const int rowmagic[9]; +-extern char * motion_name[9]; +-extern enum motion_magic complementary_motion[9]; +-extern enum motion_magic opposite_motion[9]; + + extern int run_load_hooks; + --- /dev/null 2008-02-08 16:46:19.000000000 +0100 +++ files/patch-src_io-term.c 2008-02-08 16:45:26.000000000 +0100 @@ -0,0 +1,25 @@ +--- src/io-term.c.orig 2008-02-08 16:43:28.000000000 +0100 ++++ src/io-term.c 2008-02-08 16:45:06.000000000 +0100 +@@ -220,6 +220,7 @@ + { + int set_opt = 1; + int i, l; ++ int *tmp; + char *p; + + while (*ptr == ' ') +@@ -234,9 +235,11 @@ + + if (Preferences[i].copynext) { + ptr += strlen(Preferences[i].name) + 1; +- ((char *)Preferences[i].var) = strdup(ptr); +- } else if (Preferences[i].var) +- *((int *)Preferences[i].var) = Preferences[i].value; ++ Preferences[i].var = strdup(ptr); ++ } else if (Preferences[i].var) { ++ tmp = Preferences[i].var; ++ *tmp = Preferences[i].value; ++ } + + if (Preferences[i].cont == 0) + return 1; --- /dev/null 2008-02-08 16:46:19.000000000 +0100 +++ files/patch-src_io-term.h 2008-02-08 16:41:54.000000000 +0100 @@ -0,0 +1,10 @@ +--- src/io-term.h.orig 2008-02-08 16:38:59.000000000 +0100 ++++ src/io-term.h 2008-02-08 16:38:48.000000000 +0100 +@@ -21,6 +21,7 @@ + */ + + #include ++#include "funcs.h" + #include "global.h" + + extern int using_x; --- Makefile.orig 2008-02-08 16:31:28.000000000 +0100 +++ Makefile 2008-02-08 16:48:53.000000000 +0100 @@ -12,7 +12,7 @@ MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= ${PORTNAME} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= gahr@gahr.ch COMMENT= The GNU spreadsheet for X11 and terminals USE_PERL5_BUILD= yes @@ -28,12 +28,6 @@ OPTIONS= MOTIF "Motif support" off \ NLS "NLS support" on -.include - -.if ${OSVERSION} >= 700042 -BROKEN= Broken with gcc 4.2 -.endif - .if defined(WITH_MOTIF) LIB_DEPENDS+= plot:${PORTSDIR}/graphics/plotutils \ Xbae:${PORTSDIR}/x11-toolkits/xbae \ @@ -72,4 +66,4 @@ && iconv -c -t ascii ${file}.pre_iconv > ${file} || ${TRUE} .endfor -.include +.include --- _oleo.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: