From igor@doom.homeunix.org  Sat Aug 14 17:27:02 2004
Return-Path: <igor@doom.homeunix.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7484316A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 14 Aug 2004 17:27:02 +0000 (GMT)
Received: from voodoo.oberon.net (voodoo.oberon.net [212.118.165.100])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2D15543D49
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 14 Aug 2004 17:27:02 +0000 (GMT)
	(envelope-from igor@doom.homeunix.org)
Received: from dialup8296-169.ip.peterstar.net ([82.140.96.169] helo=doom.homeunix.org)
	by voodoo.oberon.net with esmtp (TLSv1:AES256-SHA:256)
	(Exim 4.41 (FreeBSD))
	id 1Bw2Iu-000FHU-NJ
	for FreeBSD-gnats-submit@freebsd.org; Sat, 14 Aug 2004 19:26:54 +0200
Received: from doom.homeunix.org (localhost [127.0.0.1])
	by doom.homeunix.org (8.12.11/8.12.11) with ESMTP id i7EHO5xX003969
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 14 Aug 2004 21:24:57 +0400 (MSD)
	(envelope-from igor@doom.homeunix.org)
Received: (from igor@localhost)
	by doom.homeunix.org (8.12.11/8.12.11/Submit) id i7EHO0vB003968;
	Sat, 14 Aug 2004 21:24:00 +0400 (MSD)
	(envelope-from igor)
Message-Id: <200408141724.i7EHO0vB003968@doom.homeunix.org>
Date: Sat, 14 Aug 2004 21:24:00 +0400 (MSD)
From: Igor Pokrovsky <ip@doom.homeunix.org>
Reply-To: Igor Pokrovsky <ip@doom.homeunix.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Update port: graphics/smoke fix build on 5.x
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         70456
>Category:       ports
>Synopsis:       Update port: graphics/smoke fix build on 5.x
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 14 17:30:18 GMT 2004
>Closed-Date:    Sat Aug 14 17:34:50 GMT 2004
>Last-Modified:  Sat Aug 14 17:34:50 GMT 2004
>Originator:     Igor Pokrovsky
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD doom.homeunix.org 4.10-STABLE FreeBSD 4.10-STABLE #0: Wed Jul 7 12:47:50 MSD 2004 root@doom.homeunix.org:/usr/obj/usr/src/sys/KERNEL i386


	
>Description:
Should fix build on i386 5.x.
	
>How-To-Repeat:
	
>Fix:

	

--- smoke.diff begins here ---
diff -ruN /usr/ports/graphics/smoke/files/patch-src_stroke.cc smoke/files/patch-src_stroke.cc
--- /usr/ports/graphics/smoke/files/patch-src_stroke.cc	Thu Jan  1 03:00:00 1970
+++ smoke/files/patch-src_stroke.cc	Sat Aug 14 21:16:45 2004
@@ -0,0 +1,10 @@
+--- src/stroke.cc.orig	Sat Aug 14 21:16:17 2004
++++ src/stroke.cc	Sat Aug 14 21:16:27 2004
+@@ -24,6 +24,7 @@
+ #include "store.h"
+ #include "segments.h"
+ 
++#include <cmath>
+ 
+ 
+ // StrokeStyle
--- smoke.diff ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: krion 
State-Changed-When: Sat Aug 14 17:34:45 GMT 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70456 
>Unformatted:
