Package: ewt
Version: 3.0.0beta2-1
Tags: experimental, patch

gcc 4.0 doesn't have the -fwritable-strings flag anymore, so it needs to
be removed from Makefile.linux.  It appears to build and run fine
without it, though.  The trivial patch is attached.

-rob
--- etw-3.0.0beta2.orig/Makefile.linux
+++ etw-3.0.0beta2/Makefile.linux
@@ -1,6 +1,6 @@
 CC = gcc
 DEBUG = 
-CFLAGS = -Wall -Wno-char-subscripts -O2 `sdl-config --cflags;pkg-config 
--cflags gtk+-2.0` -fwritable-strings -Iinclude -g
+CFLAGS = -Wall -Wno-char-subscripts -O2 `sdl-config --cflags;pkg-config 
--cflags gtk+-2.0` -Iinclude -g
 # -Wall -g
 LFLAGS = `sdl-config --libs;pkg-config --libs gtk+-2.0`
 DEFINES = -DLINUX -DCD_VERSION


Reply via email to