From trasz@pin.if.uz.zgora.pl  Fri Dec 15 01:14:14 2006
Return-Path: <trasz@pin.if.uz.zgora.pl>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 3D0F416A416
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 15 Dec 2006 01:14:14 +0000 (UTC)
	(envelope-from trasz@pin.if.uz.zgora.pl)
Received: from pin.if.uz.zgora.pl (pin.if.uz.zgora.pl [212.109.128.251])
	by mx1.FreeBSD.org (Postfix) with ESMTP id DFC5C43E66
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 15 Dec 2006 01:10:05 +0000 (GMT)
	(envelope-from trasz@pin.if.uz.zgora.pl)
Received: by pin.if.uz.zgora.pl (Postfix, from userid 1001)
	id 42BC639DBA; Fri, 15 Dec 2006 02:14:53 +0100 (CET)
Message-Id: <20061215011453.42BC639DBA@pin.if.uz.zgora.pl>
Date: Fri, 15 Dec 2006 02:14:53 +0100 (CET)
From: trasz <trasz@pin.if.uz.zgora.pl>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] audio/mpegaudio: fix build with gcc41
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         106747
>Category:       ports
>Synopsis:       [PATCH] audio/mpegaudio: fix build with gcc41
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 15 01:20:00 GMT 2006
>Closed-Date:    Sat Dec 16 09:56:44 GMT 2006
>Last-Modified:  Sat Dec 16 10:01:00 GMT 2006
>Originator:     trasz
>Release:        FreeBSD 6.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0: Wed Nov 15 19:16:30 CET 2006
>Description:
Fix build with gcc41 and pet portlint.

http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.7.2006121307/mpegaudio-3.9.log

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

--- mpegaudio-3.9.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/audio/mpegaudio/files/patch-ad /home/trasz/mpegaudio/files/patch-ad
--- /usr/ports/audio/mpegaudio/files/patch-ad	Mon Dec 11 03:46:00 2000
+++ /home/trasz/mpegaudio/files/patch-ad	Fri Dec 15 02:14:09 2006
@@ -1,5 +1,5 @@
---- musicin.c.orig	Wed Jan  5 10:13:44 1994
-+++ musicin.c	Tue Aug 22 02:40:40 2000
+--- musicin.c.orig	Wed Jan  5 02:13:44 1994
++++ musicin.c	Fri Dec 15 02:03:30 2006
 @@ -101,6 +101,8 @@
  #include "common.h"
  #include "encoder.h"
@@ -123,3 +123,12 @@
      if (*t == 'y' || *t == 'Y') exit(0);
  }
  
+@@ -919,7 +921,7 @@
+ /*
+ /************************************************************************/
+ 
+-static void usage()  /* print syntax & exit */
++void usage()  /* print syntax & exit */
+ {
+     fprintf(stderr,
+     "usage: %s                         queries for all arguments, or\n",
diff -ruN --exclude=CVS /usr/ports/audio/mpegaudio/files/patch-ae /home/trasz/mpegaudio/files/patch-ae
--- /usr/ports/audio/mpegaudio/files/patch-ae	Mon Dec 11 03:46:00 2000
+++ /home/trasz/mpegaudio/files/patch-ae	Fri Dec 15 02:14:09 2006
@@ -1,5 +1,5 @@
---- musicout.c.orig	Wed Jan  5 13:39:27 1994
-+++ musicout.c	Tue Aug 22 02:37:30 2000
+--- musicout.c.orig	Wed Jan  5 05:39:27 1994
++++ musicout.c	Fri Dec 15 02:04:31 2006
 @@ -58,6 +58,8 @@
  #include        "common.h"
  #include        "decoder.h"
@@ -45,3 +45,12 @@
         if (*t == 'y' || *t == 'Y') exit(0);
      }
      else {        /* interpret CL Args */
+@@ -429,7 +431,7 @@
+     exit( 0 );
+ }
+ 
+-static void usage()  /* print syntax & exit */
++void usage()  /* print syntax & exit */
+ {
+    fprintf(stderr,
+       "usage: %s                         queries for all arguments, or\n",
diff -ruN --exclude=CVS /usr/ports/audio/mpegaudio/pkg-plist /home/trasz/mpegaudio/pkg-plist
--- /usr/ports/audio/mpegaudio/pkg-plist	Mon Dec 11 03:45:56 2000
+++ /home/trasz/mpegaudio/pkg-plist	Fri Dec 15 02:14:09 2006
@@ -1,25 +1,25 @@
 bin/mpeg_musicin
 bin/mpeg_musicout
-share/mpegaudio/tables/1cb0
-share/mpegaudio/tables/1cb1
-share/mpegaudio/tables/1cb2
-share/mpegaudio/tables/1th0
-share/mpegaudio/tables/1th1
-share/mpegaudio/tables/1th2
-share/mpegaudio/tables/2cb0
-share/mpegaudio/tables/2cb1
-share/mpegaudio/tables/2cb2
-share/mpegaudio/tables/2th0
-share/mpegaudio/tables/2th1
-share/mpegaudio/tables/2th2
-share/mpegaudio/tables/absthr_0
-share/mpegaudio/tables/absthr_1
-share/mpegaudio/tables/absthr_2
-share/mpegaudio/tables/alloc_0
-share/mpegaudio/tables/alloc_1
-share/mpegaudio/tables/alloc_2
-share/mpegaudio/tables/alloc_3
-share/mpegaudio/tables/dewindow
-share/mpegaudio/tables/enwindow
-@dirrm share/mpegaudio/tables
-@dirrm share/mpegaudio
+%%DATADIR%%/tables/1cb0
+%%DATADIR%%/tables/1cb1
+%%DATADIR%%/tables/1cb2
+%%DATADIR%%/tables/1th0
+%%DATADIR%%/tables/1th1
+%%DATADIR%%/tables/1th2
+%%DATADIR%%/tables/2cb0
+%%DATADIR%%/tables/2cb1
+%%DATADIR%%/tables/2cb2
+%%DATADIR%%/tables/2th0
+%%DATADIR%%/tables/2th1
+%%DATADIR%%/tables/2th2
+%%DATADIR%%/tables/absthr_0
+%%DATADIR%%/tables/absthr_1
+%%DATADIR%%/tables/absthr_2
+%%DATADIR%%/tables/alloc_0
+%%DATADIR%%/tables/alloc_1
+%%DATADIR%%/tables/alloc_2
+%%DATADIR%%/tables/alloc_3
+%%DATADIR%%/tables/dewindow
+%%DATADIR%%/tables/enwindow
+@dirrm %%DATADIR%%/tables
+@dirrm %%DATADIR%%
--- mpegaudio-3.9.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Dec 15 01:25:50 UTC 2006 
Responsible-Changed-Why:  
miwi@ wants this PRs 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106747 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sat Dec 16 09:56:42 UTC 2006 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/106747: commit references a PR
Date: Sat, 16 Dec 2006 09:57:14 +0000 (UTC)

 miwi        2006-12-16 09:56:55 UTC
 
   FreeBSD ports repository
 
   Modified files:
     audio/mpegaudio      pkg-plist 
     audio/mpegaudio/files patch-ad patch-ae 
   Log:
   - Fix build with gcc 4.X
   
   PR:             ports/106747
   Submitted by:   trasz
   
   Revision  Changes    Path
   1.2       +11 -2     ports/audio/mpegaudio/files/patch-ad
   1.2       +11 -2     ports/audio/mpegaudio/files/patch-ae
   1.6       +23 -23    ports/audio/mpegaudio/pkg-plist
 _______________________________________________
 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:
