Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Dec 2003 11:20:49 +0100 (CET)
From:      Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jharris@widomaker.com
Subject:   ports/59866: [patch] math/units: Unbreak on -CURRENT (nmu)
Message-ID:  <200312011020.hB1AKn0l025408@menelaos.informatik.rwth-aachen.de>
Resent-Message-ID: <200312011030.hB1AUIe1080977@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         59866
>Category:       ports
>Synopsis:       [patch] math/units: Unbreak on -CURRENT (nmu)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 01 02:30:18 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Volker Stolz
>Release:        FreeBSD 4.9-RC i386
>Organization:
Lehrstuhl für Informatik II
>Environment:
System: FreeBSD menelaos.informatik.rwth-aachen.de 4.9-RC FreeBSD 4.9-RC #10: Tue Oct 7 12:32:25 CEST 2003 root@menelaos.informatik.rwth-aachen.de:/usr/obj/usr/src/sys/MENELAOS i386


>Description:
Fix gcc33-issue; cpp is prying into invalid code inside of #if 0.

cc:maintainer. Please consider changing mastersite to
http://www.cam.cornell.edu/~adrian/units.html where more recent
versions are available!

Tested on: -STABLE, -CURRENT
>How-To-Repeat:
http://bento.freebsd.org/errorlogs/i386-5-latest/units-1.80.log
>Fix:
[Ab]use C++-style comments for offending section.

Add new patch-file: files/patch-units.c
--- patch-units.c begins here ---
--- units.c.orig	Mon Dec  1 11:09:41 2003
+++ units.c	Mon Dec  1 11:10:00 2003
@@ -2358,9 +2358,9 @@
 
 #if 0
 
-    "sed 's/.*/& ft\"
-    "m/' feet|units -q|sed 's/^[[:space:]]*\* //"
-    "/^[[:space:]]*\//d'"
+//    "sed 's/.*/& ft\"
+//    "m/' feet|units -q|sed 's/^[[:space:]]*\* //"
+//    "/^[[:space:]]*\//d'"
 
 #endif
 
--- patch-units.c ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312011020.hB1AKn0l025408>