ports/59866: [patch] math/units: Unbreak on -CURRENT (nmu)

Volker Stolz stolz at i2.informatik.rwth-aachen.de
Mon Dec 1 10:30:20 UTC 2003


>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 at 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:



More information about the freebsd-ports-bugs mailing list