ports/108065: [PATCH] audio/x11amp: fix build with gcc41

trasz trasz at pin.if.uz.zgora.pl
Thu Jan 18 00:40:16 UTC 2007


>Number:         108065
>Category:       ports
>Synopsis:       [PATCH] audio/x11amp: fix build with gcc41
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 18 00:40:15 GMT 2007
>Closed-Date:
>Last-Modified:
>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.

Added file(s):
- files/patch-x11amp-input.c

Port maintainer (beech at alaskaparadise.com) is cc'd.

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

--- x11amp-0.9.b1.1_3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/audio/x11amp/files/patch-x11amp-input.c /home/trasz/x11amp/files/patch-x11amp-input.c
--- /usr/ports/audio/x11amp/files/patch-x11amp-input.c	Thu Jan  1 01:00:00 1970
+++ /home/trasz/x11amp/files/patch-x11amp-input.c	Thu Jan 18 01:38:35 2007
@@ -0,0 +1,13 @@
+--- x11amp/input.c.orig	Thu Jan 18 01:29:04 2007
++++ x11amp/input.c	Thu Jan 18 01:30:03 2007
+@@ -650,8 +650,8 @@
+ #define LOG2_N_WAVE     10      /* log2(N_WAVE) */
+ #define N_LOUD          100     /* dimension of Loudampl[] */
+ 
+-extern fixed Sinewave[N_WAVE]; /* placed at end of this file for clarity */
+-extern  fixed Loudampl[N_LOUD];
++static fixed Sinewave[N_WAVE]; /* placed at end of this file for clarity */
++static  fixed Loudampl[N_LOUD];
+ static int db_from_ampl(fixed re, fixed im);
+ static fixed fix_mpy(fixed a, fixed b);
+ 
--- x11amp-0.9.b1.1_3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list