From bsam@ipt.ru  Tue Nov  6 19:10:14 2007
Return-Path: <bsam@ipt.ru>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 29C1A16A46B
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  6 Nov 2007 19:10:14 +0000 (UTC)
	(envelope-from bsam@ipt.ru)
Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102])
	by mx1.freebsd.org (Postfix) with ESMTP id DAB0813C4CA
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  6 Nov 2007 19:10:13 +0000 (UTC)
	(envelope-from bsam@ipt.ru)
Received: from admin.sem.ipt.ru ([192.168.12.1] helo=ipt.ru)
	by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD))
	(envelope-from <bsam@ipt.ru>)
	id 1IpToS-000Ojj-N8
	for FreeBSD-gnats-submit@freebsd.org; Tue, 06 Nov 2007 22:10:12 +0300
Received: from bsam by ipt.ru with local (Exim 4.63 (FreeBSD))
	(envelope-from <bsam@ipt.ru>)
	id 1IpTr7-000FJT-Ik
	for FreeBSD-gnats-submit@freebsd.org; Tue, 06 Nov 2007 22:12:57 +0300
Message-Id: <E1IpTr7-000FJT-Ik@ipt.ru>
Date: Tue, 06 Nov 2007 22:12:57 +0300
From: Boris Samorodov <bsam@FreeBSD.org>
Sender: Boris Samorodov <bsam@ipt.ru>
Reply-To: Boris Samorodov <bsam@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] graphics/ffff: unbreak building with gcc-4.2
X-Send-Pr-Version: 3.113
X-GNATS-Notify: rossiya@gmail.com

>Number:         117874
>Category:       ports
>Synopsis:       [patch] graphics/ffff: unbreak building with gcc-4.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bsam
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 06 19:20:00 UTC 2007
>Closed-Date:    Sat May 31 22:07:26 UTC 2008
>Last-Modified:  Sat May 31 22:10:06 UTC 2008
>Originator:     Boris Samorodov
>Release:        FreeBSD 6.2-STABLE amd64
>Organization:
InPharmTech, Co.
>Environment:
System: FreeBSD srv.sem.ipt.ru 6.2-STABLE FreeBSD 6.2-STABLE #0: Tue Jul 24 19:30:05 MSD 2007 bsam@srv.sem.ipt.ru:/usr/obj/usr/src/sys/GENERIC amd64

>Description:
	The port marked as broken for gcc-4.2.
>How-To-Repeat:
>Fix:
	The idea is taken from the Sourceforge Jackit-devel mailing list.
	. unbreak building with gcc-4.2 (add compile options -msse -msse2 -m3dnow);
	. bump PORTREVISION.

--- ffff.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/graphics/ffff/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile	4 Oct 2007 08:50:50 -0000	1.3
+++ Makefile	6 Nov 2007 19:02:34 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	ffff
 PORTVERSION=	323
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -29,7 +29,7 @@
 		extensions vpext
 
 CXXFLAGS+=	-I${X11BASE}/include -I${X11BASE}/include/GL ${PTHREAD_CFLAGS} \
-		-D__linux__
+		-D__linux__ -msse -msse2 -m3dnow
 LDFLAGS+=	-L${X11BASE}/lib ${PTHREAD_LIBS} -lglut -lGL -lXext -lX11 -lXmu \
 		 -lGLU -lm
 
@@ -47,10 +47,4 @@
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 700042
-BROKEN=		Does not compile with GCC 4.2
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
--- ffff.diff ends here ---

WBR
-- 
bsam
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->bsam 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Nov 6 19:20:09 UTC 2007 
Responsible-Changed-Why:  
Submitter has GNATS access (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117874 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Tue Nov 6 19:20:12 UTC 2007 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117874 
State-Changed-From-To: feedback->open 
State-Changed-By: pav 
State-Changed-When: Wed May 14 13:21:52 UTC 2008 
State-Changed-Why:  
Maintainer timeout reached 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117874 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sat May 31 22:07:26 UTC 2008 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117874 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/117874: commit references a PR
Date: Sat, 31 May 2008 22:07:18 +0000 (UTC)

 miwi        2008-05-31 22:07:14 UTC
 
   FreeBSD ports repository
 
   Modified files:
     graphics/ffff        Makefile 
   Log:
   - Unbreak
   - Fix build with gcc 4.2
   
   PR:             117874
   Submitted by:   bsam
   Approved by:    maintainer timeout
   
   Revision  Changes    Path
   1.7       +2 -8      ports/graphics/ffff/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
