1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- Fix build with gcc4.X

PR:		108065
Submitted by:	trasz
Approved by:	maintainer
This commit is contained in:
Martin Wilke 2007-01-18 07:57:22 +00:00
parent e86227554d
commit 5f88bc48a0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=182703
2 changed files with 14 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= x11amp
PORTVERSION= 0.9.b1.1
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= audio
MASTER_SITES= ftp://ftp.cs.tu-berlin.de/pub/misc/x11amp/0.9/ \
ftp://ftp.x11amp.bz.nu/x11amp/0.9/ \

View File

@ -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);