sic: add the missing sys

This commit is contained in:
Ypnose 2015-06-14 12:21:56 +02:00
parent 2304b3718e
commit e7dbb95393

View File

@ -1,7 +1,7 @@
# Template file for 'sic'
pkgname=sic
version=1.2
revision=2
revision=3
build_style=gnu-makefile
make_build_args="INCS=-I. LIBS="
short_desc="Simple irc client"
@ -13,7 +13,7 @@ checksum="ac07f905995e13ba2c43912d7a035fbbe78a628d7ba1c256f4ca1372fb565185"
replaces="sic>=0"
pre_build() {
sed -i '10i #include <select.h>' sic.c
sed -i '10i #include <sys/select.h>' sic.c
sed -i 's|^CPPFLAGS *=|override CPPFLAGS +=|g' config.mk
sed -i 's|^CFLAGS *=|override CFLAGS +=|g' config.mk
sed -i 's|^LDFLAGS *=|override LDFLAGS +=|g' config.mk