From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 15 08:50:02 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2EDAF527 for ; Fri, 15 Mar 2013 08:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 0EF29A85 for ; Fri, 15 Mar 2013 08:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2F8o1XJ088186 for ; Fri, 15 Mar 2013 08:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2F8o1Nb088185; Fri, 15 Mar 2013 08:50:01 GMT (envelope-from gnats) Resent-Date: Fri, 15 Mar 2013 08:50:01 GMT Resent-Message-Id: <201303150850.r2F8o1Nb088185@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, Tsurutani Naoki Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0ABB54A7 for ; Fri, 15 Mar 2013 08:45:00 +0000 (UTC) (envelope-from turutani@scphys.kyoto-u.ac.jp) Received: from smtp-auth.kuins.kyoto-u.ac.jp (smtp-auth.kuins.kyoto-u.ac.jp [133.3.248.237]) by mx1.freebsd.org (Postfix) with ESMTP id 9196CA49 for ; Fri, 15 Mar 2013 08:44:59 +0000 (UTC) Received: from smtp-auth.kuins.kyoto-u.ac.jp (smtp-auth.kuins.kyoto-u.ac.jp [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 874AC100AD; Fri, 15 Mar 2013 17:44:51 +0900 (JST) Received: from h120.65.226.10.32118.vlan.kuins.net (p1099-ipngn100408kyoto.kyoto.ocn.ne.jp [153.185.47.99]) by smtp-auth.kuins.kyoto-u.ac.jp (Postfix) with ESMTP id 61C6E100A9; Fri, 15 Mar 2013 17:44:51 +0900 (JST) Received: from h120.65.226.10.32118.vlan.kuins.net (localhost [127.0.0.1]) by h120.65.226.10.32118.vlan.kuins.net (8.14.4/8.14.4/20071004-1) with ESMTP id r2F8iguH056847; Fri, 15 Mar 2013 17:44:42 +0900 (JST) (envelope-from turutani@h120.65.226.10.32118.vlan.kuins.net) Received: (from turutani@localhost) by h120.65.226.10.32118.vlan.kuins.net (8.14.4/8.14.4/Submit) id r2F8ieOZ056846; Fri, 15 Mar 2013 17:44:40 +0900 (JST) (envelope-from turutani) Message-Id: <201303150844.r2F8ieOZ056846@h120.65.226.10.32118.vlan.kuins.net> Date: Fri, 15 Mar 2013 17:44:40 +0900 (JST) From: Tsurutani Naoki To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/176985: building devel/libgee fails with japanese/sed Cc: turutani@scphys.kyoto-u.ac.jp X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Tsurutani Naoki List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Mar 2013 08:50:02 -0000 >Number: 176985 >Category: ports >Synopsis: building devel/libgee fails with japanese/sed >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 Mar 15 08:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Tsurutani Naoki >Release: FreeBSD 8.2-PRERELEASE i386 >Organization: >Environment: System: FreeBSD h120.65.226.10.32118.vlan.kuins.net 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #25: Mon Jan 24 10:37:18 JST 2011 turutani@h120.65.226.10.32118.vlan.kuins.net:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386 >Description: building devel/libgee fails while japanese/sed is installed. "-E" option is not understood. >How-To-Repeat: always with japanese/sed installed. >Fix: use "-r" instead of "-E". a patch for devel/libgee can be written. however, I think fixing japanese/sed is better. I do not know whether "-r" can be treated just as "-E", but sed/sed.c says "-r" is for extended regular expression. here is a patch which should be saved as japanese/sed/files/patch-sed_sed.c: --- sed/sed.c.orig 2010-02-14 06:44:16.000000000 +0900 +++ sed/sed.c 2013-03-15 17:22:38.000000000 +0900 @@ -292,7 +292,7 @@ #endif /*STUB_FROM_RX_LIBRARY_USAGE*/ myname = *argv; - while ((opt = getopt_long(argc, argv, "hnrVe:f:W:", longopts, NULL)) != EOF) + while ((opt = getopt_long(argc, argv, "hnrEVe:f:W:", longopts, NULL)) != EOF) { switch (opt) { @@ -307,6 +307,7 @@ break; case 'r': + case 'E': use_extended_syntax_p = 1; rx_testing = 1; break; >Release-Note: >Audit-Trail: >Unformatted: