Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 May 2007 00:20:05 +0700
From:      Max Khon <fjoe@samodelkin.net>
To:        Emanuel Haupt <ehaupt@FreeBSD.org>
Cc:        cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/audio/schism Makefile
Message-ID:  <20070504172005.GA94516@samodelkin.net>
In-Reply-To: <200704151627.l3FGRXoo054471@repoman.freebsd.org>
References:  <200704151627.l3FGRXoo054471@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Kj7319i9nmIyA2yE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi!

On Sun, Apr 15, 2007 at 04:27:33PM +0000, Emanuel Haupt wrote:

> ehaupt      2007-04-15 16:27:33 UTC
> 
>   FreeBSD ports repository
> 
>   Modified files:
>     audio/schism         Makefile 
>   Log:
>   Force usage of gcc 3.4
>   
>   Notified by:    kris (via pointyhat)
>   
>   Revision  Changes    Path
>   1.7       +1 -1      ports/audio/schism/Makefile

Please do not use USE_GCC. Attached patch fixes the build with gcc 4.

/fjoe

--Kj7319i9nmIyA2yE
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="schism.diff"

? schism.diff
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/audio/schism/Makefile,v
retrieving revision 1.8
diff -u -p -r1.8 Makefile
--- Makefile	16 Apr 2007 07:57:19 -0000	1.8
+++ Makefile	4 May 2007 17:19:06 -0000
@@ -21,7 +21,6 @@ USE_BZIP2=	yes
 USE_SDL=	yes
 USE_X_PREFIX=	yes
 GNU_CONFIGURE=	yes
-USE_GCC=	3.4
 
 # Dies with bus error unless building debug version
 CXXFLAGS=	-g
Index: files/patch-src-draw-char.c
===================================================================
RCS file: files/patch-src-draw-char.c
diff -N files/patch-src-draw-char.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-src-draw-char.c	4 May 2007 17:19:06 -0000
@@ -0,0 +1,11 @@
+--- src/draw-char.c.orig	Sat May  5 00:17:30 2007
++++ src/draw-char.c	Sat May  5 00:17:37 2007
+@@ -60,7 +60,7 @@
+ /* globals */
+ 
+ byte *font_data = font_normal; /* this only needs to be global for itf */
+-static SDL_Surface **charcache = cache_normal;
++SDL_Surface **charcache = cache_normal;
+ 
+ /* int font_width = 8, font_height = 8; */
+ 

--Kj7319i9nmIyA2yE--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070504172005.GA94516>