diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template index aa52c37b01..01c7c8439f 100644 --- a/srcpkgs/speech-dispatcher/template +++ b/srcpkgs/speech-dispatcher/template @@ -1,7 +1,7 @@ # Template build file for 'speech-dispatcher'. pkgname=speech-dispatcher version=0.8.2 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-static" short_desc="High-level device independent layer for speech synthesis interface" @@ -30,6 +30,10 @@ conf_files=" /etc/speech-dispatcher/modules/espeak.conf /etc/speech-dispatcher/modules/cicero.conf" +pre_configure() { + sed -i 's,sys/unistd.h,unistd.h,g' src/server/module.c +} + speech-dispatcher-devel_package() { short_desc+=" - development files" depends="${sourcepkg}-${version}_${revision}"