From amdmi3@amdmi3.ru  Thu Jul 28 20:13:27 2011
Return-Path: <amdmi3@amdmi3.ru>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 302D8106564A
	for <freebsd-gnats-submit@freebsd.org>; Thu, 28 Jul 2011 20:13:27 +0000 (UTC)
	(envelope-from amdmi3@amdmi3.ru)
Received: from smtp.timeweb.ru (smtp.timeweb.ru [92.53.116.15])
	by mx1.freebsd.org (Postfix) with ESMTP id DB7A68FC18
	for <freebsd-gnats-submit@freebsd.org>; Thu, 28 Jul 2011 20:13:26 +0000 (UTC)
Received: from [213.148.20.85] (helo=hive.panopticon)
	by smtp.timeweb.ru with esmtpsa (TLSv1:CAMELLIA256-SHA:256)
	(Exim 4.76)
	(envelope-from <amdmi3@amdmi3.ru>)
	id 1QmX10-0007Lw-0r; Fri, 29 Jul 2011 00:17:06 +0400
Received: from hades.panopticon (hades.panopticon [192.168.0.32])
	by hive.panopticon (Postfix) with ESMTP id D2184B84D;
	Fri, 29 Jul 2011 00:13:23 +0400 (MSD)
Received: by hades.panopticon (Postfix, from userid 1000)
	id B8289B825; Fri, 29 Jul 2011 00:13:23 +0400 (MSD)
Message-Id: <20110728201323.B8289B825@hades.panopticon>
Date: Fri, 29 Jul 2011 00:13:23 +0400 (MSD)
From: Dmitry Marakasov <amdmi3@amdmi3.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc: acm@FreeBSD.org
Subject: [PATCH] multimedia/smpeg: fix build with clang
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         159270
>Category:       ports
>Synopsis:       [PATCH] multimedia/smpeg: fix build with clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    acm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 28 20:20:07 UTC 2011
>Closed-Date:    Fri Sep 09 03:34:05 UTC 2011
>Last-Modified:  Fri Sep  9 03:40:01 UTC 2011
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 8.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Tue Mar  8 09:48:52 MSK
>Description:
This fixes configure error when smpeg is build with clang:

http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110723205754/smpeg-0.4.4_8.log

Port maintainer (acm@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- smpeg-0.4.4_8.patch begins here ---
Index: files/patch-configure
===================================================================
RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/multimedia/smpeg/files/patch-configure,v
retrieving revision 1.1
diff -u -u -r1.1 patch-configure
--- files/patch-configure	2 Jul 2002 12:43:46 -0000	1.1
+++ files/patch-configure	28 Jul 2011 20:07:14 -0000
@@ -3,6 +3,15 @@
 
 --- configure	2002/07/02 12:33:37	1.1
 +++ configure	2002/07/02 12:34:01
+@@ -1055,7 +1055,7 @@
+ #line 1056 "configure"
+ #include "confdefs.h"
+ 
+-main(){return(0);}
++int main(){return(0);}
+ EOF
+ if { (eval echo configure:1061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   ac_cv_prog_cc_works=yes
 @@ -2335,6 +2335,7 @@
  
  CFLAGS="$CFLAGS $SDL_CFLAGS"
--- smpeg-0.4.4_8.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->acm 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Jul 28 20:20:35 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159270 
State-Changed-From-To: open->closed 
State-Changed-By: amdmi3 
State-Changed-When: Fri Sep 9 03:34:03 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/159270: commit references a PR
Date: Fri,  9 Sep 2011 03:33:16 +0000 (UTC)

 amdmi3      2011-09-09 03:33:07 UTC
 
   FreeBSD ports repository
 
   Modified files:
     multimedia/smpeg/files patch-configure 
   Log:
   - Fix build with clang
   
   PR:             159270
   Submitted by:   myself
   Approved by:    acm (maintainer via private email)
   
   Revision  Changes    Path
   1.2       +10 -1     ports/multimedia/smpeg/files/patch-configure
 _______________________________________________
 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:
