Package: praat
Severity: important
Version: 4.5.11-1
Tags: patch


Hi,

the current version fails to build on GNU/kFreeBSD.

It needs small tweak, as it have to be compiled with "-std=gnu99", otherwise is O_NDELAY undefined.

Thanks in advance

                        Petr

--- makefiles/makefile.defs.linux.dynamic~
+++ makefiles/makefile.defs.linux.dynamic
@@ -3,7 +3,7 @@
 # System: Linux
 # Paul Boersma, November 28, 2006

-CC = gcc -std=c99 -DUNIX -Dlinux -I /usr/X11R6/include -Wimplicit 
-Wreturn-type -Wunused -Wunused-parameter -Wuninitialized -O
+CC = gcc -std=gnu99 -DUNIX -Dlinux -I /usr/X11R6/include -Wimplicit 
-Wreturn-type -Wunused -Wunused-parameter -Wuninitialized -O

 LIBS = -L /usr/X11R6/lib -lXm -lXmu -lXp -lXt -lSM -lICE -lXext -lX11 -lm 
-lpthread



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to